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


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()
           
 String getNamespaceURI()
           
 String getNodeName()
           
 short getNodeType()
           
 String getPrefix()
           
 String getTagName()
           
 boolean hasAttributes()
           
 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 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 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 String getNamespaceURI()
Specified by:
getNamespaceURI in interface Node
Overrides:
getNamespaceURI in class NodeImpl

toString

public String toString()
Overrides:
toString in class Object

getPrefix

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


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