com.opensymphony.webwork.views.xslt
Class DefaultAdapterNode
java.lang.Object
com.opensymphony.webwork.views.xslt.DefaultAdapterNode
- All Implemented Interfaces:
- AdapterNode, Node
- Direct Known Subclasses:
- DefaultElementAdapter, DocumentAdapter, SimpleTextNode
- public abstract class DefaultAdapterNode
- extends Object
- implements Node, AdapterNode
- Author:
- Philipp Meier
Date: 10.10.2003
Time: 19:46:43
| 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 |
DefaultAdapterNode
public DefaultAdapterNode(DOMAdapter rootAdapter,
AdapterNode parent,
String propertyName,
Object value)
getAttributes
public NamedNodeMap getAttributes()
- Specified by:
getAttributes in interface Node
getChildNodes
public NodeList getChildNodes()
- Specified by:
getChildNodes in interface Node
getFirstChild
public Node getFirstChild()
- Specified by:
getFirstChild in interface Node
getLastChild
public Node getLastChild()
- Specified by:
getLastChild in interface Node
getLocalName
public String getLocalName()
- Specified by:
getLocalName in interface Node
getNamespaceURI
public String getNamespaceURI()
- Specified by:
getNamespaceURI in interface Node
getNextSibling
public Node getNextSibling()
- Specified by:
getNextSibling in interface Node
getNextSibling
public Node getNextSibling(AdapterNode child)
- Specified by:
getNextSibling in interface AdapterNode
setNodeValue
public void setNodeValue(String string)
throws DOMException
- Specified by:
setNodeValue in interface Node
- Throws:
DOMException
getNodeValue
public String getNodeValue()
throws DOMException
- Specified by:
getNodeValue in interface Node
- Throws:
DOMException
getOwnerDocument
public Document getOwnerDocument()
- Specified by:
getOwnerDocument in interface Node
getParentAdapterNode
public AdapterNode getParentAdapterNode()
- Specified by:
getParentAdapterNode in interface AdapterNode
getParentNode
public Node getParentNode()
- Specified by:
getParentNode in interface Node
setPrefix
public void setPrefix(String string)
throws DOMException
- Specified by:
setPrefix in interface Node
- Throws:
DOMException
getPrefix
public String getPrefix()
- Specified by:
getPrefix in interface Node
getPreviousSibling
public Node getPreviousSibling()
- Specified by:
getPreviousSibling in interface Node
getPropertyName
public String getPropertyName()
- Specified by:
getPropertyName in interface AdapterNode
getRootAdapter
public DOMAdapter getRootAdapter()
- Specified by:
getRootAdapter in interface AdapterNode
isSupported
public boolean isSupported(String string,
String string1)
- Specified by:
isSupported in interface Node
getValue
public Object getValue()
- Specified by:
getValue in interface AdapterNode
appendChild
public Node appendChild(Node node)
throws DOMException
- Specified by:
appendChild in interface Node
- Throws:
DOMException
cloneNode
public Node cloneNode(boolean b)
- Specified by:
cloneNode in interface Node
equals
public boolean equals(Object other)
hasAttributes
public boolean hasAttributes()
- Specified by:
hasAttributes in interface Node
hasChildNodes
public boolean hasChildNodes()
- Specified by:
hasChildNodes in interface Node
hashCode
public int hashCode()
insertBefore
public Node insertBefore(Node node,
Node node1)
throws DOMException
- Specified by:
insertBefore in interface Node
- Throws:
DOMException
normalize
public void normalize()
- Specified by:
normalize in interface Node
removeChild
public Node removeChild(Node node)
throws DOMException
- Specified by:
removeChild in interface Node
- Throws:
DOMException
replaceChild
public Node replaceChild(Node node,
Node node1)
throws DOMException
- Specified by:
replaceChild in interface Node
- Throws:
DOMException
operationNotSupported
protected void operationNotSupported()