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, setInputSource
public OSLSchemaReader(String uri) throws MalformedURLException, IOException
MalformedURLException
IOException
public OSLSchemaReader(File file)
public SchemaIF read() throws IOException, SchemaSyntaxException
SchemaReaderIF
read
in interface SchemaReaderIF
IOException
- Thrown if there are problems with
the data source while reading the schema.SchemaSyntaxException
- Thrown if the schema violates the
schema language syntax.