org.jbind.xml.dom3.core
Class DomCharacterData
java.lang.Object
org.jbind.xml.dom3.core.DomObject
org.jbind.xml.dom3.core.DomNode
org.jbind.xml.dom3.core.DomNonAttrOrElm
org.jbind.xml.dom3.core.DomCharacterData
- All Implemented Interfaces:
- org.w3c.dom.CharacterData, IDomCharacterData, IDomNode, IDomObject, IHasLocation, org.w3c.dom.Node
- Direct Known Subclasses:
- DomComment, DomText
- public abstract class DomCharacterData
- extends DomNonAttrOrElm
- implements IDomCharacterData
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 |
Methods inherited from class org.jbind.xml.dom3.core.DomNode |
accept, addElement, addElement, addText, appendChild, collectTextContent, collectTextContent, compareTreePosition, doAfterAccept, doBeforeAccept, getAncestor, getBaseURI, getChild, getChildByClass, getChildNodes, getFirstChild, getInterface, getLastChild, getLocation, getNamespaceForPrefix, getNbChildren, getNextSibling, getNonDefaultedNbChildren, getParentImpl, getParentNode, getPrefixForNamespace, getPrefixToNamespaceMapping, getPreviousSibling, getUserData, hasChildNodes, insertAfter, insertBefore, isEqualNode, isSameNode, isSupported, iterChildren, lookupNamespacePrefix, lookupNamespaceURI, normalize, removeChild, replaceChild, restoreTextContent, saveTextContent, setChildNodes, setLocation, setPrefixToNamespaceMapping, visitChildren |
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.Node |
appendChild, cloneNode, getAttributes, getChildNodes, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, hasAttributes, hasChildNodes, insertBefore, isSupported, normalize, removeChild, replaceChild, setPrefix |
DomCharacterData
protected DomCharacterData(IDomDocument aDomDocument)
- Constructor for sub classes that initialize the data buffer lazily.
DomCharacterData
public DomCharacterData(IDomDocument aDomDocument,
java.lang.String aString)
DomCharacterData
protected DomCharacterData(IDomCharacterData aDomCharacterData,
boolean aDeep)
getDataBuffer
protected StrBuffer getDataBuffer()
setDataBuffer
protected void setDataBuffer(StrBuffer aDataBuffer)
getData
public java.lang.String getData()
- Specified by:
getData
in interface org.w3c.dom.CharacterData
appendData
public void appendData(java.lang.String arg)
throws DomException
- Specified by:
appendData
in interface org.w3c.dom.CharacterData
- Throws:
DomException
deleteData
public void deleteData(int offset,
int count)
throws DomException
- Specified by:
deleteData
in interface org.w3c.dom.CharacterData
- Throws:
DomException
deleteData
public void deleteData(int offset)
throws DomException
- Specified by:
deleteData
in interface IDomCharacterData
- Throws:
DomException
getLength
public int getLength()
- Specified by:
getLength
in interface org.w3c.dom.CharacterData
getNodeValue
public java.lang.String getNodeValue()
throws DomException
- Specified by:
getNodeValue
in interface org.w3c.dom.Node
- Throws:
DomException
insertData
public void insertData(int offset,
java.lang.String arg)
throws DomException
- Specified by:
insertData
in interface org.w3c.dom.CharacterData
- Throws:
DomException
replaceData
public void replaceData(int offset,
int count,
java.lang.String arg)
throws DomException
- Specified by:
replaceData
in interface org.w3c.dom.CharacterData
- Throws:
DomException
setData
public void setData(java.lang.String data)
throws DomException
- Specified by:
setData
in interface org.w3c.dom.CharacterData
- Throws:
DomException
setNodeValue
public void setNodeValue(java.lang.String nodeValue)
throws DomException
- Specified by:
setNodeValue
in interface org.w3c.dom.Node
- Throws:
DomException
substringData
public java.lang.String substringData(int offset,
int count)
throws DomException
- Specified by:
substringData
in interface org.w3c.dom.CharacterData
- Throws:
DomException
doCloneChildNodes
protected IDomNodeList doCloneChildNodes(IDomNodeList aDomNodeList,
boolean aDeep)
- Description copied from class:
DomNode
- Hook method for cloning the child nodes.
- Specified by:
doCloneChildNodes
in class DomNode
substringData
public java.lang.String substringData(int offset)
throws DomException
- Specified by:
substringData
in interface IDomCharacterData
- Throws:
DomException
getTextContent
public java.lang.String getTextContent()
- Specified by:
getTextContent
in interface IDomNode
setTextContent
public void setTextContent(ITextContentProvider aTextContentProvider)
- Specified by:
setTextContent
in interface IDomNode
- Overrides:
setTextContent
in class DomNode
setTextContent
public void setTextContent(java.lang.String aString)
- Specified by:
setTextContent
in interface IDomNode
- Overrides:
setTextContent
in class DomNode