org.apache.struts2.views.xslt
类 ProxyTextNodeAdapter
java.lang.Object
org.apache.struts2.views.xslt.AbstractAdapterNode
org.apache.struts2.views.xslt.ProxyNodeAdapter
org.apache.struts2.views.xslt.ProxyTextNodeAdapter
- 所有已实现的接口:
- AdapterNode, CharacterData, Node, Text
public class ProxyTextNodeAdapter
- extends ProxyNodeAdapter
- implements 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.
从接口 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 |
从类 org.apache.struts2.views.xslt.AbstractAdapterNode 继承的方法 |
appendChild, cloneNode, compareDocumentPosition, getAdapterFactory, getBaseURI, 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, removeChild, replaceChild, setAdapterFactory, setNodeValue, setParent, setPrefix, setPropertyName, setPropertyValue, setTextContent, setUserData |
从接口 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,
Text value)
toString
public String toString()
- 覆盖:
- 类
ProxyNodeAdapter
中的 toString
splitText
public Text splitText(int offset)
throws DOMException
- 指定者:
- 接口
Text
中的 splitText
- 抛出:
DOMException
getLength
public int getLength()
- 指定者:
- 接口
CharacterData
中的 getLength
deleteData
public void deleteData(int offset,
int count)
throws DOMException
- 指定者:
- 接口
CharacterData
中的 deleteData
- 抛出:
DOMException
getData
public String getData()
throws DOMException
- 指定者:
- 接口
CharacterData
中的 getData
- 抛出:
DOMException
substringData
public String substringData(int offset,
int count)
throws DOMException
- 指定者:
- 接口
CharacterData
中的 substringData
- 抛出:
DOMException
replaceData
public void replaceData(int offset,
int count,
String arg)
throws DOMException
- 指定者:
- 接口
CharacterData
中的 replaceData
- 抛出:
DOMException
insertData
public void insertData(int offset,
String arg)
throws DOMException
- 指定者:
- 接口
CharacterData
中的 insertData
- 抛出:
DOMException
appendData
public void appendData(String arg)
throws DOMException
- 指定者:
- 接口
CharacterData
中的 appendData
- 抛出:
DOMException
setData
public void setData(String data)
throws DOMException
- 指定者:
- 接口
CharacterData
中的 setData
- 抛出:
DOMException
isElementContentWhitespace
public boolean isElementContentWhitespace()
- 指定者:
- 接口
Text
中的 isElementContentWhitespace
getWholeText
public String getWholeText()
- 指定者:
- 接口
Text
中的 getWholeText
replaceWholeText
public Text replaceWholeText(String string)
throws DOMException
- 指定者:
- 接口
Text
中的 replaceWholeText
- 抛出:
DOMException