public class Schema extends Object implements XmlProcessor
Constructor and Description |
---|
Schema() |
Modifier and Type | Method and Description |
---|---|
void |
addType(String name,
Type typeParam) |
XmlProcessorType |
getInstance(String className,
Collection<Element> elements,
Collection<SubstitutionGroup> substitutionGroups) |
Type |
getType(String name) |
Map<String,Type> |
getTypes() |
boolean |
isTypeAvailable(String name) |
XmlType |
loadXml(XmlParser parser) |
void |
process(XmlParser xmlParser,
Attributes attributes)
Process.
|
public void process(XmlParser xmlParser, Attributes attributes) throws Exception
XmlProcessor
process
in interface XmlProcessor
xmlParser
- XmlParserattributes
- attributesException
- exceptionpublic boolean isTypeAvailable(String name)
public XmlProcessorType getInstance(String className, Collection<Element> elements, Collection<SubstitutionGroup> substitutionGroups) throws Exception
Exception
Copyright © 2013. All Rights Reserved.