|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.msv.reader.xmlschema.MultiSchemaReader
public class MultiSchemaReader
An utility class that reads multiple XML Schema documents and combines them into one schema 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 Summary | |
---|---|
MultiSchemaReader(XMLSchemaReader _reader)
|
Method Summary | |
---|---|
void |
finish()
This method should be called when all the schemas are parsed. |
XMLSchemaReader |
getReader()
Deprecated. |
XMLSchemaGrammar |
getResult()
Obtains the parsed grammar. |
void |
parse(InputSource is)
Parses an additional schema. |
void |
parse(String source)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MultiSchemaReader(XMLSchemaReader _reader)
Method Detail |
---|
public final XMLSchemaReader getReader()
public final XMLSchemaGrammar getResult()
public final void parse(String source)
public void parse(InputSource is)
public void finish()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |