net.ontopia.topicmaps.schema.core
Interface SchemaReaderIF

All Known Implementing Classes:
OSLSchemaReader

public interface SchemaReaderIF

PUBLIC: Schema readers can read instances of a topic map schema from some implicitly specified source and return object structures representing the schema.


Method Summary
 SchemaIF read()
          PUBLIC: Reads the schema from the data source and returns the object structure.
 

Method Detail

read

SchemaIF read()
              throws java.io.IOException,
                     SchemaSyntaxException
PUBLIC: Reads the schema from the data source and returns the object structure.

Throws:
java.io.IOException - Thrown if there are problems with the data source while reading the schema.
org.xml.sax.SAXException - Thrown if the schema is not well-formed XML.
SchemaSyntaxException - Thrown if the schema violates the schema language syntax.


Copyright © 2000-2012 Ontopia.