public class MultiSchemaReader extends 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(InputSource is)
Parses an additional schema.
|
void |
parse(Source source)
Parse a schema supplied by a javax.xml.transform Source.
|
void |
parse(String source) |
public MultiSchemaReader(XMLSchemaReader _reader)
public final XMLSchemaReader getReader()
public final XMLSchemaGrammar getResult()
public void parse(Source source)
source
- public final void parse(String source)
public void parse(InputSource is)
public void finish()
Copyright © 2016 Oracle Corporation. All rights reserved.