|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.ispsoft.jaxme.generator.ConfigurableImpl de.ispsoft.jaxme.generator.SchemaReaderImpl
An abstract default implementation for SchemaReaders.
Constructor Summary | |
SchemaReaderImpl()
Creates a new SchemaReaderImpl instance. |
Method Summary | |
Generator |
getGenerator()
Returns the Generator that maintains this SchemaReader, if any, or null. |
abstract Schema |
parse(org.xml.sax.InputSource pSource)
Called for parsing a schema definition from the given InputSource. |
Schema |
parse(java.lang.String pFile)
Called for parsing a schema definition stored in the given file or URL. |
void |
setGenerator(Generator pGenerator)
Sets the Generator that maintains this SchemaReader, if any. |
Methods inherited from class de.ispsoft.jaxme.generator.ConfigurableImpl |
getOption, getOptions, getOptionValue, setOption |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface de.ispsoft.jaxme.generator.Configurable |
getOption, getOptions, getOptionValue, setOption |
Constructor Detail |
public SchemaReaderImpl()
Method Detail |
public Schema parse(java.lang.String pFile) throws java.lang.Exception
Called for parsing a schema definition stored in the
given file or URL. This is done by creating a FileReader
and calling parse(java.io.Reader)
.
parse
in interface SchemaReader
java.lang.Exception
public abstract Schema parse(org.xml.sax.InputSource pSource) throws java.lang.Exception
Called for parsing a schema definition from the given InputSource.
parse
in interface SchemaReader
java.lang.Exception
public void setGenerator(Generator pGenerator)
Sets the Generator that maintains this SchemaReader, if any.
setGenerator
in interface SchemaReader
public Generator getGenerator()
Returns the Generator that maintains this SchemaReader, if any, or null.
getGenerator
in interface SchemaReader
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |