org.apache.struts2.views.xslt
Class ProxyTextNodeAdapter
java.lang.Object
org.apache.struts2.views.xslt.AbstractAdapterNode
org.apache.struts2.views.xslt.ProxyNodeAdapter
org.apache.struts2.views.xslt.ProxyTextNodeAdapter
- All Implemented Interfaces:
- AdapterNode, org.w3c.dom.CharacterData, org.w3c.dom.Node, org.w3c.dom.Text
public class ProxyTextNodeAdapter
- extends ProxyNodeAdapter
- implements org.w3c.dom.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.
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 |
Methods inherited from class org.apache.struts2.views.xslt.ProxyNodeAdapter |
getAttributes, getLocalName, getNamespaceURI, getNodeName, getNodeType, getNodeValue, getPrefix, hasAttributes, hasChildNodes, isSupported, node, wrap, wrap |
Methods inherited from class org.apache.struts2.views.xslt.AbstractAdapterNode |
appendChild, 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, setUserData |
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, 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 |
ProxyTextNodeAdapter
public ProxyTextNodeAdapter(AdapterFactory factory,
AdapterNode parent,
org.w3c.dom.Text value)
toString
public java.lang.String toString()
- Overrides:
toString
in class ProxyNodeAdapter
splitText
public org.w3c.dom.Text splitText(int offset)
throws org.w3c.dom.DOMException
- Specified by:
splitText
in interface org.w3c.dom.Text
- Throws:
org.w3c.dom.DOMException
getLength
public int getLength()
- Specified by:
getLength
in interface org.w3c.dom.CharacterData
deleteData
public void deleteData(int offset,
int count)
throws org.w3c.dom.DOMException
- Specified by:
deleteData
in interface org.w3c.dom.CharacterData
- Throws:
org.w3c.dom.DOMException
getData
public java.lang.String getData()
throws org.w3c.dom.DOMException
- Specified by:
getData
in interface org.w3c.dom.CharacterData
- Throws:
org.w3c.dom.DOMException
substringData
public java.lang.String substringData(int offset,
int count)
throws org.w3c.dom.DOMException
- Specified by:
substringData
in interface org.w3c.dom.CharacterData
- Throws:
org.w3c.dom.DOMException
replaceData
public void replaceData(int offset,
int count,
java.lang.String arg)
throws org.w3c.dom.DOMException
- Specified by:
replaceData
in interface org.w3c.dom.CharacterData
- Throws:
org.w3c.dom.DOMException
insertData
public void insertData(int offset,
java.lang.String arg)
throws org.w3c.dom.DOMException
- Specified by:
insertData
in interface org.w3c.dom.CharacterData
- Throws:
org.w3c.dom.DOMException
appendData
public void appendData(java.lang.String arg)
throws org.w3c.dom.DOMException
- Specified by:
appendData
in interface org.w3c.dom.CharacterData
- Throws:
org.w3c.dom.DOMException
setData
public void setData(java.lang.String data)
throws org.w3c.dom.DOMException
- Specified by:
setData
in interface org.w3c.dom.CharacterData
- Throws:
org.w3c.dom.DOMException
isElementContentWhitespace
public boolean isElementContentWhitespace()
- Specified by:
isElementContentWhitespace
in interface org.w3c.dom.Text
getWholeText
public java.lang.String getWholeText()
- Specified by:
getWholeText
in interface org.w3c.dom.Text
replaceWholeText
public org.w3c.dom.Text replaceWholeText(java.lang.String string)
throws org.w3c.dom.DOMException
- Specified by:
replaceWholeText
in interface org.w3c.dom.Text
- Throws:
org.w3c.dom.DOMException
Copyright © 2000-2011 Apache Software Foundation. All Rights Reserved.