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, setEndLocatordetach, getColumnNumber, getData, getLineNumber, getName, getNextSibling, getParentNode, getPreviousSibling, getPublicId, getPublicIdentifier, getSystemId, getSystemIdentifier, getTargetpublic 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 Nodepublic String getLocalName()
getLocalName in class Nodepublic List<PrefixMapping> getPrefixMappings()
getPrefixMappings in class Nodepublic String getQName()
public NodeType getNodeType()
NodegetNodeType in class NodeNode.getNodeType()Copyright © 2017. All rights reserved.