|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.exist.dom.NodeImpl
org.exist.dom.CharacterDataImpl
Description of the Class
Field Summary | |
protected XMLString |
cdata
|
Fields inherited from class org.exist.dom.NodeImpl |
attributes, gid, internalAddress, nodeName, nodeNameRef, nodeType, 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 | |
CharacterDataImpl(short nodeType)
|
|
CharacterDataImpl(short nodeType,
char[] data,
int start,
int howmany)
Constructor for the CharacterDataImpl object |
|
CharacterDataImpl(short nodeType,
long gid)
Constructor for the CharacterDataImpl object |
|
CharacterDataImpl(short nodeType,
long gid,
java.lang.String data)
Constructor for the CharacterDataImpl object |
|
CharacterDataImpl(short nodeType,
java.lang.String data)
Constructor for the CharacterDataImpl object |
Method Summary | |
void |
appendData(char[] data,
int start,
int howmany)
Description of the Method |
void |
appendData(java.lang.String arg)
Description of the Method |
void |
clear()
Reset this object to its initial state. |
void |
deleteData(int offset,
int count)
Description of the Method |
java.lang.String |
getData()
Gets the data attribute of the CharacterDataImpl object |
int |
getLength()
Gets the length attribute of the CharacterDataImpl object |
java.lang.String |
getLowerCaseData()
|
java.lang.String |
getNodeValue()
Gets the nodeValue attribute of the CharacterDataImpl object |
XMLString |
getXMLString()
|
void |
insertData(int offset,
java.lang.String arg)
Description of the Method |
void |
replaceData(int offset,
int count,
java.lang.String arg)
Description of the Method |
void |
setData(char[] data,
int start,
int howmany)
Sets the data attribute of the CharacterDataImpl object |
void |
setData(java.lang.String data)
Sets the data attribute of the CharacterDataImpl object |
void |
setData(XMLString data)
|
java.lang.String |
substringData(int offset,
int count)
Description of the Method |
void |
toSAX(org.xml.sax.ContentHandler contentHandler,
org.xml.sax.ext.LexicalHandler lexicalHandler,
boolean first,
java.util.ArrayList prefixes)
Description of the Method |
java.lang.String |
toString()
Description of the Method |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, 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, setNodeValue, setPrefix |
Field Detail |
protected XMLString cdata
Constructor Detail |
public CharacterDataImpl(short nodeType)
public CharacterDataImpl(short nodeType, long gid)
nodeType
- Description of the Parametergid
- Description of the Parameterpublic CharacterDataImpl(short nodeType, long gid, java.lang.String data)
nodeType
- Description of the Parametergid
- Description of the Parameterdata
- Description of the Parameterpublic CharacterDataImpl(short nodeType, java.lang.String data)
nodeType
- Description of the Parameterdata
- Description of the Parameterpublic CharacterDataImpl(short nodeType, char[] data, int start, int howmany)
nodeType
- Description of the Parameterdata
- Description of the Parameterstart
- Description of the Parameterhowmany
- Description of the ParameterMethod Detail |
public void clear()
NodeImpl
clear
in class NodeImpl
public void appendData(java.lang.String arg) throws org.w3c.dom.DOMException
appendData
in interface org.w3c.dom.CharacterData
arg
- Description of the Parameter
org.w3c.dom.DOMException
- Description of the Exceptionpublic void appendData(char[] data, int start, int howmany) throws org.w3c.dom.DOMException
data
- Description of the Parameterstart
- Description of the Parameterhowmany
- Description of the Parameter
org.w3c.dom.DOMException
- Description of the Exceptionpublic void deleteData(int offset, int count) throws org.w3c.dom.DOMException
deleteData
in interface org.w3c.dom.CharacterData
offset
- Description of the Parametercount
- Description of the Parameter
org.w3c.dom.DOMException
- Description of the Exceptionpublic java.lang.String getData() throws org.w3c.dom.DOMException
getData
in interface org.w3c.dom.CharacterData
org.w3c.dom.DOMException
- Description of the Exceptionpublic XMLString getXMLString()
public java.lang.String getLowerCaseData() throws org.w3c.dom.DOMException
org.w3c.dom.DOMException
public int getLength()
getLength
in interface org.w3c.dom.CharacterData
public java.lang.String getNodeValue()
getNodeValue
in interface org.w3c.dom.Node
getNodeValue
in class NodeImpl
Node.getNodeValue()
public void insertData(int offset, java.lang.String arg) throws org.w3c.dom.DOMException
insertData
in interface org.w3c.dom.CharacterData
offset
- Description of the Parameterarg
- Description of the Parameter
org.w3c.dom.DOMException
- Description of the Exceptionpublic void replaceData(int offset, int count, java.lang.String arg) throws org.w3c.dom.DOMException
replaceData
in interface org.w3c.dom.CharacterData
offset
- Description of the Parametercount
- Description of the Parameterarg
- Description of the Parameter
org.w3c.dom.DOMException
- Description of the Exceptionpublic void setData(java.lang.String data) throws org.w3c.dom.DOMException
setData
in interface org.w3c.dom.CharacterData
data
- The new data value
org.w3c.dom.DOMException
- Description of the Exceptionpublic void setData(XMLString data) throws org.w3c.dom.DOMException
org.w3c.dom.DOMException
public void setData(char[] data, int start, int howmany) throws org.w3c.dom.DOMException
data
- The new data valuestart
- The new data valuehowmany
- The new data value
org.w3c.dom.DOMException
- Description of the Exceptionpublic java.lang.String substringData(int offset, int count) throws org.w3c.dom.DOMException
substringData
in interface org.w3c.dom.CharacterData
offset
- Description of the Parametercount
- Description of the Parameter
org.w3c.dom.DOMException
- Description of the Exceptionpublic void toSAX(org.xml.sax.ContentHandler contentHandler, org.xml.sax.ext.LexicalHandler lexicalHandler, boolean first, java.util.ArrayList prefixes) throws org.xml.sax.SAXException
toSAX
in class NodeImpl
contentHandler
- Description of the ParameterlexicalHandler
- Description of the Parameterfirst
- Description of the Parameterprefixes
- Description of the Parameter
org.xml.sax.SAXException
- Description of the Exceptionpublic java.lang.String toString()
toString
in class NodeImpl
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |