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 | Description |
---|---|
MultiSchemaReader(XMLSchemaReader _reader) |
Modifier and Type | Method | 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(String source) |
|
void |
parse(Source source) |
Parse a schema supplied by a javax.xml.transform Source.
|
void |
parse(InputSource is) |
Parses an additional schema.
|
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 © 2019 Oracle Corporation. All rights reserved.