org.apache.ws.jaxme.generator
Interface SchemaReader

All Known Implementing Classes:
JAXBSchemaReader, JaxMeSchemaReader, SchemaReaderImpl

public interface SchemaReader

A SchemaReader is responsible for reading a schema definition.

Author:
Jochen Wiedmann

Method Summary
 void addSGFactoryChain(java.lang.Class pClass)
          Adds an instance of SGFactoryChain to the SGFactory.
 Generator getGenerator()
          Returns the Generator controlling the SchemaReader.
 SGFactory getSGFactory()
          Returns the SGFactory.
 SchemaSG parse(org.xml.sax.InputSource pSource)
          Called for parsing a schema definition from the given Reader.
 void setGenerator(Generator pGenerator)
          Sets the Generator controlling the SchemaReader.
 

Method Detail

getGenerator

Generator getGenerator()

Returns the Generator controlling the SchemaReader.


setGenerator

void setGenerator(Generator pGenerator)

Sets the Generator controlling the SchemaReader.


addSGFactoryChain

void addSGFactoryChain(java.lang.Class pClass)

Adds an instance of SGFactoryChain to the SGFactory.


getSGFactory

SGFactory getSGFactory()
                       throws org.xml.sax.SAXException

Returns the SGFactory.

Throws:
org.xml.sax.SAXException

parse

SchemaSG parse(org.xml.sax.InputSource pSource)
               throws java.lang.Exception

Called for parsing a schema definition from the given Reader.

Parameters:
pSource - A SAX Input Source, with the system ID set, if possible
Throws:
java.lang.Exception