org.apache.axiom.c14n.omwrapper
Class ElementImpl

java.lang.Object
  extended by org.apache.axiom.c14n.omwrapper.NodeImpl
      extended by org.apache.axiom.c14n.omwrapper.ElementImpl
All Implemented Interfaces:
Element, Node

public class ElementImpl
extends NodeImpl
implements Element

Author:
Saliya Ekanayake (esaliya@gmail.com)

Field Summary
 
Fields inherited from class org.apache.axiom.c14n.omwrapper.NodeImpl
fac, next, node, prev
 
Fields inherited from interface org.apache.axiom.c14n.omwrapper.interfaces.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
ElementImpl(OMElement e, WrapperFactory fac)
           
 
Method Summary
 NamedNodeMap getAttributes()
           
 NodeList getChildNodes()
           
 Node getFirstChild()
           
 java.lang.String getNamespaceURI()
           
 java.lang.String getNodeName()
           
 short getNodeType()
           
 java.lang.String getPrefix()
           
 java.lang.String getTagName()
           
 boolean hasAttributes()
           
 java.lang.String toString()
           
 
Methods inherited from class org.apache.axiom.c14n.omwrapper.NodeImpl
getNextSibling, getNodeValue, getParentNode, getPreviousSibling
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.apache.axiom.c14n.omwrapper.interfaces.Node
getNextSibling, getNodeValue, getParentNode, getPreviousSibling
 

Constructor Detail

ElementImpl

public ElementImpl(OMElement e,
                   WrapperFactory fac)
Method Detail

getTagName

public java.lang.String getTagName()
Specified by:
getTagName in interface Element

getAttributes

public NamedNodeMap getAttributes()
Specified by:
getAttributes in interface Element

getNodeType

public short getNodeType()
Specified by:
getNodeType in interface Node
Overrides:
getNodeType in class NodeImpl

hasAttributes

public boolean hasAttributes()
Specified by:
hasAttributes in interface Element

getNodeName

public java.lang.String getNodeName()
Specified by:
getNodeName in interface Node
Overrides:
getNodeName in class NodeImpl

getFirstChild

public Node getFirstChild()
Specified by:
getFirstChild in interface Node
Overrides:
getFirstChild in class NodeImpl

getChildNodes

public NodeList getChildNodes()
Specified by:
getChildNodes in interface Node
Overrides:
getChildNodes in class NodeImpl

getNamespaceURI

public java.lang.String getNamespaceURI()
Specified by:
getNamespaceURI in interface Node
Overrides:
getNamespaceURI in class NodeImpl

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getPrefix

public java.lang.String getPrefix()
Specified by:
getPrefix in interface Node
Overrides:
getPrefix in class NodeImpl


Copyright © 2004-2009 The Apache Software Foundation. All Rights Reserved.