org.apache.struts2.views.xslt
Class AbstractAdapterElement

java.lang.Object
  extended by org.apache.struts2.views.xslt.AbstractAdapterNode
      extended by org.apache.struts2.views.xslt.AbstractAdapterElement
All Implemented Interfaces:
AdapterNode, org.w3c.dom.Element, org.w3c.dom.Node
Direct Known Subclasses:
ArrayAdapter, BeanAdapter, CollectionAdapter, MapAdapter, StringAdapter

public abstract class AbstractAdapterElement
extends AbstractAdapterNode
implements org.w3c.dom.Element

AbstractAdapterElement extends the abstract Node type and implements the DOM Element interface.


Field Summary
 
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
 
Constructor Summary
AbstractAdapterElement()
           
 
Method Summary
protected  java.util.Map buildAttributeAdapters()
           
 java.lang.String getAttribute(java.lang.String string)
          No attributes, return empty attributes if asked.
protected  java.util.Map getAttributeAdapters()
           
 org.w3c.dom.Attr getAttributeNode(java.lang.String name)
           
 org.w3c.dom.Attr getAttributeNodeNS(java.lang.String string, java.lang.String string1)
           
 java.lang.String getAttributeNS(java.lang.String string, java.lang.String string1)
           
 java.lang.String getNodeName()
           
 short getNodeType()
           
 org.w3c.dom.TypeInfo getSchemaTypeInfo()
           
 java.lang.String getTagName()
           
 boolean hasAttribute(java.lang.String string)
           
 boolean hasAttributeNS(java.lang.String string, java.lang.String string1)
           
 boolean hasChildNodes()
           
 void removeAttribute(java.lang.String string)
           
 org.w3c.dom.Attr removeAttributeNode(org.w3c.dom.Attr attr)
           
 void removeAttributeNS(java.lang.String string, java.lang.String string1)
           
 void setAttribute(java.lang.String string, java.lang.String string1)
           
 org.w3c.dom.Attr setAttributeNode(org.w3c.dom.Attr attr)
           
 org.w3c.dom.Attr setAttributeNodeNS(org.w3c.dom.Attr attr)
           
 void setAttributeNS(java.lang.String string, java.lang.String string1, java.lang.String string2)
           
 void setIdAttribute(java.lang.String string, boolean b)
           
 void setIdAttributeNode(org.w3c.dom.Attr attr, boolean b)
           
 void setIdAttributeNS(java.lang.String string, java.lang.String string1, boolean b)
           
 
Methods inherited from class org.apache.struts2.views.xslt.AbstractAdapterNode
appendChild, buildChildAdapters, cloneNode, compareDocumentPosition, getAdapterFactory, getAttributes, getBaseURI, getChildAdapters, getChildAfter, getChildBefore, getChildBeforeOrAfter, getChildNodes, getElementsByTagName, getElementsByTagNameNS, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeValue, getOwnerDocument, getParent, getParentNode, getPrefix, getPreviousSibling, getPropertyName, getPropertyValue, getTextContent, getUserData, hasAttributes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, operationNotSupported, removeChild, replaceChild, setAdapterFactory, setContext, setNodeValue, setParent, setPrefix, setPropertyName, setPropertyValue, setTextContent, setUserData, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.w3c.dom.Element
getElementsByTagName, getElementsByTagNameNS
 
Methods inherited from interface org.w3c.dom.Node
appendChild, cloneNode, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasAttributes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData
 

Constructor Detail

AbstractAdapterElement

public AbstractAdapterElement()
Method Detail

setAttribute

public void setAttribute(java.lang.String string,
                         java.lang.String string1)
                  throws org.w3c.dom.DOMException
Specified by:
setAttribute in interface org.w3c.dom.Element
Throws:
org.w3c.dom.DOMException

getAttributeAdapters

protected java.util.Map getAttributeAdapters()

buildAttributeAdapters

protected java.util.Map buildAttributeAdapters()

getAttribute

public java.lang.String getAttribute(java.lang.String string)
No attributes, return empty attributes if asked.

Specified by:
getAttribute in interface org.w3c.dom.Element

setAttributeNS

public void setAttributeNS(java.lang.String string,
                           java.lang.String string1,
                           java.lang.String string2)
                    throws org.w3c.dom.DOMException
Specified by:
setAttributeNS in interface org.w3c.dom.Element
Throws:
org.w3c.dom.DOMException

getAttributeNS

public java.lang.String getAttributeNS(java.lang.String string,
                                       java.lang.String string1)
Specified by:
getAttributeNS in interface org.w3c.dom.Element

setAttributeNode

public org.w3c.dom.Attr setAttributeNode(org.w3c.dom.Attr attr)
                                  throws org.w3c.dom.DOMException
Specified by:
setAttributeNode in interface org.w3c.dom.Element
Throws:
org.w3c.dom.DOMException

getAttributeNode

public org.w3c.dom.Attr getAttributeNode(java.lang.String name)
Specified by:
getAttributeNode in interface org.w3c.dom.Element

setAttributeNodeNS

public org.w3c.dom.Attr setAttributeNodeNS(org.w3c.dom.Attr attr)
                                    throws org.w3c.dom.DOMException
Specified by:
setAttributeNodeNS in interface org.w3c.dom.Element
Throws:
org.w3c.dom.DOMException

getAttributeNodeNS

public org.w3c.dom.Attr getAttributeNodeNS(java.lang.String string,
                                           java.lang.String string1)
Specified by:
getAttributeNodeNS in interface org.w3c.dom.Element

getNodeName

public java.lang.String getNodeName()
Specified by:
getNodeName in interface org.w3c.dom.Node
Overrides:
getNodeName in class AbstractAdapterNode

getNodeType

public short getNodeType()
Specified by:
getNodeType in interface org.w3c.dom.Node
Overrides:
getNodeType in class AbstractAdapterNode

getTagName

public java.lang.String getTagName()
Specified by:
getTagName in interface org.w3c.dom.Element

hasAttribute

public boolean hasAttribute(java.lang.String string)
Specified by:
hasAttribute in interface org.w3c.dom.Element

hasAttributeNS

public boolean hasAttributeNS(java.lang.String string,
                              java.lang.String string1)
Specified by:
hasAttributeNS in interface org.w3c.dom.Element

hasChildNodes

public boolean hasChildNodes()
Specified by:
hasChildNodes in interface org.w3c.dom.Node
Overrides:
hasChildNodes in class AbstractAdapterNode

removeAttribute

public void removeAttribute(java.lang.String string)
                     throws org.w3c.dom.DOMException
Specified by:
removeAttribute in interface org.w3c.dom.Element
Throws:
org.w3c.dom.DOMException

removeAttributeNS

public void removeAttributeNS(java.lang.String string,
                              java.lang.String string1)
                       throws org.w3c.dom.DOMException
Specified by:
removeAttributeNS in interface org.w3c.dom.Element
Throws:
org.w3c.dom.DOMException

removeAttributeNode

public org.w3c.dom.Attr removeAttributeNode(org.w3c.dom.Attr attr)
                                     throws org.w3c.dom.DOMException
Specified by:
removeAttributeNode in interface org.w3c.dom.Element
Throws:
org.w3c.dom.DOMException

setIdAttributeNode

public void setIdAttributeNode(org.w3c.dom.Attr attr,
                               boolean b)
                        throws org.w3c.dom.DOMException
Specified by:
setIdAttributeNode in interface org.w3c.dom.Element
Throws:
org.w3c.dom.DOMException

getSchemaTypeInfo

public org.w3c.dom.TypeInfo getSchemaTypeInfo()
Specified by:
getSchemaTypeInfo in interface org.w3c.dom.Element

setIdAttribute

public void setIdAttribute(java.lang.String string,
                           boolean b)
                    throws org.w3c.dom.DOMException
Specified by:
setIdAttribute in interface org.w3c.dom.Element
Throws:
org.w3c.dom.DOMException

setIdAttributeNS

public void setIdAttributeNS(java.lang.String string,
                             java.lang.String string1,
                             boolean b)
                      throws org.w3c.dom.DOMException
Specified by:
setIdAttributeNS in interface org.w3c.dom.Element
Throws:
org.w3c.dom.DOMException


Copyright © 2000-2011 Apache Software Foundation. All Rights Reserved.