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, setIdAttributeNSgetLocalName, getNamespaceURI, getNodeName, getNodeType, getPrefix, getReadOnly, setReadOnlyappendChild, cloneNode, compareDocumentPosition, getBaseURI, getChildNodes, getFeature, getNodeValue, getTextContent, getUserData, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserDataclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitappendChild, 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, setUserDatapublic 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 NodegetOwnerDocument in class DefaultNodepublic Node getParentNode()
getParentNode in interface NodegetParentNode in class DefaultNodepublic boolean hasChildNodes()
hasChildNodes in interface NodehasChildNodes in class DefaultNodepublic Node getFirstChild()
getFirstChild in interface NodegetFirstChild in class DefaultNodepublic Node getLastChild()
getLastChild in interface NodegetLastChild in class DefaultNodepublic Node getPreviousSibling()
getPreviousSibling in interface NodegetPreviousSibling in class DefaultNodepublic Node getNextSibling()
getNextSibling in interface NodegetNextSibling in class DefaultNodepublic NamedNodeMap getAttributes()
getAttributes in interface NodegetAttributes in class DefaultNodepublic boolean hasAttributes()
hasAttributes in interface NodehasAttributes in class DefaultNodepublic String getTagName()
getTagName in interface ElementgetTagName in class DefaultElementpublic String getAttribute(String name)
getAttribute in interface ElementgetAttribute in class DefaultElementpublic Attr getAttributeNode(String name)
getAttributeNode in interface ElementgetAttributeNode in class DefaultElementpublic String getAttributeNS(String namespaceURI, String localName)
getAttributeNS in interface ElementgetAttributeNS in class DefaultElementpublic Attr getAttributeNodeNS(String namespaceURI, String localName)
getAttributeNodeNS in interface ElementgetAttributeNodeNS in class DefaultElementpublic boolean hasAttribute(String name)
hasAttribute in interface ElementhasAttribute in class DefaultElementpublic boolean hasAttributeNS(String namespaceURI, String localName)
hasAttributeNS in interface ElementhasAttributeNS in class DefaultElementpublic void setAttribute(String name, String value)
setAttribute in interface ElementsetAttribute in class DefaultElementpublic int getLineNumber()
public int getColumnNumber()
public int getCharacterOffset()
public String getAnnotation()
public String getSyntheticAnnotation()
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.