org.apache.struts2.views.xslt
类 ProxyElementAdapter

java.lang.Object
  继承者 org.apache.struts2.views.xslt.AbstractAdapterNode
      继承者 org.apache.struts2.views.xslt.ProxyNodeAdapter
          继承者 org.apache.struts2.views.xslt.ProxyElementAdapter
所有已实现的接口:
AdapterNode, Element, Node

public class ProxyElementAdapter
extends ProxyNodeAdapter
implements Element

ProxyElementAdapter is a pass-through adapter for objects which already implement the Element 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. Note: this class wants to be (extend) both an AbstractElementAdapter and ProxyElementAdapter, but its proxy-ness is winning right now.


字段摘要
 
从接口 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
 
构造方法摘要
ProxyElementAdapter(AdapterFactory factory, AdapterNode parent, Element value)
           
 
方法摘要
 String getAttribute(String name)
           
 Attr getAttributeNode(String name)
           
 Attr getAttributeNodeNS(String namespaceURI, String localName)
           
 String getAttributeNS(String namespaceURI, String localName)
           
 NodeList getElementsByTagName(String name)
           
 NodeList getElementsByTagNameNS(String namespaceURI, String localName)
           
 TypeInfo getSchemaTypeInfo()
           
 String getTagName()
           
 boolean hasAttribute(String name)
           
 boolean hasAttributeNS(String namespaceURI, String localName)
           
 void removeAttribute(String name)
           
 Attr removeAttributeNode(Attr oldAttr)
           
 void removeAttributeNS(String namespaceURI, String localName)
           
 void setAttribute(String name, String value)
           
 Attr setAttributeNode(Attr newAttr)
           
 Attr setAttributeNodeNS(Attr newAttr)
           
 void setAttributeNS(String namespaceURI, String qualifiedName, String value)
           
 void setIdAttribute(String string, boolean b)
           
 void setIdAttributeNode(Attr attr, boolean b)
           
 void setIdAttributeNS(String string, String string1, boolean b)
           
 String toString()
           
 
从类 org.apache.struts2.views.xslt.ProxyNodeAdapter 继承的方法
getAttributes, getLocalName, getNamespaceURI, getNodeName, getNodeType, getNodeValue, getPrefix, hasAttributes, hasChildNodes, isSupported
 
从类 org.apache.struts2.views.xslt.AbstractAdapterNode 继承的方法
appendChild, cloneNode, compareDocumentPosition, getAdapterFactory, getBaseURI, getChildAfter, getChildBefore, getChildBeforeOrAfter, getChildNodes, 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
 
从类 java.lang.Object 继承的方法
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
从接口 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
 

构造方法详细信息

ProxyElementAdapter

public ProxyElementAdapter(AdapterFactory factory,
                           AdapterNode parent,
                           Element value)
方法详细信息

getTagName

public String getTagName()
指定者:
接口 Element 中的 getTagName

hasAttribute

public boolean hasAttribute(String name)
指定者:
接口 Element 中的 hasAttribute

getAttribute

public String getAttribute(String name)
指定者:
接口 Element 中的 getAttribute

hasAttributeNS

public boolean hasAttributeNS(String namespaceURI,
                              String localName)
指定者:
接口 Element 中的 hasAttributeNS

getAttributeNode

public Attr getAttributeNode(String name)
指定者:
接口 Element 中的 getAttributeNode

getElementsByTagName

public NodeList getElementsByTagName(String name)
指定者:
接口 Element 中的 getElementsByTagName
覆盖:
AbstractAdapterNode 中的 getElementsByTagName

getAttributeNS

public String getAttributeNS(String namespaceURI,
                             String localName)
指定者:
接口 Element 中的 getAttributeNS

getAttributeNodeNS

public Attr getAttributeNodeNS(String namespaceURI,
                               String localName)
指定者:
接口 Element 中的 getAttributeNodeNS

getElementsByTagNameNS

public NodeList getElementsByTagNameNS(String namespaceURI,
                                       String localName)
指定者:
接口 Element 中的 getElementsByTagNameNS
覆盖:
AbstractAdapterNode 中的 getElementsByTagNameNS

removeAttribute

public void removeAttribute(String name)
                     throws DOMException
指定者:
接口 Element 中的 removeAttribute
抛出:
DOMException

removeAttributeNS

public void removeAttributeNS(String namespaceURI,
                              String localName)
                       throws DOMException
指定者:
接口 Element 中的 removeAttributeNS
抛出:
DOMException

setAttribute

public void setAttribute(String name,
                         String value)
                  throws DOMException
指定者:
接口 Element 中的 setAttribute
抛出:
DOMException

removeAttributeNode

public Attr removeAttributeNode(Attr oldAttr)
                         throws DOMException
指定者:
接口 Element 中的 removeAttributeNode
抛出:
DOMException

setAttributeNode

public Attr setAttributeNode(Attr newAttr)
                      throws DOMException
指定者:
接口 Element 中的 setAttributeNode
抛出:
DOMException

setAttributeNodeNS

public Attr setAttributeNodeNS(Attr newAttr)
                        throws DOMException
指定者:
接口 Element 中的 setAttributeNodeNS
抛出:
DOMException

setAttributeNS

public void setAttributeNS(String namespaceURI,
                           String qualifiedName,
                           String value)
                    throws DOMException
指定者:
接口 Element 中的 setAttributeNS
抛出:
DOMException

getSchemaTypeInfo

public TypeInfo getSchemaTypeInfo()
指定者:
接口 Element 中的 getSchemaTypeInfo

setIdAttribute

public void setIdAttribute(String string,
                           boolean b)
                    throws DOMException
指定者:
接口 Element 中的 setIdAttribute
抛出:
DOMException

setIdAttributeNS

public void setIdAttributeNS(String string,
                             String string1,
                             boolean b)
                      throws DOMException
指定者:
接口 Element 中的 setIdAttributeNS
抛出:
DOMException

setIdAttributeNode

public void setIdAttributeNode(Attr attr,
                               boolean b)
                        throws DOMException
指定者:
接口 Element 中的 setIdAttributeNode
抛出:
DOMException

toString

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