public final class Element extends ParentNode
endLocator
Constructor and Description |
---|
Element(Locator locator,
String uri,
String localName,
String qName,
Attributes atts,
boolean retainAttributes,
List<PrefixMapping> prefixMappings)
The contructor.
|
Modifier and Type | Method and Description |
---|---|
Attributes |
getAttributes()
Returns the attributes.
|
String |
getLocalName()
Returns the localName.
|
NodeType |
getNodeType()
Return the node type.
|
List<PrefixMapping> |
getPrefixMappings()
Returns the prefixMappings.
|
String |
getQName()
Returns the qName.
|
String |
getUri()
Returns the uri.
|
appendChild, appendChildren, copyEndLocator, getFirstChild, getLastChild, insertBefore, insertBetween, setEndLocator
detach, getColumnNumber, getData, getLineNumber, getName, getNextSibling, getParentNode, getPreviousSibling, getPublicId, getPublicIdentifier, getSystemId, getSystemIdentifier, getTarget
public Element(Locator locator, String uri, String localName, String qName, Attributes atts, boolean retainAttributes, List<PrefixMapping> prefixMappings)
locator
- the locator.uri
- the namespace URIlocalName
- the local nameqName
- the qualified nameatts
- the attributesretainAttributes
- true
to retain the attributes instead of copyingprefixMappings
- the prefix mappingspublic Attributes getAttributes()
getAttributes
in class Node
public String getLocalName()
getLocalName
in class Node
public List<PrefixMapping> getPrefixMappings()
getPrefixMappings
in class Node
public String getQName()
public NodeType getNodeType()
Node
getNodeType
in class Node
Node.getNodeType()
Copyright © 2017. All rights reserved.