Class ElementImpl
- java.lang.Object
-
- org.smooks.engine.delivery.sax.ng.org.apache.xerces.impl.xs.opti.DefaultNode
-
- org.smooks.engine.delivery.sax.ng.org.apache.xerces.impl.xs.opti.NodeImpl
-
- org.smooks.engine.delivery.sax.ng.org.apache.xerces.impl.xs.opti.DefaultElement
-
- org.smooks.engine.delivery.sax.ng.org.apache.xerces.impl.xs.opti.ElementImpl
-
public class ElementImpl extends DefaultElement
- Version:
- $Id$
- Author:
- Rahul Srivastava, Sun Microsystems Inc., Sandy Gao, IBM
-
-
Field Summary
-
Fields inherited from interface org.w3c.dom.Node
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE
-
-
Constructor Summary
Constructors Constructor Description ElementImpl(int line, int column)
ElementImpl(int line, int column, int offset)
ElementImpl(String prefix, String localpart, String rawname, String uri, int line, int column)
ElementImpl(String prefix, String localpart, String rawname, String uri, int line, int column, int offset)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAnnotation()
String
getAttribute(String name)
Attr
getAttributeNode(String name)
Attr
getAttributeNodeNS(String namespaceURI, String localName)
String
getAttributeNS(String namespaceURI, String localName)
NamedNodeMap
getAttributes()
int
getCharacterOffset()
Returns the character offset.int
getColumnNumber()
Returns the column number.Node
getFirstChild()
Node
getLastChild()
int
getLineNumber()
Returns the line number.Node
getNextSibling()
Document
getOwnerDocument()
Node
getParentNode()
Node
getPreviousSibling()
String
getSyntheticAnnotation()
String
getTagName()
boolean
hasAttribute(String name)
boolean
hasAttributeNS(String namespaceURI, String localName)
boolean
hasAttributes()
boolean
hasChildNodes()
void
setAttribute(String name, String value)
-
Methods inherited from class org.smooks.engine.delivery.sax.ng.org.apache.xerces.impl.xs.opti.DefaultElement
getElementsByTagName, getElementsByTagNameNS, getSchemaTypeInfo, removeAttribute, removeAttributeNode, removeAttributeNS, setAttributeNode, setAttributeNodeNS, setAttributeNS, setIdAttribute, setIdAttributeNode, setIdAttributeNS
-
Methods inherited from class org.smooks.engine.delivery.sax.ng.org.apache.xerces.impl.xs.opti.NodeImpl
getLocalName, getNamespaceURI, getNodeName, getNodeType, getPrefix, getReadOnly, setReadOnly, toString
-
Methods inherited from class org.smooks.engine.delivery.sax.ng.org.apache.xerces.impl.xs.opti.DefaultNode
appendChild, cloneNode, compareDocumentPosition, getBaseURI, getChildNodes, getFeature, getNodeValue, getTextContent, getUserData, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.w3c.dom.Node
appendChild, cloneNode, compareDocumentPosition, getBaseURI, getChildNodes, getFeature, getLocalName, getNamespaceURI, getNodeName, getNodeType, getNodeValue, getPrefix, getTextContent, getUserData, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData
-
-
-
-
Method Detail
-
getOwnerDocument
public Document getOwnerDocument()
- Specified by:
getOwnerDocument
in interfaceNode
- Overrides:
getOwnerDocument
in classDefaultNode
-
getParentNode
public Node getParentNode()
- Specified by:
getParentNode
in interfaceNode
- Overrides:
getParentNode
in classDefaultNode
-
hasChildNodes
public boolean hasChildNodes()
- Specified by:
hasChildNodes
in interfaceNode
- Overrides:
hasChildNodes
in classDefaultNode
-
getFirstChild
public Node getFirstChild()
- Specified by:
getFirstChild
in interfaceNode
- Overrides:
getFirstChild
in classDefaultNode
-
getLastChild
public Node getLastChild()
- Specified by:
getLastChild
in interfaceNode
- Overrides:
getLastChild
in classDefaultNode
-
getPreviousSibling
public Node getPreviousSibling()
- Specified by:
getPreviousSibling
in interfaceNode
- Overrides:
getPreviousSibling
in classDefaultNode
-
getNextSibling
public Node getNextSibling()
- Specified by:
getNextSibling
in interfaceNode
- Overrides:
getNextSibling
in classDefaultNode
-
getAttributes
public NamedNodeMap getAttributes()
- Specified by:
getAttributes
in interfaceNode
- Overrides:
getAttributes
in classDefaultNode
-
hasAttributes
public boolean hasAttributes()
- Specified by:
hasAttributes
in interfaceNode
- Overrides:
hasAttributes
in classDefaultNode
-
getTagName
public String getTagName()
- Specified by:
getTagName
in interfaceElement
- Overrides:
getTagName
in classDefaultElement
-
getAttribute
public String getAttribute(String name)
- Specified by:
getAttribute
in interfaceElement
- Overrides:
getAttribute
in classDefaultElement
-
getAttributeNode
public Attr getAttributeNode(String name)
- Specified by:
getAttributeNode
in interfaceElement
- Overrides:
getAttributeNode
in classDefaultElement
-
getAttributeNS
public String getAttributeNS(String namespaceURI, String localName)
- Specified by:
getAttributeNS
in interfaceElement
- Overrides:
getAttributeNS
in classDefaultElement
-
getAttributeNodeNS
public Attr getAttributeNodeNS(String namespaceURI, String localName)
- Specified by:
getAttributeNodeNS
in interfaceElement
- Overrides:
getAttributeNodeNS
in classDefaultElement
-
hasAttribute
public boolean hasAttribute(String name)
- Specified by:
hasAttribute
in interfaceElement
- Overrides:
hasAttribute
in classDefaultElement
-
hasAttributeNS
public boolean hasAttributeNS(String namespaceURI, String localName)
- Specified by:
hasAttributeNS
in interfaceElement
- Overrides:
hasAttributeNS
in classDefaultElement
-
setAttribute
public void setAttribute(String name, String value)
- Specified by:
setAttribute
in interfaceElement
- Overrides:
setAttribute
in classDefaultElement
-
getLineNumber
public int getLineNumber()
Returns the line number.
-
getColumnNumber
public int getColumnNumber()
Returns the column number.
-
getCharacterOffset
public int getCharacterOffset()
Returns the character offset.
-
getAnnotation
public String getAnnotation()
-
getSyntheticAnnotation
public String getSyntheticAnnotation()
-
-