public class AttributeSetBuilder extends Object
AttributeSet
representation.Constructor and Description |
---|
AttributeSetBuilder(NamespaceHandling namespaceHandling)
Creates an instance of this class.
|
Modifier and Type | Method and Description |
---|---|
AttributeSet |
getAttributeSet(AttributeList atts)
Processes the attributes and XML name space declarations found in the SAX
v1
AttributeList . |
AttributeSet |
getAttributeSet(Attributes atts)
Processes the attributes and XML name space declarations found in the
given
Attributes instance. |
public AttributeSetBuilder(NamespaceHandling namespaceHandling)
namespaceHandling
- Instance of a tool class to handle XML name spaces.public AttributeSet getAttributeSet(Attributes atts) throws SAXException
Attributes
instance. XML namespace declarations are added
to the set of name spaces in scope.SAXException
- If a name space associated with the prefix could not be
resolved.public AttributeSet getAttributeSet(AttributeList atts) throws SAXException
AttributeList
. XML name space declarations are added to the
set of XML name spaces in scope.SAXException
- If the XML name space associated with the prefix could not be
resolved.Copyright © 2019. All rights reserved.