org.apache.cocoon.components.jxdom
Class DocumentAdapter.ElementAdapter.AttrAdapter

java.lang.Object
  extended byorg.apache.cocoon.components.jxdom.DocumentAdapter.NodeAdapter
      extended byorg.apache.cocoon.components.jxdom.DocumentAdapter.ElementAdapter.AttrAdapter
All Implemented Interfaces:
Attr, Node
Enclosing class:
DocumentAdapter.ElementAdapter

public class DocumentAdapter.ElementAdapter.AttrAdapter
extends DocumentAdapter.NodeAdapter
implements Attr


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
 
Method Summary
 short compareDocumentPosition(Node other)
           
 String getBaseURI()
           
 Object getFeature(String feature, String version)
           
 String getName()
           
 String getNodeName()
           
 short getNodeType()
           
 String getNodeValue()
           
 Element getOwnerElement()
           
 TypeInfo getSchemaTypeInfo()
           
 boolean getSpecified()
           
 String getTextContent()
           
 Object getUserData(String key)
           
 String getValue()
           
 boolean isDefaultNamespace(String namespaceURI)
           
 boolean isEqualNode(Node arg)
           
 boolean isId()
           
 boolean isSameNode(Node other)
           
 String lookupNamespaceURI(String prefix)
           
 String lookupPrefix(String namespaceURI)
           
 void setTextContent(String textContent)
           
 Object setUserData(String key, Object value, UserDataHandler handler)
           
 void setValue(String value)
           
 
Methods inherited from class org.apache.cocoon.components.jxdom.DocumentAdapter.NodeAdapter
appendChild, cloneNode, getAttributes, getChildNodes, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, hasAttributes, hasChildNodes, insertBefore, isSupported, normalize, removeChild, replaceChild, setNodeValue, setPrefix, unwrap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.w3c.dom.Node
appendChild, cloneNode, getAttributes, getChildNodes, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, hasAttributes, hasChildNodes, insertBefore, isSupported, normalize, removeChild, replaceChild, setNodeValue, setPrefix
 

Method Detail

getNodeType

public short getNodeType()
Specified by:
getNodeType in interface Node
Specified by:
getNodeType in class DocumentAdapter.NodeAdapter

getNodeName

public String getNodeName()
Specified by:
getNodeName in interface Node
Specified by:
getNodeName in class DocumentAdapter.NodeAdapter

getNodeValue

public String getNodeValue()
Specified by:
getNodeValue in interface Node
Overrides:
getNodeValue in class DocumentAdapter.NodeAdapter

getName

public String getName()
Specified by:
getName in interface Attr

getSpecified

public boolean getSpecified()
Specified by:
getSpecified in interface Attr

getValue

public String getValue()
Specified by:
getValue in interface Attr

setValue

public void setValue(String value)
              throws DOMException
Specified by:
setValue in interface Attr
Throws:
DOMException

getOwnerElement

public Element getOwnerElement()
Specified by:
getOwnerElement in interface Attr

getUserData

public Object getUserData(String key)
Since:
DOM Level 3

setUserData

public Object setUserData(String key,
                          Object value,
                          UserDataHandler handler)
Since:
DOM Level 3

getFeature

public Object getFeature(String feature,
                         String version)
Since:
DOM Level 3

compareDocumentPosition

public short compareDocumentPosition(Node other)
                              throws DOMException
Throws:
DOMException
Since:
DOM Level 3

getBaseURI

public String getBaseURI()
Since:
DOM Level 3

getTextContent

public String getTextContent()
                      throws DOMException
Throws:
DOMException
Since:
DOM Level 3

isDefaultNamespace

public boolean isDefaultNamespace(String namespaceURI)
Since:
DOM Level 3

isEqualNode

public boolean isEqualNode(Node arg)
Since:
DOM Level 3

isSameNode

public boolean isSameNode(Node other)
Since:
DOM Level 3

lookupNamespaceURI

public String lookupNamespaceURI(String prefix)
Since:
DOM Level 3

lookupPrefix

public String lookupPrefix(String namespaceURI)
Since:
DOM Level 3

setTextContent

public void setTextContent(String textContent)
                    throws DOMException
Throws:
DOMException
Since:
DOM Level 3

getSchemaTypeInfo

public TypeInfo getSchemaTypeInfo()
Since:
DOM Level 3

isId

public boolean isId()
Since:
DOM Level 3


Copyright ? 1999-2005 The Apache Software Foundation. All Rights Reserved.