org.netbeans.modules.xml.xdm/1 1.19.0 1

org.netbeans.modules.xml.xdm.nodes
Class Comment

java.lang.Object
  extended by org.netbeans.modules.xml.xdm.nodes.NodeImpl
      extended by org.netbeans.modules.xml.xdm.nodes.Text
          extended by org.netbeans.modules.xml.xdm.nodes.Comment
All Implemented Interfaces:
Cloneable, CharacterData, Comment, Node, Text

public class Comment
extends Text
implements Comment


Field Summary
 
Fields inherited from class org.netbeans.modules.xml.xdm.nodes.NodeImpl
XMLNS
 
Fields inherited from interface org.w3c.dom.Node
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE
 
Method Summary
 void accept(XMLNodeVisitor visitor)
           
 String getNodeName()
           
 short getNodeType()
           
 String getNodeValue()
           
 void setData(String data)
          The character data of the node that implements this interface.
 
Methods inherited from class org.netbeans.modules.xml.xdm.nodes.Text
appendData, deleteData, getData, getLength, getNamespaceURI, getText, getWholeText, insertData, isElementContentWhitespace, replaceData, replaceWholeText, setText, splitText, substringData
 
Methods inherited from class org.netbeans.modules.xml.xdm.nodes.NodeImpl
addedToTree, appendChild, assignNodeId, assignNodeIdRecursively, clone, cloneNamespacePrefixes, cloneNode, cloneNode, cloneNode, cloneShallowWithModelContext, compareDocumentPosition, copy, copyTokens, getAttributes, getAttributesForRead, getAttributesForWrite, getBaseURI, getChildNodes, getFeature, getFirstChild, getId, getIndexOfChild, getLastChild, getLocalName, getModel, getNamespaceURI, getNextSibling, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getTokens, getUserData, hasAttributes, hasChildNodes, hashCode, insertBefore, isDefaultNamespace, isEqualNode, isEquivalentNode, isInTree, isSameNode, isSupported, lookupNamespace, lookupNamespace, lookupNamespaceURI, lookupPrefix, lookupPrefix, normalize, removeChild, reorderChild, reorderChildren, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.w3c.dom.CharacterData
appendData, deleteData, getData, getLength, insertData, replaceData, substringData
 
Methods inherited from interface org.w3c.dom.Node
appendChild, cloneNode, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData
 
Methods inherited from interface org.netbeans.modules.xml.xdm.nodes.Node
addedToTree, clone, getId, getIndexOfChild, getNamespaceURI, isEquivalentNode, isInTree
 

Method Detail

accept

public void accept(XMLNodeVisitor visitor)
Overrides:
accept in class Text

getNodeValue

public String getNodeValue()
Specified by:
getNodeValue in interface Node
Overrides:
getNodeValue in class Text

setData

public void setData(String data)
Description copied from class: Text
The character data of the node that implements this interface. The DOM implementation may not put arbitrary limits on the amount of data that may be stored in a CharacterData node. However, implementation limits may mean that the entirety of a node's data may not fit into a single DOMString. In such cases, the user may call substringData to retrieve the data in appropriately sized pieces.

Specified by:
setData in interface CharacterData
Overrides:
setData in class Text

getNodeType

public short getNodeType()
Specified by:
getNodeType in interface Node
Overrides:
getNodeType in class Text

getNodeName

public String getNodeName()
Specified by:
getNodeName in interface Node
Overrides:
getNodeName in class Text

org.netbeans.modules.xml.xdm/1 1.19.0 1

Built on May 25 2012.  |  Portions Copyright 1997-2012 Oracle. All rights reserved.