|
|||||||
| 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 NodegetLocalName in class NodeImplNode.getLocalName()public String getNamespaceURI()
getNamespaceURI in interface NodegetNamespaceURI in class NodeImplNode.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 CharacterDataappendData in class CharacterDataImplDOMException
public void appendData(char[] data,
int start,
int howmany)
throws DOMException
appendData in class CharacterDataImplDOMException
public void deleteData(int offset,
int count)
throws DOMException
deleteData in interface CharacterDatadeleteData in class CharacterDataImplDOMExceptionpublic int getLength()
getLength in interface CharacterDatagetLength in class CharacterDataImplpublic String getNodeValue()
getNodeValue in interface NodegetNodeValue in class CharacterDataImplNode.getNodeValue()
public void insertData(int offset,
String arg)
throws DOMException
insertData in interface CharacterDatainsertData in class CharacterDataImplDOMException
public void replaceData(int offset,
int count,
String arg)
throws DOMException
replaceData in interface CharacterDatareplaceData in class CharacterDataImplDOMException
public void setNodeValue(String value)
throws DOMException
NodeImpl
setNodeValue in interface NodesetNodeValue in class NodeImplvalue - The new nodeValue value
DOMException - Description of the Exception
public Text splitText(int offset)
throws DOMException
splitText in interface TextDOMException
public String substringData(int offset,
int count)
throws DOMException
substringData in interface CharacterDatasubstringData in class CharacterDataImplDOMExceptionpublic String toString(boolean top)
toString in class StoredNodepublic String toString()
toString in class CharacterDataImplpublic int getChildCount()
getChildCount in class NodeImplpublic boolean hasChildNodes()
hasChildNodes in interface NodehasChildNodes in class NodeImplNode.hasChildNodes()public Node getFirstChild()
getFirstChild in interface NodegetFirstChild in class NodeImplNode.getFirstChild()public boolean isElementContentWhitespace()
isElementContentWhitespace in interface Textpublic String getWholeText()
getWholeText in interface Text
public Text replaceWholeText(String content)
throws DOMException
replaceWholeText in interface TextDOMExceptionpublic String getBaseURI()
getBaseURI in interface NodegetBaseURI in class NodeImpl
public short compareDocumentPosition(Node other)
throws DOMException
compareDocumentPosition in interface NodecompareDocumentPosition in class NodeImplDOMException
public String getTextContent()
throws DOMException
getTextContent in interface NodegetTextContent in class NodeImplDOMException
public void setTextContent(String textContent)
throws DOMException
setTextContent in interface NodesetTextContent in class NodeImplDOMExceptionpublic boolean isSameNode(Node other)
isSameNode in interface NodeisSameNode in class NodeImplpublic String lookupPrefix(String namespaceURI)
lookupPrefix in interface NodelookupPrefix in class NodeImplpublic boolean isDefaultNamespace(String namespaceURI)
isDefaultNamespace in interface NodeisDefaultNamespace in class NodeImplpublic String lookupNamespaceURI(String prefix)
lookupNamespaceURI in interface NodelookupNamespaceURI in class NodeImplpublic boolean isEqualNode(Node arg)
isEqualNode in interface NodeisEqualNode in class NodeImpl
public Object getFeature(String feature,
String version)
getFeature in interface NodegetFeature in class NodeImpl
public Object setUserData(String key,
Object data,
UserDataHandler handler)
setUserData in interface NodesetUserData in class NodeImplpublic Object getUserData(String key)
getUserData in interface NodegetUserData in class NodeImpl
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||