
com.saxonica.importer
Class SchemaReader
java.lang.Object
|
+--com.saxonica.importer.SchemaReader
- public abstract class SchemaReader
- extends java.lang.Object
A class for reading XML Schemas
|
Method Summary |
static javax.xml.transform.Source |
getSource(java.lang.String baseURI,
java.lang.String relativeURI,
Configuration config)
|
static void |
processModule(javax.xml.transform.Source source,
SchemaUnmarshaller unmarshaller,
com.saxonica.importer.UnmarshallerState state)
|
static Schema |
read(javax.xml.transform.Source source,
Configuration config)
Reads the Schema from a source XML document and returns the Schema
object model. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SchemaReader
public SchemaReader()
read
public static Schema read(javax.xml.transform.Source source,
Configuration config)
throws SchemaException
- Reads the Schema from a source XML document and returns the Schema
object model.
- Returns:
- the new Schema created from the source of this SchemaReader
- Throws:
SchemaException - if the schema module can't be read or parsed,
or if the schema module is an invalid schema
getSource
public static javax.xml.transform.Source getSource(java.lang.String baseURI,
java.lang.String relativeURI,
Configuration config)
throws SchemaException
SchemaException
processModule
public static void processModule(javax.xml.transform.Source source,
SchemaUnmarshaller unmarshaller,
com.saxonica.importer.UnmarshallerState state)
throws SchemaException
SchemaException
Stylus Studio features integrated development and debugging support for Saxon in the XQuery editor and XSLT editor.