com.sun.msv.reader.xmlschema
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.
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(java.lang.String source) |
public MultiSchemaReader(XMLSchemaReader _reader)
public final XMLSchemaReader getReader()
public final XMLSchemaGrammar getResult()
public final void parse(java.lang.String source)
public void parse(org.xml.sax.InputSource is)
public void finish()