public class OSLSchemaReader extends AbstractXMLFormatReader implements SchemaReaderIF
base_address, source| Constructor and Description |
|---|
OSLSchemaReader(File file)
PUBLIC: Creates a reader bound to the given file.
|
OSLSchemaReader(String uri)
PUBLIC: Creates a reader bound to the given URI.
|
| Modifier and Type | Method and Description |
|---|---|
SchemaIF |
read()
PUBLIC: Reads the schema from the data source and returns the
object structure.
|
getBaseAddress, getInputSource, setBaseAddress, setInputSourcepublic OSLSchemaReader(String uri) throws MalformedURLException, IOException
MalformedURLExceptionIOExceptionpublic OSLSchemaReader(File file)
public SchemaIF read() throws IOException, SchemaSyntaxException
SchemaReaderIFread in interface SchemaReaderIFIOException - Thrown if there are problems with
the data source while reading the schema.SchemaSyntaxException - Thrown if the schema violates the
schema language syntax.