public class DOMCDATA extends DefaultCDATA implements CDATASection
DOMCDATA implements a CDATA Section which supports the W3C DOM
API.
textNODE_TYPE_NAMESATTRIBUTE_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_NODEANY_NODE, ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_REFERENCE_NODE, MAX_NODE_TYPE, NAMESPACE_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE, UNKNOWN_NODE| Constructor and Description |
|---|
DOMCDATA(Element parent,
String text) |
DOMCDATA(String text) |
getParent, isReadOnly, setParent, setText, supportsParentcreateXPathResult, getTextaccept, asXML, getNodeType, toString, writeappendText, getPath, getUniquePathasXPathResult, clone, createPattern, createXPath, createXPathFilter, detach, getDocument, getDocumentFactory, getName, getNodeTypeName, getPath, getStringValue, getUniquePath, hasContent, matches, numberValueOf, selectNodes, selectNodes, selectNodes, selectObject, selectSingleNode, setDocument, setName, valueOfequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetWholeText, isElementContentWhitespace, replaceWholeTextcompareDocumentPosition, getBaseURI, getFeature, getNodeType, getTextContent, getUserData, isDefaultNamespace, isEqualNode, isSameNode, lookupNamespaceURI, lookupPrefix, setTextContent, setUserDataappendTextaccept, asXML, asXPathResult, clone, createXPath, detach, getDocument, getName, getNodeType, getNodeTypeName, getPath, getPath, getStringValue, getUniquePath, getUniquePath, hasContent, matches, numberValueOf, selectNodes, selectNodes, selectNodes, selectObject, selectSingleNode, setDocument, setName, valueOf, writepublic DOMCDATA(String text)
public String getNamespaceURI()
public String getPrefix()
public void setPrefix(String prefix) throws DOMException
DOMExceptionpublic String getLocalName()
public String getNodeName()
public String getNodeValue() throws DOMException
DOMExceptionpublic void setNodeValue(String nodeValue) throws DOMException
DOMExceptionpublic Node getParentNode()
public NodeList getChildNodes()
public Node getFirstChild()
public Node getLastChild()
public Node getPreviousSibling()
public Node getNextSibling()
public NamedNodeMap getAttributes()
public Document getOwnerDocument()
public Node insertBefore(Node newChild, Node refChild) throws DOMException
DOMExceptionpublic Node replaceChild(Node newChild, Node oldChild) throws DOMException
DOMExceptionpublic Node removeChild(Node oldChild) throws DOMException
DOMExceptionpublic Node appendChild(Node newChild) throws DOMException
DOMExceptionpublic boolean hasChildNodes()
public Node cloneNode(boolean deep)
public void normalize()
public boolean hasAttributes()
public String getData() throws DOMException
DOMExceptionpublic void setData(String data) throws DOMException
DOMExceptionpublic int getLength()
public String substringData(int offset, int count) throws DOMException
DOMExceptionpublic void appendData(String arg) throws DOMException
DOMExceptionpublic void insertData(int offset,
String arg)
throws DOMException
DOMExceptionpublic void deleteData(int offset,
int count)
throws DOMException
DOMExceptionpublic void replaceData(int offset,
int count,
String arg)
throws DOMException
DOMExceptionpublic Text splitText(int offset) throws DOMException
splitText in interface TextDOMExceptionCopyright © 2012 JBoss by Red Hat. All Rights Reserved.