com.opensymphony.webwork.views.xslt
Class DefaultElementAdapter
java.lang.Object
com.opensymphony.webwork.views.xslt.DefaultAdapterNode
com.opensymphony.webwork.views.xslt.DefaultElementAdapter
- All Implemented Interfaces:
- AdapterNode, Element, Node
- Direct Known Subclasses:
- ArrayAdapter, BeanAdapter, CollectionAdapter, ToStringAdapter
- public abstract class DefaultElementAdapter
- extends DefaultAdapterNode
- implements AdapterNode, Element
- Author:
- Philipp Meier
Date: 14.10.2003
Time: 19:01:02
Fields inherited from interface org.w3c.dom.Node |
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE |
Methods inherited from class com.opensymphony.webwork.views.xslt.DefaultAdapterNode |
appendChild, cloneNode, equals, getAttributes, getLocalName, getNamespaceURI, getNextSibling, getNodeValue, getOwnerDocument, getParentAdapterNode, getParentNode, getPrefix, getPreviousSibling, getPropertyName, getRootAdapter, getValue, hasAttributes, hashCode, insertBefore, isSupported, normalize, operationNotSupported, removeChild, replaceChild, setNodeValue, setPrefix |
Methods inherited from interface org.w3c.dom.Node |
appendChild, cloneNode, getAttributes, getLocalName, getNamespaceURI, getNextSibling, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, hasAttributes, insertBefore, isSupported, normalize, removeChild, replaceChild, setNodeValue, setPrefix |
DefaultElementAdapter
public DefaultElementAdapter(DOMAdapter rootAdapter,
AdapterNode parent,
String propertyName,
Object value)
setAttribute
public void setAttribute(String string,
String string1)
throws DOMException
- ***********************************************************************************
Not supported below
************************************************************************************
- Specified by:
setAttribute
in interface Element
- Throws:
DOMException
getAttribute
public String getAttribute(String string)
- ***********************************************************************************
No attributes, return empty attributes if asked.
************************************************************************************
- Specified by:
getAttribute
in interface Element
setAttributeNS
public void setAttributeNS(String string,
String string1,
String string2)
throws DOMException
- Specified by:
setAttributeNS
in interface Element
- Throws:
DOMException
getAttributeNS
public String getAttributeNS(String string,
String string1)
- Specified by:
getAttributeNS
in interface Element
setAttributeNode
public Attr setAttributeNode(Attr attr)
throws DOMException
- Specified by:
setAttributeNode
in interface Element
- Throws:
DOMException
getAttributeNode
public Attr getAttributeNode(String string)
- Specified by:
getAttributeNode
in interface Element
setAttributeNodeNS
public Attr setAttributeNodeNS(Attr attr)
throws DOMException
- Specified by:
setAttributeNodeNS
in interface Element
- Throws:
DOMException
getAttributeNodeNS
public Attr getAttributeNodeNS(String string,
String string1)
- Specified by:
getAttributeNodeNS
in interface Element
getChildNodes
public NodeList getChildNodes()
- Specified by:
getChildNodes
in interface Node
- Overrides:
getChildNodes
in class DefaultAdapterNode
getElementsByTagName
public NodeList getElementsByTagName(String tagName)
- Specified by:
getElementsByTagName
in interface Element
getElementsByTagNameNS
public NodeList getElementsByTagNameNS(String string,
String string1)
- Specified by:
getElementsByTagNameNS
in interface Element
getFirstChild
public Node getFirstChild()
- Specified by:
getFirstChild
in interface Node
- Overrides:
getFirstChild
in class DefaultAdapterNode
getLastChild
public Node getLastChild()
- Specified by:
getLastChild
in interface Node
- Overrides:
getLastChild
in class DefaultAdapterNode
getNextSibling
public Node getNextSibling(AdapterNode child)
- Specified by:
getNextSibling
in interface AdapterNode
- Overrides:
getNextSibling
in class DefaultAdapterNode
getNodeName
public String getNodeName()
- Specified by:
getNodeName
in interface Node
getNodeType
public short getNodeType()
- Specified by:
getNodeType
in interface Node
getTagName
public String getTagName()
- Specified by:
getTagName
in interface Element
hasAttribute
public boolean hasAttribute(String string)
- Specified by:
hasAttribute
in interface Element
hasAttributeNS
public boolean hasAttributeNS(String string,
String string1)
- Specified by:
hasAttributeNS
in interface Element
hasChildNodes
public boolean hasChildNodes()
- Specified by:
hasChildNodes
in interface Node
- Overrides:
hasChildNodes
in class DefaultAdapterNode
removeAttribute
public void removeAttribute(String string)
throws DOMException
- Specified by:
removeAttribute
in interface Element
- Throws:
DOMException
removeAttributeNS
public void removeAttributeNS(String string,
String string1)
throws DOMException
- Specified by:
removeAttributeNS
in interface Element
- Throws:
DOMException
removeAttributeNode
public Attr removeAttributeNode(Attr attr)
throws DOMException
- Specified by:
removeAttributeNode
in interface Element
- Throws:
DOMException
getAdapters
protected List getAdapters()
buildChildrenAdapters
protected abstract List buildChildrenAdapters()
initChildrenIfNessecary
protected void initChildrenIfNessecary()