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 org.apache.ws.jaxme.generator.sg.SGFactoryChain to the SGFactory.

GeneratorgetGenerator()

Returns the Generator controlling the SchemaReader.

SGFactorygetSGFactory()

Returns the 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 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 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.