de.lessvoid.xml.lwxs
Class Schema

java.lang.Object
  extended by de.lessvoid.xml.lwxs.Schema
All Implemented Interfaces:
XmlProcessor

public class Schema
extends Object
implements XmlProcessor


Constructor Summary
Schema(NiftyResourceLoader resourceLoader)
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Schema

public Schema(NiftyResourceLoader resourceLoader)
Method Detail

process

public void process(XmlParser xmlParser,
                    Attributes attributes)
             throws Exception
Description copied from interface: XmlProcessor
Process.

Specified by:
process in interface XmlProcessor
Parameters:
xmlParser - XmlParser
attributes - 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 © 2012. All Rights Reserved.