|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.axiom.om.impl.dom.NodeImpl
org.apache.axiom.om.impl.dom.ChildNode
org.apache.axiom.om.impl.dom.CharacterImpl
public abstract class CharacterImpl
This implements the OMText operations which are to be inherited by TextImpl, CommentImpl, CDATASectionImpl.
| Field Summary | |
|---|---|
protected java.lang.String |
textValue
|
| Fields inherited from class org.apache.axiom.om.impl.dom.ChildNode |
|---|
nextSibling, parentNode, previousSibling |
| Fields inherited from class org.apache.axiom.om.impl.dom.NodeImpl |
|---|
builder, done, factory, FIRSTCHILD, flags, NORMALIZED, OWNED, ownerNode, READONLY, SPECIFIED |
| Fields inherited from interface org.w3c.dom.Node |
|---|
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE |
| Fields inherited from interface org.apache.axiom.om.OMNode |
|---|
DTD_NODE, PI_NODE, SPACE_NODE |
| Constructor Summary | |
|---|---|
|
CharacterImpl(DocumentImpl ownerNode,
OMFactory factory)
|
|
CharacterImpl(DocumentImpl ownerNode,
java.lang.String value,
OMFactory factory)
|
protected |
CharacterImpl(OMFactory factory)
|
| Method Summary | |
|---|---|
void |
appendData(java.lang.String value)
|
void |
deleteData(int offset,
int count)
|
java.lang.String |
getData()
Returns the value of the data. |
int |
getLength()
Returns the length of the string value. |
void |
insertData(int offset,
java.lang.String data)
Inserts a string at the specified offset. |
void |
replaceData(int offset,
int count,
java.lang.String data)
If the given data is null the content will be deleted. |
void |
setData(java.lang.String data)
Sets the text value of data. |
java.lang.String |
substringData(int offset,
int count)
Extracts a range of data from the node. |
| Methods inherited from class org.apache.axiom.om.impl.dom.ChildNode |
|---|
cloneNode, detach, discard, getNextOMSibling, getNextOMSiblingIfAvailable, getNextSibling, getParent, getParentNode, getPreviousOMSibling, getPreviousSibling, insertSiblingAfter, insertSiblingBefore, setNextOMSibling, setParent, setPreviousOMSibling |
| 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, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData |
| Methods inherited from interface org.apache.axiom.om.impl.OMNodeEx |
|---|
internalSerialize, setType |
| Methods inherited from interface org.apache.axiom.om.OMNode |
|---|
getType |
| Field Detail |
|---|
protected java.lang.String textValue
| Constructor Detail |
|---|
protected CharacterImpl(OMFactory factory)
public CharacterImpl(DocumentImpl ownerNode,
OMFactory factory)
ownerNode -
public CharacterImpl(DocumentImpl ownerNode,
java.lang.String value,
OMFactory factory)
| Method Detail |
|---|
public void appendData(java.lang.String value)
throws org.w3c.dom.DOMException
appendData in interface org.w3c.dom.CharacterDataorg.w3c.dom.DOMException
public void deleteData(int offset,
int count)
throws org.w3c.dom.DOMException
deleteData in interface org.w3c.dom.CharacterDataorg.w3c.dom.DOMException
public void replaceData(int offset,
int count,
java.lang.String data)
throws org.w3c.dom.DOMException
replaceData in interface org.w3c.dom.CharacterDataorg.w3c.dom.DOMException
public java.lang.String getData()
throws org.w3c.dom.DOMException
getData in interface org.w3c.dom.CharacterDataorg.w3c.dom.DOMException
public void insertData(int offset,
java.lang.String data)
throws org.w3c.dom.DOMException
insertData in interface org.w3c.dom.CharacterDataorg.w3c.dom.DOMException
public void setData(java.lang.String data)
throws org.w3c.dom.DOMException
setData in interface org.w3c.dom.CharacterDataorg.w3c.dom.DOMException
public java.lang.String substringData(int offset,
int count)
throws org.w3c.dom.DOMException
substringData in interface org.w3c.dom.CharacterDataorg.w3c.dom.DOMExceptionpublic int getLength()
getLength in interface org.w3c.dom.CharacterDatagetLength in interface org.w3c.dom.NodeListgetLength in class NodeImplParentNode
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||