org.exolab.castor.xml.schema.reader
public class SchemaReader extends Object
Version: $Revision: 1.1.1.1 $ $Date: 2003/03/03 07:09:41 $
Constructor Summary | |
---|---|
SchemaReader(InputSource source)
Creates a new SchemaReader for the given InputSource
| |
SchemaReader(Reader reader, String filename)
Creates a new SchemaReader for the given Reader
| |
SchemaReader(String url)
Creates a new SchemaReader for the given URL
|
Method Summary | |
---|---|
Schema | read()
Reads the Schema from the source and returns the Schema
object model.
|
void | setEntityResolver(EntityResolver resolver)
Sets the EntityResolver used to resolve SYSTEM Identifier.
|
void | setURIResolver(URIResolver uriresolver)
Sets the URIResolver used to resolve hrefs.
|
void | setValidation(boolean validate)
Sets whether or not post-read validation should
occur. |
Parameters: source the InputSource to read the Schema from.
Parameters: reader the Reader to read the Schema from. filename for reporting errors.
Parameters: url the URL string
Returns: the new Schema created from the source of this SchemaReader
Parameters: resolver the EntityResolver to use.
Parameters: resolver the URIResolver to use.
Parameters: validate a boolean that when true will force a call to Schema#validate after the schema is read.