com.opensymphony.webwork.views.xslt
Class DocumentAdapter
java.lang.Object
com.opensymphony.webwork.views.xslt.DefaultAdapterNode
com.opensymphony.webwork.views.xslt.DocumentAdapter
- All Implemented Interfaces:
- AdapterNode, Document, Node
- public class DocumentAdapter
- extends DefaultAdapterNode
- implements Document
- Author:
- Philipp Meier
Date: 14.10.2003
Time: 17:24:05
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 |
DocumentAdapter
public DocumentAdapter(DOMAdapter rootAdapter,
AdapterNode parent,
String propertyName,
Object value)
getChildNodes
public NodeList getChildNodes()
- Specified by:
getChildNodes
in interface Node
- Overrides:
getChildNodes
in class DefaultAdapterNode
getDoctype
public DocumentType getDoctype()
- Specified by:
getDoctype
in interface Document
getDocumentElement
public Element getDocumentElement()
- Specified by:
getDocumentElement
in interface Document
getElementById
public Element getElementById(String string)
- Specified by:
getElementById
in interface Document
getElementsByTagName
public NodeList getElementsByTagName(String string)
- Specified by:
getElementsByTagName
in interface Document
getElementsByTagNameNS
public NodeList getElementsByTagNameNS(String string,
String string1)
- Specified by:
getElementsByTagNameNS
in interface Document
getFirstChild
public Node getFirstChild()
- Specified by:
getFirstChild
in interface Node
- Overrides:
getFirstChild
in class DefaultAdapterNode
getImplementation
public DOMImplementation getImplementation()
- Specified by:
getImplementation
in interface Document
getLastChild
public Node getLastChild()
- Specified by:
getLastChild
in interface Node
- Overrides:
getLastChild
in class DefaultAdapterNode
getNextSibling
public Node getNextSibling(AdapterNode value)
- 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
createAttribute
public Attr createAttribute(String string)
throws DOMException
- Specified by:
createAttribute
in interface Document
- Throws:
DOMException
createAttributeNS
public Attr createAttributeNS(String string,
String string1)
throws DOMException
- Specified by:
createAttributeNS
in interface Document
- Throws:
DOMException
createCDATASection
public CDATASection createCDATASection(String string)
throws DOMException
- Specified by:
createCDATASection
in interface Document
- Throws:
DOMException
createComment
public Comment createComment(String string)
- Specified by:
createComment
in interface Document
createDocumentFragment
public DocumentFragment createDocumentFragment()
- Specified by:
createDocumentFragment
in interface Document
createElement
public Element createElement(String string)
throws DOMException
- Specified by:
createElement
in interface Document
- Throws:
DOMException
createElementNS
public Element createElementNS(String string,
String string1)
throws DOMException
- Specified by:
createElementNS
in interface Document
- Throws:
DOMException
createEntityReference
public EntityReference createEntityReference(String string)
throws DOMException
- Specified by:
createEntityReference
in interface Document
- Throws:
DOMException
createProcessingInstruction
public ProcessingInstruction createProcessingInstruction(String string,
String string1)
throws DOMException
- Specified by:
createProcessingInstruction
in interface Document
- Throws:
DOMException
createTextNode
public Text createTextNode(String string)
- Specified by:
createTextNode
in interface Document
hasChildNodes
public boolean hasChildNodes()
- Specified by:
hasChildNodes
in interface Node
- Overrides:
hasChildNodes
in class DefaultAdapterNode
importNode
public Node importNode(Node node,
boolean b)
throws DOMException
- Specified by:
importNode
in interface Document
- Throws:
DOMException