de.lessvoid.xml.lwxs
Class Schema
java.lang.Object
de.lessvoid.xml.lwxs.Schema
- All Implemented Interfaces:
- XmlProcessor
public class Schema
- extends Object
- implements XmlProcessor
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Schema
public Schema()
process
public void process(XmlParser xmlParser,
Attributes attributes)
throws Exception
- Description copied from interface:
XmlProcessor
- Process.
- Specified by:
process
in interface XmlProcessor
- Parameters:
xmlParser
- XmlParserattributes
- attributes
- Throws:
Exception
- exception
addType
public void addType(String name,
Type typeParam)
getType
public Type getType(String name)
throws Exception
- Throws:
Exception
isTypeAvailable
public boolean isTypeAvailable(String name)
loadXml
public XmlType loadXml(XmlParser parser)
throws Exception
- Throws:
Exception
getInstance
public XmlProcessorType getInstance(String className,
Collection<Element> elements,
Collection<SubstitutionGroup> substitutionGroups)
throws Exception
- Throws:
Exception
getTypes
public Map<String,Type> getTypes()
Copyright © 2011. All Rights Reserved.