public interface SchemaReader
A SchemaReader is responsible for reading a schema definition.
Modifier and Type | Method and Description |
---|---|
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.
|
Generator getGenerator()
Returns the Generator controlling the SchemaReader.
void setGenerator(Generator pGenerator)
Sets the Generator controlling the SchemaReader.
void addSGFactoryChain(java.lang.Class pClass)
Adds an instance of SGFactoryChain
to the SGFactory.
SGFactory getSGFactory() throws org.xml.sax.SAXException
Returns the SGFactory
.
org.xml.sax.SAXException
SchemaSG parse(org.xml.sax.InputSource pSource) throws java.lang.Exception
Called for parsing a schema definition from the given Reader.
pSource
- A SAX Input Source, with the system ID set,
if possiblejava.lang.Exception