Package org.apache.xerces.impl.xs.opti
Class ElementImpl
java.lang.Object
org.apache.xerces.impl.xs.opti.DefaultNode
org.apache.xerces.impl.xs.opti.NodeImpl
org.apache.xerces.impl.xs.opti.DefaultElement
org.apache.xerces.impl.xs.opti.ElementImpl
INTERNAL:
- Usage of this class is not supported. It may be altered or removed at any time.
- Version:
- $Id: ElementImpl.java 779171 2009-05-27 13:42:33Z mrglavas $
- 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
ConstructorsConstructorDescriptionElementImpl
(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
Modifier and TypeMethodDescriptiongetAttribute
(String name) getAttributeNode
(String name) getAttributeNodeNS
(String namespaceURI, String localName) getAttributeNS
(String namespaceURI, String localName) int
Returns the character offset.int
Returns the column number.int
Returns the line number.boolean
hasAttribute
(String name) boolean
hasAttributeNS
(String namespaceURI, String localName) boolean
boolean
void
setAttribute
(String name, String value) Methods inherited from class org.apache.xerces.impl.xs.opti.DefaultElement
getElementsByTagName, getElementsByTagNameNS, getSchemaTypeInfo, removeAttribute, removeAttributeNode, removeAttributeNS, setAttributeNode, setAttributeNodeNS, setAttributeNS, setIdAttribute, setIdAttributeNode, setIdAttributeNS
Methods inherited from class org.apache.xerces.impl.xs.opti.NodeImpl
getLocalName, getNamespaceURI, getNodeName, getNodeType, getPrefix, getReadOnly, setReadOnly, toString
Methods inherited from class 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
-
Constructor Details
-
ElementImpl
public ElementImpl(int line, int column, int offset) -
ElementImpl
public ElementImpl(int line, int column) -
ElementImpl
-
ElementImpl
-
-
Method Details
-
getOwnerDocument
- Specified by:
getOwnerDocument
in interfaceNode
- Overrides:
getOwnerDocument
in classDefaultNode
-
getParentNode
- Specified by:
getParentNode
in interfaceNode
- Overrides:
getParentNode
in classDefaultNode
-
hasChildNodes
public boolean hasChildNodes()- Specified by:
hasChildNodes
in interfaceNode
- Overrides:
hasChildNodes
in classDefaultNode
-
getFirstChild
- Specified by:
getFirstChild
in interfaceNode
- Overrides:
getFirstChild
in classDefaultNode
-
getLastChild
- Specified by:
getLastChild
in interfaceNode
- Overrides:
getLastChild
in classDefaultNode
-
getPreviousSibling
- Specified by:
getPreviousSibling
in interfaceNode
- Overrides:
getPreviousSibling
in classDefaultNode
-
getNextSibling
- Specified by:
getNextSibling
in interfaceNode
- Overrides:
getNextSibling
in classDefaultNode
-
getAttributes
- Specified by:
getAttributes
in interfaceNode
- Overrides:
getAttributes
in classDefaultNode
-
hasAttributes
public boolean hasAttributes()- Specified by:
hasAttributes
in interfaceNode
- Overrides:
hasAttributes
in classDefaultNode
-
getTagName
- Specified by:
getTagName
in interfaceElement
- Overrides:
getTagName
in classDefaultElement
-
getAttribute
- Specified by:
getAttribute
in interfaceElement
- Overrides:
getAttribute
in classDefaultElement
-
getAttributeNode
- Specified by:
getAttributeNode
in interfaceElement
- Overrides:
getAttributeNode
in classDefaultElement
-
getAttributeNS
- Specified by:
getAttributeNS
in interfaceElement
- Overrides:
getAttributeNS
in classDefaultElement
-
getAttributeNodeNS
- Specified by:
getAttributeNodeNS
in interfaceElement
- Overrides:
getAttributeNodeNS
in classDefaultElement
-
hasAttribute
- Specified by:
hasAttribute
in interfaceElement
- Overrides:
hasAttribute
in classDefaultElement
-
hasAttributeNS
- Specified by:
hasAttributeNS
in interfaceElement
- Overrides:
hasAttributeNS
in classDefaultElement
-
setAttribute
- 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
-
getSyntheticAnnotation
-