Package org.apache.struts2.result.xslt
Class SimpleTextNode
java.lang.Object
org.apache.struts2.result.xslt.AbstractAdapterNode
org.apache.struts2.result.xslt.SimpleTextNode
- All Implemented Interfaces:
AdapterNode
,CharacterData
,Node
,Text
-
Field Summary
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
-
Constructor Summary
ConstructorsConstructorDescriptionSimpleTextNode
(AdapterFactory rootAdapterFactory, AdapterNode parent, String propertyName, Object value) -
Method Summary
Modifier and TypeMethodDescriptionvoid
appendData
(String string) void
deleteData
(int i, int i1) getData()
int
short
protected String
void
insertData
(int i, String string) boolean
void
replaceData
(int i, int i1, String string) replaceWholeText
(String string) void
splitText
(int i) substringData
(int beginIndex, int endIndex) Methods inherited from class org.apache.struts2.result.xslt.AbstractAdapterNode
appendChild, buildChildAdapters, cloneNode, compareDocumentPosition, getAdapterFactory, getAttributes, getBaseURI, getChildAdapters, getChildAfter, getChildBefore, getChildBeforeOrAfter, getChildNodes, getElementsByTagName, getElementsByTagNameNS, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getOwnerDocument, getParent, getParentNode, getPrefix, getPreviousSibling, getPropertyName, getPropertyValue, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, operationNotSupported, removeChild, replaceChild, setAdapterFactory, setContext, setNodeValue, setParent, setPrefix, setPropertyName, setPropertyValue, setTextContent, setUserData, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.w3c.dom.Node
appendChild, cloneNode, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData
-
Constructor Details
-
SimpleTextNode
public SimpleTextNode(AdapterFactory rootAdapterFactory, AdapterNode parent, String propertyName, Object value)
-
-
Method Details
-
getStringValue
-
setData
- Specified by:
setData
in interfaceCharacterData
- Throws:
DOMException
-
getData
- Specified by:
getData
in interfaceCharacterData
- Throws:
DOMException
-
getLength
public int getLength()- Specified by:
getLength
in interfaceCharacterData
-
getNodeName
- Specified by:
getNodeName
in interfaceNode
- Overrides:
getNodeName
in classAbstractAdapterNode
-
getNodeType
public short getNodeType()- Specified by:
getNodeType
in interfaceNode
- Overrides:
getNodeType
in classAbstractAdapterNode
-
getNodeValue
- Specified by:
getNodeValue
in interfaceNode
- Overrides:
getNodeValue
in classAbstractAdapterNode
- Throws:
DOMException
-
appendData
- Specified by:
appendData
in interfaceCharacterData
- Throws:
DOMException
-
deleteData
- Specified by:
deleteData
in interfaceCharacterData
- Throws:
DOMException
-
insertData
- Specified by:
insertData
in interfaceCharacterData
- Throws:
DOMException
-
replaceData
- Specified by:
replaceData
in interfaceCharacterData
- Throws:
DOMException
-
splitText
- Specified by:
splitText
in interfaceText
- Throws:
DOMException
-
substringData
- Specified by:
substringData
in interfaceCharacterData
- Throws:
DOMException
-
isElementContentWhitespace
public boolean isElementContentWhitespace()- Specified by:
isElementContentWhitespace
in interfaceText
-
getWholeText
- Specified by:
getWholeText
in interfaceText
-
replaceWholeText
- Specified by:
replaceWholeText
in interfaceText
- Throws:
DOMException
-