com.opensymphony.webwork.views.xslt
Class DefaultAdapterNode

java.lang.Object
  extended bycom.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

Field Summary
 
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
 
Constructor Summary
DefaultAdapterNode(DOMAdapter rootAdapter, AdapterNode parent, String propertyName, Object value)
           
 
Method Summary
 Node appendChild(Node node)
           
 Node cloneNode(boolean b)
           
 boolean equals(Object other)
           
 NamedNodeMap getAttributes()
           
 NodeList getChildNodes()
           
 Node getFirstChild()
           
 Node getLastChild()
           
 String getLocalName()
           
 String getNamespaceURI()
           
 Node getNextSibling()
           
 Node getNextSibling(AdapterNode child)
           
 String getNodeValue()
           
 Document getOwnerDocument()
           
 AdapterNode getParentAdapterNode()
           
 Node getParentNode()
           
 String getPrefix()
           
 Node getPreviousSibling()
           
 String getPropertyName()
           
 DOMAdapter getRootAdapter()
           
 Object getValue()
           
 boolean hasAttributes()
           
 boolean hasChildNodes()
           
 int hashCode()
           
 Node insertBefore(Node node, Node node1)
           
 boolean isSupported(String string, String string1)
           
 void normalize()
           
protected  void operationNotSupported()
           
 Node removeChild(Node node)
           
 Node replaceChild(Node node, Node node1)
           
 void setNodeValue(String string)
           
 void setPrefix(String string)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.w3c.dom.Node
getNodeName, getNodeType
 

Constructor Detail

DefaultAdapterNode

public DefaultAdapterNode(DOMAdapter rootAdapter,
                          AdapterNode parent,
                          String propertyName,
                          Object value)
Method Detail

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()

WebWork Project Page