Package org.apache.struts2.result.xslt
Class ProxyTextNodeAdapter
java.lang.Object
org.apache.struts2.result.xslt.AbstractAdapterNode
org.apache.struts2.result.xslt.ProxyNodeAdapter
org.apache.struts2.result.xslt.ProxyTextNodeAdapter
- All Implemented Interfaces:
- AdapterNode,- CharacterData,- Node,- Text
ProxyTextNodeAdapter is a pass-through adapter for objects which already
 implement the Text interface.  All methods are proxied to the underlying
 Node except getParent(), getNextSibling() and getPreviousSibling(), which
 are implemented by the abstract adapter node to work with the parent adapter.
- 
Field SummaryFields inherited from interface org.w3c.dom.NodeATTRIBUTE_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 SummaryConstructorsConstructorDescriptionProxyTextNodeAdapter(AdapterFactory factory, AdapterNode parent, Text value) 
- 
Method SummaryModifier and TypeMethodDescriptionvoidappendData(String arg) voiddeleteData(int offset, int count) getData()intvoidinsertData(int offset, String arg) booleanvoidreplaceData(int offset, int count, String arg) replaceWholeText(String string) voidsplitText(int offset) substringData(int offset, int count) toString()Methods inherited from class org.apache.struts2.result.xslt.ProxyNodeAdaptergetAttributes, getLocalName, getNamespaceURI, getNodeName, getNodeType, getNodeValue, getPrefix, hasAttributes, hasChildNodes, isSupported, node, wrap, wrapMethods inherited from class org.apache.struts2.result.xslt.AbstractAdapterNodeappendChild, buildChildAdapters, cloneNode, compareDocumentPosition, getAdapterFactory, getBaseURI, getChildAdapters, getChildAfter, getChildBefore, getChildBeforeOrAfter, getChildNodes, getElementsByTagName, getElementsByTagNameNS, getFeature, getFirstChild, getLastChild, getNextSibling, getOwnerDocument, getParent, getParentNode, getPreviousSibling, getPropertyName, getPropertyValue, getTextContent, getUserData, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, lookupNamespaceURI, lookupPrefix, normalize, operationNotSupported, removeChild, replaceChild, setAdapterFactory, setContext, setNodeValue, setParent, setPrefix, setPropertyName, setPropertyValue, setTextContent, setUserDataMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.w3c.dom.NodeappendChild, 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
- 
Constructor Details- 
ProxyTextNodeAdapter
 
- 
- 
Method Details- 
toString- Overrides:
- toStringin class- ProxyNodeAdapter
 
- 
splitText- Specified by:
- splitTextin interface- Text
- Throws:
- DOMException
 
- 
getLengthpublic int getLength()- Specified by:
- getLengthin interface- CharacterData
 
- 
deleteData- Specified by:
- deleteDatain interface- CharacterData
- Throws:
- DOMException
 
- 
getData- Specified by:
- getDatain interface- CharacterData
- Throws:
- DOMException
 
- 
substringData- Specified by:
- substringDatain interface- CharacterData
- Throws:
- DOMException
 
- 
replaceData- Specified by:
- replaceDatain interface- CharacterData
- Throws:
- DOMException
 
- 
insertData- Specified by:
- insertDatain interface- CharacterData
- Throws:
- DOMException
 
- 
appendData- Specified by:
- appendDatain interface- CharacterData
- Throws:
- DOMException
 
- 
setData- Specified by:
- setDatain interface- CharacterData
- Throws:
- DOMException
 
- 
isElementContentWhitespacepublic boolean isElementContentWhitespace()- Specified by:
- isElementContentWhitespacein interface- Text
 
- 
getWholeText- Specified by:
- getWholeTextin interface- Text
 
- 
replaceWholeText- Specified by:
- replaceWholeTextin interface- Text
- Throws:
- DOMException
 
 
-