|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exolab.castor.xml.parsing.AttributeSetBuilder
public class AttributeSetBuilder
A helper class that takes SAX v1 AttributeList or SAX v2 attributes and
converts those into Castor's internal AttributeSet representation.
| Constructor Summary | |
|---|---|
AttributeSetBuilder(NamespaceHandling namespaceHandling)
Creates an instance of this class. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AttributeSetBuilder(NamespaceHandling namespaceHandling)
namespaceHandling - Instance of a tool class to handle XML name spaces.| Method Detail |
|---|
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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||