public class MultiSchemaReader
extends java.lang.Object
Creates a new instance of XMLSchemaReader
, then pass it to the
constructor of this class. Then call the parse method as many times as you want.
Finally, call the finish method.
The parsed grammar can be obtained from the underlying XMLSchemaReader object.
Modifier and Type | Field and Description |
---|---|
private boolean |
finalized |
private XMLSchemaReader |
reader |
Constructor and Description |
---|
MultiSchemaReader(XMLSchemaReader _reader) |
Modifier and Type | Method and Description |
---|---|
void |
finish()
This method should be called when all the schemas are parsed.
|
XMLSchemaReader |
getReader()
Deprecated.
|
XMLSchemaGrammar |
getResult()
Obtains the parsed grammar.
|
void |
parse(org.xml.sax.InputSource is)
Parses an additional schema.
|
void |
parse(javax.xml.transform.Source source)
Parse a schema supplied by a javax.xml.transform Source.
|
void |
parse(java.lang.String source) |
private final XMLSchemaReader reader
private boolean finalized
public MultiSchemaReader(XMLSchemaReader _reader)
public final XMLSchemaReader getReader()
public final XMLSchemaGrammar getResult()
public void parse(javax.xml.transform.Source source)
source
- public final void parse(java.lang.String source)
public void parse(org.xml.sax.InputSource is)
public void finish()