public class Schema extends Object implements XmlProcessor
| Constructor and Description |
|---|
Schema(NiftyResourceLoader resourceLoader) |
| 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 Schema(NiftyResourceLoader resourceLoader)
public void process(XmlParser xmlParser, Attributes attributes) throws Exception
XmlProcessorprocess in interface XmlProcessorxmlParser - XmlParserattributes - attributesException - exceptionpublic boolean isTypeAvailable(String name)
public XmlProcessorType getInstance(String className, Collection<Element> elements, Collection<SubstitutionGroup> substitutionGroups) throws Exception
ExceptionCopyright © 2013. All Rights Reserved.