public class ElementImpl extends DefaultElement
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 and 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) |
Modifier and Type | Method and 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) |
getElementsByTagName, getElementsByTagNameNS, getSchemaTypeInfo, removeAttribute, removeAttributeNode, removeAttributeNS, setAttributeNode, setAttributeNodeNS, setAttributeNS, setIdAttribute, setIdAttributeNode, setIdAttributeNS
getLocalName, getNamespaceURI, getNodeName, getNodeType, getPrefix, getReadOnly, setReadOnly
appendChild, cloneNode, compareDocumentPosition, getBaseURI, getChildNodes, getFeature, getNodeValue, getTextContent, getUserData, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
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
public ElementImpl(int line, int column, int offset)
public ElementImpl(int line, int column)
public ElementImpl(String prefix, String localpart, String rawname, String uri, int line, int column, int offset)
public Document getOwnerDocument()
getOwnerDocument
in interface Node
getOwnerDocument
in class DefaultNode
public Node getParentNode()
getParentNode
in interface Node
getParentNode
in class DefaultNode
public boolean hasChildNodes()
hasChildNodes
in interface Node
hasChildNodes
in class DefaultNode
public Node getFirstChild()
getFirstChild
in interface Node
getFirstChild
in class DefaultNode
public Node getLastChild()
getLastChild
in interface Node
getLastChild
in class DefaultNode
public Node getPreviousSibling()
getPreviousSibling
in interface Node
getPreviousSibling
in class DefaultNode
public Node getNextSibling()
getNextSibling
in interface Node
getNextSibling
in class DefaultNode
public NamedNodeMap getAttributes()
getAttributes
in interface Node
getAttributes
in class DefaultNode
public boolean hasAttributes()
hasAttributes
in interface Node
hasAttributes
in class DefaultNode
public String getTagName()
getTagName
in interface Element
getTagName
in class DefaultElement
public String getAttribute(String name)
getAttribute
in interface Element
getAttribute
in class DefaultElement
public Attr getAttributeNode(String name)
getAttributeNode
in interface Element
getAttributeNode
in class DefaultElement
public String getAttributeNS(String namespaceURI, String localName)
getAttributeNS
in interface Element
getAttributeNS
in class DefaultElement
public Attr getAttributeNodeNS(String namespaceURI, String localName)
getAttributeNodeNS
in interface Element
getAttributeNodeNS
in class DefaultElement
public boolean hasAttribute(String name)
hasAttribute
in interface Element
hasAttribute
in class DefaultElement
public boolean hasAttributeNS(String namespaceURI, String localName)
hasAttributeNS
in interface Element
hasAttributeNS
in class DefaultElement
public void setAttribute(String name, String value)
setAttribute
in interface Element
setAttribute
in class DefaultElement
public int getLineNumber()
public int getColumnNumber()
public int getCharacterOffset()
public String getAnnotation()
public String getSyntheticAnnotation()
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.