|
||||||||
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
org.exist.dom.TextImpl
TextImpl.java
Field Summary |
Fields inherited from class org.exist.dom.CharacterDataImpl |
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 | |
TextImpl()
|
|
TextImpl(char[] data,
int start,
int howmany)
Constructor for the TextImpl object |
|
TextImpl(long gid)
Constructor for the TextImpl object |
|
TextImpl(long gid,
java.lang.String data)
Constructor for the TextImpl object |
|
TextImpl(java.lang.String data)
Constructor for the TextImpl 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 |
deleteData(int offset,
int count)
Description of the Method |
static NodeImpl |
deserialize(byte[] data,
int start,
int len)
|
int |
getLength()
Gets the length attribute of the TextImpl object |
java.lang.String |
getNodeValue()
Gets the nodeValue attribute of the TextImpl object |
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 |
byte[] |
serialize()
Description of the Method |
void |
setNodeValue(java.lang.String value)
Sets the nodeValue attribute of the TextImpl object |
org.w3c.dom.Text |
splitText(int offset)
Description of the Method |
java.lang.String |
substringData(int offset,
int count)
Description of the Method |
java.lang.String |
toString()
Description of the Method |
java.lang.String |
toString(boolean top)
Description of the Method |
Methods inherited from class org.exist.dom.CharacterDataImpl |
clear, getData, getLowerCaseData, getXMLString, setData, setData, setData, toSAX |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.w3c.dom.CharacterData |
getData, setData |
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 |
Constructor Detail |
public TextImpl()
public TextImpl(long gid)
gid
- Description of the Parameterpublic TextImpl(java.lang.String data)
data
- Description of the Parameterpublic TextImpl(long gid, java.lang.String data)
gid
- Description of the Parameterdata
- Description of the Parameterpublic TextImpl(char[] data, int start, int howmany)
data
- Description of the Parameterstart
- Description of the Parameterhowmany
- Description of the ParameterMethod Detail |
public static NodeImpl deserialize(byte[] data, int start, int len)
public void appendData(java.lang.String arg) throws org.w3c.dom.DOMException
appendData
in interface org.w3c.dom.CharacterData
appendData
in class CharacterDataImpl
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
appendData
in class CharacterDataImpl
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
deleteData
in class CharacterDataImpl
offset
- Description of the Parametercount
- Description of the Parameter
org.w3c.dom.DOMException
- Description of the Exceptionpublic int getLength()
getLength
in interface org.w3c.dom.CharacterData
getLength
in class CharacterDataImpl
public java.lang.String getNodeValue()
getNodeValue
in interface org.w3c.dom.Node
getNodeValue
in class CharacterDataImpl
public void insertData(int offset, java.lang.String arg) throws org.w3c.dom.DOMException
insertData
in interface org.w3c.dom.CharacterData
insertData
in class CharacterDataImpl
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
replaceData
in class CharacterDataImpl
offset
- Description of the Parametercount
- Description of the Parameterarg
- Description of the Parameter
org.w3c.dom.DOMException
- Description of the Exceptionpublic byte[] serialize()
serialize
in class NodeImpl
public void setNodeValue(java.lang.String value) throws org.w3c.dom.DOMException
setNodeValue
in interface org.w3c.dom.Node
setNodeValue
in class NodeImpl
value
- The new nodeValue value
org.w3c.dom.DOMException
- Description of the Exceptionpublic org.w3c.dom.Text splitText(int offset) throws org.w3c.dom.DOMException
splitText
in interface org.w3c.dom.Text
offset
- Description of the Parameter
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
substringData
in class CharacterDataImpl
offset
- Description of the Parametercount
- Description of the Parameter
org.w3c.dom.DOMException
- Description of the Exceptionpublic java.lang.String toString(boolean top)
toString
in class NodeImpl
top
- Description of the Parameter
public java.lang.String toString()
toString
in class CharacterDataImpl
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |