|
|||||||
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.StoredNode
org.exist.dom.CharacterDataImpl
org.exist.dom.TextImpl
public class TextImpl
TextImpl.java
Field Summary |
---|
Fields inherited from class org.exist.dom.StoredNode |
---|
LENGTH_SIGNATURE_LENGTH, UNKNOWN_NODE_IMPL_ADDRESS |
Constructor Summary | |
---|---|
TextImpl()
|
|
TextImpl(NodeId nodeId,
String data)
|
|
TextImpl(String data)
|
Method Summary | |
---|---|
void |
appendData(char[] data,
int start,
int howmany)
|
void |
appendData(String arg)
|
short |
compareDocumentPosition(Node other)
? @see org.w3c.dom.Node#compareDocumentPosition(org.w3c.dom.Node) |
void |
deleteData(int offset,
int count)
|
static StoredNode |
deserialize(byte[] data,
int start,
int len,
DocumentImpl doc,
boolean pooled)
|
String |
getBaseURI()
? @see org.w3c.dom.Node#getBaseURI() |
int |
getChildCount()
|
Object |
getFeature(String feature,
String version)
? @see org.w3c.dom.Node#getFeature(java.lang.String, java.lang.String) |
Node |
getFirstChild()
|
int |
getLength()
|
String |
getLocalName()
|
String |
getNamespaceURI()
|
String |
getNodeValue()
|
String |
getTextContent()
? @see org.w3c.dom.Node#getTextContent() |
Object |
getUserData(String key)
? @see org.w3c.dom.Node#getUserData(java.lang.String) |
String |
getWholeText()
? @see org.w3c.dom.Text#getWholeText() |
boolean |
hasChildNodes()
|
void |
insertData(int offset,
String arg)
|
boolean |
isDefaultNamespace(String namespaceURI)
? @see org.w3c.dom.Node#isDefaultNamespace(java.lang.String) |
boolean |
isElementContentWhitespace()
? @see org.w3c.dom.Text#isElementContentWhitespace() |
boolean |
isEqualNode(Node arg)
? @see org.w3c.dom.Node#isEqualNode(org.w3c.dom.Node) |
boolean |
isSameNode(Node other)
? @see org.w3c.dom.Node#isSameNode(org.w3c.dom.Node) |
String |
lookupNamespaceURI(String prefix)
? @see org.w3c.dom.Node#lookupNamespaceURI(java.lang.String) |
String |
lookupPrefix(String namespaceURI)
? @see org.w3c.dom.Node#lookupPrefix(java.lang.String) |
void |
replaceData(int offset,
int count,
String arg)
|
Text |
replaceWholeText(String content)
? @see org.w3c.dom.Text#replaceWholeText(java.lang.String) |
byte[] |
serialize()
|
void |
setNodeValue(String value)
Set the node value. |
void |
setTextContent(String textContent)
? @see org.w3c.dom.Node#setTextContent(java.lang.String) |
Object |
setUserData(String key,
Object data,
UserDataHandler handler)
? @see org.w3c.dom.Node#setUserData(java.lang.String, java.lang.Object, org.w3c.dom.UserDataHandler) |
Text |
splitText(int offset)
|
String |
substringData(int offset,
int count)
|
String |
toString()
|
String |
toString(boolean top)
|
Methods inherited from class org.exist.dom.CharacterDataImpl |
---|
clear, getData, getLowerCaseData, getStringLength, getXMLString, readData, release, setData, setData, setData |
Methods inherited from class org.exist.dom.StoredNode |
---|
accept, accept, deserialize, equals, getDocId, getDocument, getInternalAddress, getNextSibling, getNodeId, getNodeType, getOwnerDocument, getParentNode, getParentStoredNode, getPath, getPath, getPreviousSibling, getQName, isDirty, setDirty, setInternalAddress, setNodeId, setOwnerDocument |
Methods inherited from class org.exist.dom.NodeImpl |
---|
appendChild, appendChildren, cloneNode, getAttributes, getAttributesCount, getChildNodes, getLastChild, getNodeName, getPrefix, hasAttributes, insertAfter, insertAfter, insertBefore, insertBefore, isSupported, normalize, removeChild, removeChild, replaceChild, replaceChild, setAttributes, setNodeName, setPrefix, supports, updateChild, updateChild |
Methods inherited from class java.lang.Object |
---|
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, getLastChild, getNextSibling, getNodeName, getNodeType, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, hasAttributes, insertBefore, isSupported, normalize, removeChild, replaceChild, setPrefix |
Constructor Detail |
---|
public TextImpl()
public TextImpl(String data)
public TextImpl(NodeId nodeId, String data)
Method Detail |
---|
public String getLocalName()
getLocalName
in interface Node
getLocalName
in class NodeImpl
Node.getLocalName()
public String getNamespaceURI()
getNamespaceURI
in interface Node
getNamespaceURI
in class NodeImpl
Node.getNamespaceURI()
public byte[] serialize()
serialize
in class StoredNode
public static StoredNode deserialize(byte[] data, int start, int len, DocumentImpl doc, boolean pooled)
public void appendData(String arg) throws DOMException
appendData
in interface CharacterData
appendData
in class CharacterDataImpl
DOMException
public void appendData(char[] data, int start, int howmany) throws DOMException
appendData
in class CharacterDataImpl
DOMException
public void deleteData(int offset, int count) throws DOMException
deleteData
in interface CharacterData
deleteData
in class CharacterDataImpl
DOMException
public int getLength()
getLength
in interface CharacterData
getLength
in class CharacterDataImpl
public String getNodeValue()
getNodeValue
in interface Node
getNodeValue
in class CharacterDataImpl
Node.getNodeValue()
public void insertData(int offset, String arg) throws DOMException
insertData
in interface CharacterData
insertData
in class CharacterDataImpl
DOMException
public void replaceData(int offset, int count, String arg) throws DOMException
replaceData
in interface CharacterData
replaceData
in class CharacterDataImpl
DOMException
public void setNodeValue(String value) throws DOMException
NodeImpl
setNodeValue
in interface Node
setNodeValue
in class NodeImpl
value
- The new nodeValue value
DOMException
- Description of the Exceptionpublic Text splitText(int offset) throws DOMException
splitText
in interface Text
DOMException
public String substringData(int offset, int count) throws DOMException
substringData
in interface CharacterData
substringData
in class CharacterDataImpl
DOMException
public String toString(boolean top)
toString
in class StoredNode
public String toString()
toString
in class CharacterDataImpl
public int getChildCount()
getChildCount
in class NodeImpl
public boolean hasChildNodes()
hasChildNodes
in interface Node
hasChildNodes
in class NodeImpl
Node.hasChildNodes()
public Node getFirstChild()
getFirstChild
in interface Node
getFirstChild
in class NodeImpl
Node.getFirstChild()
public boolean isElementContentWhitespace()
isElementContentWhitespace
in interface Text
public String getWholeText()
getWholeText
in interface Text
public Text replaceWholeText(String content) throws DOMException
replaceWholeText
in interface Text
DOMException
public String getBaseURI()
getBaseURI
in interface Node
getBaseURI
in class NodeImpl
public short compareDocumentPosition(Node other) throws DOMException
compareDocumentPosition
in interface Node
compareDocumentPosition
in class NodeImpl
DOMException
public String getTextContent() throws DOMException
getTextContent
in interface Node
getTextContent
in class NodeImpl
DOMException
public void setTextContent(String textContent) throws DOMException
setTextContent
in interface Node
setTextContent
in class NodeImpl
DOMException
public boolean isSameNode(Node other)
isSameNode
in interface Node
isSameNode
in class NodeImpl
public String lookupPrefix(String namespaceURI)
lookupPrefix
in interface Node
lookupPrefix
in class NodeImpl
public boolean isDefaultNamespace(String namespaceURI)
isDefaultNamespace
in interface Node
isDefaultNamespace
in class NodeImpl
public String lookupNamespaceURI(String prefix)
lookupNamespaceURI
in interface Node
lookupNamespaceURI
in class NodeImpl
public boolean isEqualNode(Node arg)
isEqualNode
in interface Node
isEqualNode
in class NodeImpl
public Object getFeature(String feature, String version)
getFeature
in interface Node
getFeature
in class NodeImpl
public Object setUserData(String key, Object data, UserDataHandler handler)
setUserData
in interface Node
setUserData
in class NodeImpl
public Object getUserData(String key)
getUserData
in interface Node
getUserData
in class NodeImpl
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |