List of all members.
Detailed Description
A class for reading XML Schemas
- Author:
- Keith Visco
- Version:
- Revision:
- 1.5
- Date:
- 2004/10/05 20:27:10
Constructor & Destructor Documentation
org.exolab.castor.xml.schema.reader.SchemaReader.SchemaReader |
( |
InputSource |
source |
) |
throws IOException |
Creates a new SchemaReader for the given InputSource
- Parameters:
-
| source | the InputSource to read the Schema from. |
org.exolab.castor.xml.schema.reader.SchemaReader.SchemaReader |
( |
Reader |
reader, |
|
|
String |
filename | |
|
) |
| | throws IOException |
Creates a new SchemaReader for the given Reader
- Parameters:
-
| reader | the Reader to read the Schema from. |
| filename | for reporting errors. |
org.exolab.castor.xml.schema.reader.SchemaReader.SchemaReader |
( |
String |
url |
) |
throws IOException |
Member Function Documentation
Schema org.exolab.castor.xml.schema.reader.SchemaReader.read |
( |
|
) |
throws IOException |
void org.exolab.castor.xml.schema.reader.SchemaReader.setCacheIncludedSchemas |
( |
boolean |
cache |
) |
|
Sets wheter or not to cache the included xml schemas instead of inlining them as specified by the XML Schema specification.
- Parameters:
-
| cache | true to cache the included XML Schemas. |
void org.exolab.castor.xml.schema.reader.SchemaReader.setEntityResolver |
( |
EntityResolver |
resolver |
) |
|
Sets the EntityResolver used to resolve SYSTEM Identifier. If the entity resolver is null, the default one will be used.
- Parameters:
-
| resolver | the EntityResolver to use. |
void org.exolab.castor.xml.schema.reader.SchemaReader.setErrorHandler |
( |
ErrorHandler |
errorHandler |
) |
|
Sets the ErrorHandler.
- Parameters:
-
void org.exolab.castor.xml.schema.reader.SchemaReader.setURIResolver |
( |
URIResolver |
uriresolver |
) |
|
Sets the URIResolver used to resolve hrefs. If the entity resolver is null, the default one will be used.
- Parameters:
-
| resolver | the URIResolver to use. |
void org.exolab.castor.xml.schema.reader.SchemaReader.setValidation |
( |
boolean |
validate |
) |
|
Sets whether or not post-read validation should occur. By default, validation is enabled. Note that certain read validation cannot be disabled.
- Parameters:
-
| validate | a boolean that when true will force a call to Schema.validate after the schema is read. |
The documentation for this class was generated from the following file: