public class JAXBSchemaReader extends SchemaReaderImpl
| Constructor and Description |
|---|
JAXBSchemaReader() |
| Modifier and Type | Method and Description |
|---|---|
void |
addSGFactoryChain(java.lang.Class pChainClass)
Adds an instance of
SGFactoryChain
to the SGFactory. |
SGFactory |
getSGFactory()
Returns the
SGFactory. |
boolean |
isSupportingExtensions()
Returns whether vendor extensions are being supported.
|
protected SGFactoryChain |
newSGFactoryChain(Generator pGenerator) |
SchemaSG |
parse(org.xml.sax.InputSource pSource)
Called for parsing a schema definition from the
given Reader.
|
protected void |
reset()
Resets the schema readers internal state, allowing
to parse multiple schemas with a single instance.
|
void |
setSupportingExtensions(boolean pSupportingExtensions)
Sets whether vendor extensions are being supported.
|
getGenerator, setGeneratorpublic boolean isSupportingExtensions()
public void setSupportingExtensions(boolean pSupportingExtensions)
public void addSGFactoryChain(java.lang.Class pChainClass)
SchemaReaderAdds an instance of SGFactoryChain
to the SGFactory.
protected SGFactoryChain newSGFactoryChain(Generator pGenerator)
public SGFactory getSGFactory() throws org.xml.sax.SAXException
SchemaReaderReturns the SGFactory.
org.xml.sax.SAXExceptionprotected void reset()
public SchemaSG parse(org.xml.sax.InputSource pSource) throws java.lang.Exception
SchemaReaderCalled for parsing a schema definition from the given Reader.
pSource - A SAX Input Source, with the system ID set,
if possiblejava.lang.Exception