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) intReturns the character offset.intReturns the column number.intReturns the line number.booleanhasAttribute(String name) booleanhasAttributeNS(String namespaceURI, String localName) booleanbooleanvoidsetAttribute(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, setIdAttributeNSMethods inherited from class org.apache.xerces.impl.xs.opti.NodeImpl
getLocalName, getNamespaceURI, getNodeName, getNodeType, getPrefix, getReadOnly, setReadOnly, toStringMethods 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, setUserDataMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods 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:
getOwnerDocumentin interfaceNode- Overrides:
getOwnerDocumentin classDefaultNode
-
getParentNode
- Specified by:
getParentNodein interfaceNode- Overrides:
getParentNodein classDefaultNode
-
hasChildNodes
public boolean hasChildNodes()- Specified by:
hasChildNodesin interfaceNode- Overrides:
hasChildNodesin classDefaultNode
-
getFirstChild
- Specified by:
getFirstChildin interfaceNode- Overrides:
getFirstChildin classDefaultNode
-
getLastChild
- Specified by:
getLastChildin interfaceNode- Overrides:
getLastChildin classDefaultNode
-
getPreviousSibling
- Specified by:
getPreviousSiblingin interfaceNode- Overrides:
getPreviousSiblingin classDefaultNode
-
getNextSibling
- Specified by:
getNextSiblingin interfaceNode- Overrides:
getNextSiblingin classDefaultNode
-
getAttributes
- Specified by:
getAttributesin interfaceNode- Overrides:
getAttributesin classDefaultNode
-
hasAttributes
public boolean hasAttributes()- Specified by:
hasAttributesin interfaceNode- Overrides:
hasAttributesin classDefaultNode
-
getTagName
- Specified by:
getTagNamein interfaceElement- Overrides:
getTagNamein classDefaultElement
-
getAttribute
- Specified by:
getAttributein interfaceElement- Overrides:
getAttributein classDefaultElement
-
getAttributeNode
- Specified by:
getAttributeNodein interfaceElement- Overrides:
getAttributeNodein classDefaultElement
-
getAttributeNS
- Specified by:
getAttributeNSin interfaceElement- Overrides:
getAttributeNSin classDefaultElement
-
getAttributeNodeNS
- Specified by:
getAttributeNodeNSin interfaceElement- Overrides:
getAttributeNodeNSin classDefaultElement
-
hasAttribute
- Specified by:
hasAttributein interfaceElement- Overrides:
hasAttributein classDefaultElement
-
hasAttributeNS
- Specified by:
hasAttributeNSin interfaceElement- Overrides:
hasAttributeNSin classDefaultElement
-
setAttribute
- 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
-
getSyntheticAnnotation
-