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 StringgetAnnotation()StringgetAttribute(String name)AttrgetAttributeNode(String name)AttrgetAttributeNodeNS(String namespaceURI, String localName)StringgetAttributeNS(String namespaceURI, String localName)NamedNodeMapgetAttributes()intgetCharacterOffset()Returns the character offset.intgetColumnNumber()Returns the column number.NodegetFirstChild()NodegetLastChild()intgetLineNumber()Returns the line number.NodegetNextSibling()DocumentgetOwnerDocument()NodegetParentNode()NodegetPreviousSibling()StringgetSyntheticAnnotation()StringgetTagName()booleanhasAttribute(String name)booleanhasAttributeNS(String namespaceURI, String localName)booleanhasAttributes()booleanhasChildNodes()voidsetAttribute(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:
getOwnerDocumentin interfaceNode- Overrides:
getOwnerDocumentin classDefaultNode
-
getParentNode
public Node getParentNode()
- Specified by:
getParentNodein interfaceNode- Overrides:
getParentNodein classDefaultNode
-
hasChildNodes
public boolean hasChildNodes()
- Specified by:
hasChildNodesin interfaceNode- Overrides:
hasChildNodesin classDefaultNode
-
getFirstChild
public Node getFirstChild()
- Specified by:
getFirstChildin interfaceNode- Overrides:
getFirstChildin classDefaultNode
-
getLastChild
public Node getLastChild()
- Specified by:
getLastChildin interfaceNode- Overrides:
getLastChildin classDefaultNode
-
getPreviousSibling
public Node getPreviousSibling()
- Specified by:
getPreviousSiblingin interfaceNode- Overrides:
getPreviousSiblingin classDefaultNode
-
getNextSibling
public Node getNextSibling()
- Specified by:
getNextSiblingin interfaceNode- Overrides:
getNextSiblingin classDefaultNode
-
getAttributes
public NamedNodeMap getAttributes()
- Specified by:
getAttributesin interfaceNode- Overrides:
getAttributesin classDefaultNode
-
hasAttributes
public boolean hasAttributes()
- Specified by:
hasAttributesin interfaceNode- Overrides:
hasAttributesin classDefaultNode
-
getTagName
public String getTagName()
- Specified by:
getTagNamein interfaceElement- Overrides:
getTagNamein classDefaultElement
-
getAttribute
public String getAttribute(String name)
- Specified by:
getAttributein interfaceElement- Overrides:
getAttributein classDefaultElement
-
getAttributeNode
public Attr getAttributeNode(String name)
- Specified by:
getAttributeNodein interfaceElement- Overrides:
getAttributeNodein classDefaultElement
-
getAttributeNS
public String getAttributeNS(String namespaceURI, String localName)
- Specified by:
getAttributeNSin interfaceElement- Overrides:
getAttributeNSin classDefaultElement
-
getAttributeNodeNS
public Attr getAttributeNodeNS(String namespaceURI, String localName)
- Specified by:
getAttributeNodeNSin interfaceElement- Overrides:
getAttributeNodeNSin classDefaultElement
-
hasAttribute
public boolean hasAttribute(String name)
- Specified by:
hasAttributein interfaceElement- Overrides:
hasAttributein classDefaultElement
-
hasAttributeNS
public boolean hasAttributeNS(String namespaceURI, String localName)
- Specified by:
hasAttributeNSin interfaceElement- Overrides:
hasAttributeNSin classDefaultElement
-
setAttribute
public void setAttribute(String name, String value)
- Specified by:
setAttributein interfaceElement- Overrides:
setAttributein 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()
-
-