public class SchemaFromXmlBuilder
extends java.lang.Object
SchemaFromXmlBuilder -> parse(InputStream xmlStream)
Desc :
1. Takes in an xml as inputstream and parses it using saxparser provided by xdk.
2. The sax parser notifies XmlContentListener about the type of data it
encounters (elements, attributes, text data etc)
3. XmlContentListener converts this data into schema type information in memory.
SchemaFromXmlBuilder -> buildSchema()
Desc :
1. This method builds the schema file from the gathered information. This
should be called after the parse happens.