org.apache.ws.jaxme.generator

Interface SchemaReader

public interface SchemaReader

A SchemaReader is responsible for reading a schema definition.

Author: Jochen Wiedmann

Method Summary
voidaddSGFactoryChain(Class pClass)

Adds an instance of {@link org.apache.ws.jaxme.generator.sg.SGFactoryChain} to the SGFactory.

GeneratorgetGenerator()

Returns the Generator controlling the SchemaReader.

SGFactorygetSGFactory()

Returns the {@link SGFactory}.

SchemaSGparse(InputSource pSource)

Called for parsing a schema definition from the given Reader.

voidsetGenerator(Generator pGenerator)

Sets the Generator controlling the SchemaReader.

Method Detail

addSGFactoryChain

public void addSGFactoryChain(Class pClass)

Adds an instance of {@link org.apache.ws.jaxme.generator.sg.SGFactoryChain} to the SGFactory.

getGenerator

public Generator getGenerator()

Returns the Generator controlling the SchemaReader.

getSGFactory

public SGFactory getSGFactory()

Returns the {@link SGFactory}.

parse

public SchemaSG parse(InputSource pSource)

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.