BEA Systems, Inc.

WebLogic Server 6.1 API Reference

weblogic.apache.xalan.stree
Class CommentImpl

java.lang.Object
  |
  +--weblogic.apache.xml.utils.UnImplNode
        |
        +--weblogic.apache.xalan.stree.Child
              |
              +--weblogic.apache.xalan.stree.TextImpl
                    |
                    +--weblogic.apache.xalan.stree.CommentImpl

public class CommentImpl
extends TextImpl
implements org.w3c.dom.Comment

Class to hold information about a comment node

This class is based on an implementation from the Apache XML Project. In future releases the XML parser, XSLT processor, and associated classes will likely be updated to be based on a later version of the Apache implementations. Since Apache does not guarantee backwards compatibility between versions of their software, we cannot guarantee backwards compatibility of any of the classes contained in the weblogic.apache package or sub-packages.


Fields inherited from class weblogic.apache.xalan.stree.TextImpl
m_data, m_length, m_start
 
Fields inherited from class weblogic.apache.xalan.stree.Child
m_doc, m_parent
 
Constructor Summary
CommentImpl(DocumentImpl doc, char[] ch, int start, int length)
          Constructor CommentImpl
CommentImpl(DocumentImpl doc, java.lang.String data)
          Constructor CommentImpl
 
Method Summary
 java.lang.String getLocalName()
          Returns the local part of the qualified name of this node.
 java.lang.String getNodeName()
          Returns the node name.
 short getNodeType()
          A short integer indicating what type of node this is.
 
Methods inherited from class weblogic.apache.xalan.stree.TextImpl
dispatchCharactersEvent, getData, getLength, getLengthInBuffer, getNodeValue, getStartOffsetInBuffer, isWhitespace
 
Methods inherited from class weblogic.apache.xalan.stree.Child
getAttributes, getFirstChild, getLastChild, getLevel, getNamespaceURI, getNextSibling, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTagName, getTransformer, getUid, hasChildNodes, isComplete, isNamespaceNode, isSupported, setAttribute, setComplete, setDoc, setLevel, setParent, setUid, throwIfParseError, throwParseError
 
Methods inherited from class weblogic.apache.xml.utils.UnImplNode
appendChild, appendData, cloneNode, createAttribute, createAttributeNS, createCDATASection, createComment, createDocumentFragment, createElement, createElementNS, createEntityReference, createProcessingInstruction, createTextNode, deleteData, error, error, getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getChildNodes, getDoctype, getDocumentElement, getElementById, getElementsByTagName, getElementsByTagNameNS, getImplementation, getOwnerElement, getSpecified, hasAttribute, hasAttributeNS, hasAttributes, importNode, insertBefore, insertData, item, normalize, removeAttribute, removeAttributeNode, removeAttributeNS, removeChild, replaceChild, replaceData, setAttributeNode, setAttributeNodeNS, setAttributeNS, setData, setNodeValue, setPrefix, setValue, splitText, substringData
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommentImpl

public CommentImpl(DocumentImpl doc,
                   java.lang.String data)
Constructor CommentImpl

Parameters:
doc - Document object
data - Comment data

CommentImpl

public CommentImpl(DocumentImpl doc,
                   char[] ch,
                   int start,
                   int length)
Constructor CommentImpl

Parameters:
doc - Document object
ch - Character array of comment data
start - Beginning of comment data in array
length - Length of comment data in array
Method Detail

getNodeType

public short getNodeType()
A short integer indicating what type of node this is. The named constants for this value are defined in the org.w3c.dom.Node interface.

Returns:
node type
Overrides:
getNodeType in class TextImpl

getNodeName

public java.lang.String getNodeName()
Returns the node name.

Returns:
node name
Overrides:
getNodeName in class TextImpl

getLocalName

public java.lang.String getLocalName()
Returns the local part of the qualified name of this node.
For nodes created with a DOM Level 1 method, such as createElement from the Document interface, it is null.

Returns:
the local part of the qualified name of this node
Overrides:
getLocalName in class TextImpl

Documentation is available at
http://download.oracle.com/docs/cd/E13222_01/wls/docs61

WebLogic classes and methods that do not appear in this reference are not public and are not supported.