org.apache.ws.jaxme.generator

Interface SchemaReader

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(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(InputSource pSource)
Called for parsing a schema definition from the given Reader.
void
setGenerator(Generator pGenerator)
Sets the Generator controlling the SchemaReader.

Method Details

addSGFactoryChain

public void addSGFactoryChain(Class pClass)

getGenerator

public Generator getGenerator()
Returns the Generator controlling the SchemaReader.

getSGFactory

public SGFactory getSGFactory()
            throws SAXException
Returns the SGFactory.

parse

public SchemaSG parse(InputSource pSource)
            throws Exception
Called for parsing a schema definition from the given Reader.
Parameters:
pSource - A SAX Input Source, with the system ID set, if possible

setGenerator

public void setGenerator(Generator pGenerator)
Sets the Generator controlling the SchemaReader.