org.exolab.castor.xml.schema.reader
Class SchemaUnmarshallerState
java.lang.Object
org.exolab.castor.xml.schema.reader.SchemaUnmarshallerState
(package private) class SchemaUnmarshallerState
extends java.lang.Object
A class used to save State information for the SchemaUnmarshaller
Roughly speaking it keeps track of all the schemas read.
This is used to prevent infinite loops when importing or including schema.
$Revision: 1.1.1.1 $ $Date: 2003/03/03 07:09:41 $
(package private) Configuration | getConfiguration() - Returns the Configuration to use during reading of the schema, this
is primarily for obtaining a parser instance.
|
(package private) Schema | getSchema(String schemaLocation) - Returns the schema corresponding to the given schemaLocation
|
(package private) void | markAsProcessed(String schemaLocation, Schema schema) - Marks the given schema as having been processed.
|
(package private) boolean | processed(String schemaLocation) - Returns true if the given schema location has been marked as processed
|
(package private) boolean | processed(Schema schema) - Returns true if the given Schema has been marked as processed
|
(package private) void | setConfiguration(Configuration config) - Sets the Configuration to use during reading of the schema, this
is primarily for obtaining a parser instance.
|
SchemaUnmarshallerState
protected SchemaUnmarshallerState()
Creates a new SchemaUnmarshallerState
getConfiguration
(package private) Configuration getConfiguration()
Returns the Configuration to use during reading of the schema, this
is primarily for obtaining a parser instance.
getSchema
(package private) Schema getSchema(String schemaLocation)
Returns the schema corresponding to the given schemaLocation
schemaLocation
- the schema location of the schema
markAsProcessed
(package private) void markAsProcessed(String schemaLocation,
Schema schema)
Marks the given schema as having been processed.
schemaLocation
- the key identifying the physical location
of the schema to mark.schema
- the Schema to mark as having
been processed.
processed
(package private) boolean processed(String schemaLocation)
Returns true if the given schema location has been marked as processed
processed
(package private) boolean processed(Schema schema)
Returns true if the given Schema has been marked as processed
schema
- the Schema to check for being marked as processed
setConfiguration
(package private) void setConfiguration(Configuration config)
Sets the Configuration to use during reading of the schema, this
is primarily for obtaining a parser instance.
config
- the Configuration to set
Intalio Inc. (C) 1999-2003. All rights reserved http://www.intalio.com