org.apache.struts2.views.xslt
类 AbstractAdapterNode

java.lang.Object
  继承者 org.apache.struts2.views.xslt.AbstractAdapterNode
所有已实现的接口:
AdapterNode, Node
直接已知子类:
AbstractAdapterElement, ProxyNodeAdapter, SimpleAdapterDocument, SimpleTextNode

public abstract class AbstractAdapterNode
extends Object
implements AdapterNode

AbstractAdapterNode is the base for childAdapters that expose a read-only view of a Java object as a DOM Node. This class implements the core parent-child and sibling node traversal functionality shared by all adapter type nodes and used in proxy node support.

另请参见:
AbstractAdapterElement

字段摘要
 
从接口 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
 
构造方法摘要
AbstractAdapterNode()
           
 
方法摘要
 Node appendChild(Node node)
           
 Node cloneNode(boolean b)
           
 short compareDocumentPosition(Node node)
           
 AdapterFactory getAdapterFactory()
          The adapter factory that created this node.
 NamedNodeMap getAttributes()
           
 String getBaseURI()
           
 Node getChildAfter(Node child)
          The child node after the specified sibling
 Node getChildBefore(Node child)
          The child node before the specified sibling
 Node getChildBeforeOrAfter(Node child, boolean before)
           
 NodeList getChildNodes()
           
 NodeList getElementsByTagName(String tagName)
           
 NodeList getElementsByTagNameNS(String string, String string1)
           
 Object getFeature(String string, String string1)
           
 Node getFirstChild()
           
 Node getLastChild()
           
 String getLocalName()
           
 String getNamespaceURI()
           
 Node getNextSibling()
           
 String getNodeName()
           
 short getNodeType()
           
 String getNodeValue()
           
 Document getOwnerDocument()
           
 AdapterNode getParent()
          The parent adapter node of this node.
 Node getParentNode()
           
 String getPrefix()
           
 Node getPreviousSibling()
           
 String getPropertyName()
          The name of the Java object (property) that we are adapting
 Object getPropertyValue()
          The Java object (property) that we are adapting
 String getTextContent()
           
 Object getUserData(String string)
           
 boolean hasAttributes()
           
 boolean hasChildNodes()
           
 Node insertBefore(Node node, Node node1)
           
 boolean isDefaultNamespace(String string)
           
 boolean isEqualNode(Node node)
           
 boolean isSameNode(Node node)
           
 boolean isSupported(String string, String string1)
           
 String lookupNamespaceURI(String string)
           
 String lookupPrefix(String string)
           
 void normalize()
           
 Node removeChild(Node node)
           
 Node replaceChild(Node node, Node node1)
           
 void setAdapterFactory(AdapterFactory adapterFactory)
          The adapter factory that created this node.
 void setNodeValue(String string)
           
 void setParent(AdapterNode parent)
          The parent adapter node of this node.
 void setPrefix(String string)
           
 void setPropertyName(String name)
          The name of the Java object (property) that we are adapting
 void setPropertyValue(Object prop)
          The Java object (property) that we are adapting
 void setTextContent(String string)
           
 Object setUserData(String string, Object object, UserDataHandler userDataHandler)
           
 String toString()
           
 
从类 java.lang.Object 继承的方法
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

构造方法详细信息

AbstractAdapterNode

public AbstractAdapterNode()
方法详细信息

getChildBeforeOrAfter

public Node getChildBeforeOrAfter(Node child,
                                  boolean before)

getChildAfter

public Node getChildAfter(Node child)
从接口 AdapterNode 复制的描述
The child node after the specified sibling

指定者:
接口 AdapterNode 中的 getChildAfter

getChildBefore

public Node getChildBefore(Node child)
从接口 AdapterNode 复制的描述
The child node before the specified sibling

指定者:
接口 AdapterNode 中的 getChildBefore

getElementsByTagName

public NodeList getElementsByTagName(String tagName)

getElementsByTagNameNS

public NodeList getElementsByTagNameNS(String string,
                                       String string1)

getAttributes

public NamedNodeMap getAttributes()
指定者:
接口 Node 中的 getAttributes

getChildNodes

public NodeList getChildNodes()
指定者:
接口 Node 中的 getChildNodes

getFirstChild

public Node getFirstChild()
指定者:
接口 Node 中的 getFirstChild

getLastChild

public Node getLastChild()
指定者:
接口 Node 中的 getLastChild

getLocalName

public String getLocalName()
指定者:
接口 Node 中的 getLocalName

getNamespaceURI

public String getNamespaceURI()
指定者:
接口 Node 中的 getNamespaceURI

setNodeValue

public void setNodeValue(String string)
                  throws DOMException
指定者:
接口 Node 中的 setNodeValue
抛出:
DOMException

getNodeValue

public String getNodeValue()
                    throws DOMException
指定者:
接口 Node 中的 getNodeValue
抛出:
DOMException

getOwnerDocument

public Document getOwnerDocument()
指定者:
接口 Node 中的 getOwnerDocument

getParentNode

public Node getParentNode()
指定者:
接口 Node 中的 getParentNode

getParent

public AdapterNode getParent()
从接口 AdapterNode 复制的描述
The parent adapter node of this node. Note that our parent must be another adapter node, but our children may be any kind of Node.

指定者:
接口 AdapterNode 中的 getParent

setParent

public void setParent(AdapterNode parent)
从接口 AdapterNode 复制的描述
The parent adapter node of this node. Note that our parent must be another adapter node, but our children may be any kind of Node.

指定者:
接口 AdapterNode 中的 setParent

getPropertyValue

public Object getPropertyValue()
从接口 AdapterNode 复制的描述
The Java object (property) that we are adapting

指定者:
接口 AdapterNode 中的 getPropertyValue

setPropertyValue

public void setPropertyValue(Object prop)
从接口 AdapterNode 复制的描述
The Java object (property) that we are adapting

指定者:
接口 AdapterNode 中的 setPropertyValue

setPrefix

public void setPrefix(String string)
               throws DOMException
指定者:
接口 Node 中的 setPrefix
抛出:
DOMException

getPrefix

public String getPrefix()
指定者:
接口 Node 中的 getPrefix

getNextSibling

public Node getNextSibling()
指定者:
接口 Node 中的 getNextSibling

getPreviousSibling

public Node getPreviousSibling()
指定者:
接口 Node 中的 getPreviousSibling

getPropertyName

public String getPropertyName()
从接口 AdapterNode 复制的描述
The name of the Java object (property) that we are adapting

指定者:
接口 AdapterNode 中的 getPropertyName

setPropertyName

public void setPropertyName(String name)
从接口 AdapterNode 复制的描述
The name of the Java object (property) that we are adapting

指定者:
接口 AdapterNode 中的 setPropertyName

getAdapterFactory

public AdapterFactory getAdapterFactory()
从接口 AdapterNode 复制的描述
The adapter factory that created this node.

指定者:
接口 AdapterNode 中的 getAdapterFactory

setAdapterFactory

public void setAdapterFactory(AdapterFactory adapterFactory)
从接口 AdapterNode 复制的描述
The adapter factory that created this node.

指定者:
接口 AdapterNode 中的 setAdapterFactory

isSupported

public boolean isSupported(String string,
                           String string1)
指定者:
接口 Node 中的 isSupported

appendChild

public Node appendChild(Node node)
                 throws DOMException
指定者:
接口 Node 中的 appendChild
抛出:
DOMException

cloneNode

public Node cloneNode(boolean b)
指定者:
接口 Node 中的 cloneNode

hasAttributes

public boolean hasAttributes()
指定者:
接口 Node 中的 hasAttributes

hasChildNodes

public boolean hasChildNodes()
指定者:
接口 Node 中的 hasChildNodes

insertBefore

public Node insertBefore(Node node,
                         Node node1)
                  throws DOMException
指定者:
接口 Node 中的 insertBefore
抛出:
DOMException

normalize

public void normalize()
指定者:
接口 Node 中的 normalize

removeChild

public Node removeChild(Node node)
                 throws DOMException
指定者:
接口 Node 中的 removeChild
抛出:
DOMException

replaceChild

public Node replaceChild(Node node,
                         Node node1)
                  throws DOMException
指定者:
接口 Node 中的 replaceChild
抛出:
DOMException

isDefaultNamespace

public boolean isDefaultNamespace(String string)
指定者:
接口 Node 中的 isDefaultNamespace

lookupNamespaceURI

public String lookupNamespaceURI(String string)
指定者:
接口 Node 中的 lookupNamespaceURI

getNodeName

public String getNodeName()
指定者:
接口 Node 中的 getNodeName

getNodeType

public short getNodeType()
指定者:
接口 Node 中的 getNodeType

getBaseURI

public String getBaseURI()
指定者:
接口 Node 中的 getBaseURI

compareDocumentPosition

public short compareDocumentPosition(Node node)
                              throws DOMException
指定者:
接口 Node 中的 compareDocumentPosition
抛出:
DOMException

getTextContent

public String getTextContent()
                      throws DOMException
指定者:
接口 Node 中的 getTextContent
抛出:
DOMException

setTextContent

public void setTextContent(String string)
                    throws DOMException
指定者:
接口 Node 中的 setTextContent
抛出:
DOMException

isSameNode

public boolean isSameNode(Node node)
指定者:
接口 Node 中的 isSameNode

lookupPrefix

public String lookupPrefix(String string)
指定者:
接口 Node 中的 lookupPrefix

isEqualNode

public boolean isEqualNode(Node node)
指定者:
接口 Node 中的 isEqualNode

getFeature

public Object getFeature(String string,
                         String string1)
指定者:
接口 Node 中的 getFeature

setUserData

public Object setUserData(String string,
                          Object object,
                          UserDataHandler userDataHandler)
指定者:
接口 Node 中的 setUserData

getUserData

public Object getUserData(String string)
指定者:
接口 Node 中的 getUserData

toString

public String toString()
覆盖:
Object 中的 toString