Package nu.validator.saxtree
Class Element
java.lang.Object
nu.validator.saxtree.Node
nu.validator.saxtree.ParentNode
nu.validator.saxtree.Element
An element.
- Version:
- $Id$
- Author:
- hsivonen
-
Field Summary
Fields inherited from class nu.validator.saxtree.ParentNode
endLocator -
Constructor Summary
ConstructorsConstructorDescriptionElement(Locator locator, String uri, String localName, String qName, Attributes atts, boolean retainAttributes, List<PrefixMapping> prefixMappings) The contructor. -
Method Summary
Methods inherited from class nu.validator.saxtree.ParentNode
appendChild, appendChildren, copyEndLocator, getFirstChild, getLastChild, insertBefore, insertBetween, setEndLocatorMethods inherited from class nu.validator.saxtree.Node
detach, getColumnNumber, getData, getEncoding, getLineNumber, getName, getNextSibling, getParentNode, getPreviousSibling, getPublicId, getPublicIdentifier, getSystemId, getSystemIdentifier, getTarget, getXMLVersion
-
Constructor Details
-
Element
public Element(Locator locator, String uri, String localName, String qName, Attributes atts, boolean retainAttributes, List<PrefixMapping> prefixMappings) The contructor.- Parameters:
locator- the locator.uri- the namespace URIlocalName- the local nameqName- the qualified nameatts- the attributesretainAttributes-trueto retain the attributes instead of copyingprefixMappings- the prefix mappings
-
-
Method Details
-
getAttributes
Returns the attributes.- Overrides:
getAttributesin classNode- Returns:
- the attributes
-
getLocalName
Returns the localName.- Overrides:
getLocalNamein classNode- Returns:
- the localName
-
getPrefixMappings
Returns the prefixMappings.- Overrides:
getPrefixMappingsin classNode- Returns:
- the prefixMappings
-
getQName
Returns the qName. -
getUri
Returns the uri. -
getNodeType
Description copied from class:NodeReturn the node type.- Specified by:
getNodeTypein classNode- Returns:
- the node type
- See Also:
-