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
- All Implemented Interfaces:
- Element, Node
public class ElementImpl
- extends DefaultElement
- Version:
- $Id: ElementImpl.java 779171 2009-05-27 13:42:33Z mrglavas $
- Author:
- Rahul Srivastava, Sun Microsystems Inc., Sandy Gao, IBM
| 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 |
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)
|
| 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.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 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 |
ElementImpl
public ElementImpl(int line,
int column,
int offset)
ElementImpl
public ElementImpl(int line,
int column)
ElementImpl
public ElementImpl(String prefix,
String localpart,
String rawname,
String uri,
int line,
int column,
int offset)
ElementImpl
public ElementImpl(String prefix,
String localpart,
String rawname,
String uri,
int line,
int column)
getOwnerDocument
public Document getOwnerDocument()
- Specified by:
getOwnerDocument in interface Node- Overrides:
getOwnerDocument in class DefaultNode
getParentNode
public Node getParentNode()
- Specified by:
getParentNode in interface Node- Overrides:
getParentNode in class DefaultNode
hasChildNodes
public boolean hasChildNodes()
- Specified by:
hasChildNodes in interface Node- Overrides:
hasChildNodes in class DefaultNode
getFirstChild
public Node getFirstChild()
- Specified by:
getFirstChild in interface Node- Overrides:
getFirstChild in class DefaultNode
getLastChild
public Node getLastChild()
- Specified by:
getLastChild in interface Node- Overrides:
getLastChild in class DefaultNode
getPreviousSibling
public Node getPreviousSibling()
- Specified by:
getPreviousSibling in interface Node- Overrides:
getPreviousSibling in class DefaultNode
getNextSibling
public Node getNextSibling()
- Specified by:
getNextSibling in interface Node- Overrides:
getNextSibling in class DefaultNode
getAttributes
public NamedNodeMap getAttributes()
- Specified by:
getAttributes in interface Node- Overrides:
getAttributes in class DefaultNode
hasAttributes
public boolean hasAttributes()
- Specified by:
hasAttributes in interface Node- Overrides:
hasAttributes in class DefaultNode
getTagName
public String getTagName()
- Specified by:
getTagName in interface Element- Overrides:
getTagName in class DefaultElement
getAttribute
public String getAttribute(String name)
- Specified by:
getAttribute in interface Element- Overrides:
getAttribute in class DefaultElement
getAttributeNode
public Attr getAttributeNode(String name)
- Specified by:
getAttributeNode in interface Element- Overrides:
getAttributeNode in class DefaultElement
getAttributeNS
public String getAttributeNS(String namespaceURI,
String localName)
- Specified by:
getAttributeNS in interface Element- Overrides:
getAttributeNS in class DefaultElement
getAttributeNodeNS
public Attr getAttributeNodeNS(String namespaceURI,
String localName)
- Specified by:
getAttributeNodeNS in interface Element- Overrides:
getAttributeNodeNS in class DefaultElement
hasAttribute
public boolean hasAttribute(String name)
- Specified by:
hasAttribute in interface Element- Overrides:
hasAttribute in class DefaultElement
hasAttributeNS
public boolean hasAttributeNS(String namespaceURI,
String localName)
- Specified by:
hasAttributeNS in interface Element- Overrides:
hasAttributeNS in class DefaultElement
setAttribute
public void setAttribute(String name,
String value)
- Specified by:
setAttribute in interface Element- Overrides:
setAttribute in class DefaultElement
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()
Copyright © 2011. All Rights Reserved.