|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.ercp.xml.dom.NodeImpl
org.eclipse.ercp.xml.dom.NSNodeImpl
org.eclipse.ercp.xml.dom.TreeNode
org.eclipse.ercp.xml.dom.CharacterDataImpl
org.eclipse.ercp.xml.dom.TextImpl
org.eclipse.ercp.xml.dom.CDATASectionImpl
public class CDATASectionImpl
Field Summary |
---|
Fields inherited from class org.eclipse.ercp.xml.dom.CharacterDataImpl |
---|
data |
Fields inherited from class org.eclipse.ercp.xml.dom.TreeNode |
---|
firstChild, lastChild, length, nextSibling, parentNode, previousSibling |
Fields inherited from class org.eclipse.ercp.xml.dom.NSNodeImpl |
---|
localName, namespaceURI, prefix, qualifiedName |
Fields inherited from class org.eclipse.ercp.xml.dom.NodeImpl |
---|
ownerDocument |
Fields inherited from interface org.w3c.dom.Node |
---|
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE |
Constructor Summary | |
---|---|
CDATASectionImpl(DocumentImpl ownerDocument,
java.lang.String data)
Constructor |
Method Summary | |
---|---|
Node |
cloneNode(boolean deep)
Returns a duplicate of this node, i.e., serves as a generic copy constructor for nodes. |
java.lang.String |
getNodeName()
The name of this node, depending on its type; see the table above. |
short |
getNodeType()
A code representing the type of the underlying object, as defined above. |
Methods inherited from class org.eclipse.ercp.xml.dom.TextImpl |
---|
splitText |
Methods inherited from class org.eclipse.ercp.xml.dom.CharacterDataImpl |
---|
appendData, deleteData, getData, getNodeValue, insertData, replaceData, setData, setNodeValue, substringData |
Methods inherited from class org.eclipse.ercp.xml.dom.TreeNode |
---|
appendChild, getElementByTagName, getElementsByTagName, getElementsByTagNameNS, getFirstChild, getLastChild, getLength, getNextSibling, getParentNode, getPreviousSibling, hasChildNodes, insertBefore, item, normalize, removeChild, replaceChild |
Methods inherited from class org.eclipse.ercp.xml.dom.NSNodeImpl |
---|
getLocalName, getNamespaceURI, getPrefix, setPrefix |
Methods inherited from class org.eclipse.ercp.xml.dom.NodeImpl |
---|
getAttributes, getChildNodes, getOwnerDocument, hasAttributes, isSupported, spreadOwnerDocument |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.w3c.dom.Text |
---|
splitText |
Methods inherited from interface org.w3c.dom.CharacterData |
---|
appendData, deleteData, getData, getLength, insertData, replaceData, setData, substringData |
Methods inherited from interface org.w3c.dom.Node |
---|
appendChild, getAttributes, getChildNodes, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, hasAttributes, hasChildNodes, insertBefore, isSupported, normalize, removeChild, replaceChild, setNodeValue, setPrefix |
Constructor Detail |
---|
public CDATASectionImpl(DocumentImpl ownerDocument, java.lang.String data)
ownerDocument
- data
- Method Detail |
---|
public short getNodeType()
Node
getNodeType
in interface Node
getNodeType
in class TextImpl
public java.lang.String getNodeName()
NSNodeImpl
getNodeName
in interface Node
getNodeName
in class TextImpl
public Node cloneNode(boolean deep)
parentNode
is null
.).
Element
copies all attributes and their
values, including those generated by the XML processor to represent
defaulted attributes, but this method does not copy any text it
contains unless it is a deep clone, since the text is contained in a
child Text
node. Cloning an Attribute
directly, as opposed to be cloned as part of an Element
cloning operation, returns a specified attribute (
specified
is true
). Cloning any other type
of node simply returns a copy of this node.
EntityReference
clone are readonly
. In addition, clones of unspecified Attr
nodes are
specified. And, cloning Document
,
DocumentType
, Entity
, and
Notation
nodes is implementation dependent.
cloneNode
in interface Node
cloneNode
in class TextImpl
deepIf
- true
, recursively clone the subtree under
the specified node; if false
, clone only the node
itself (and its attributes, if it is an Element
).
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |