|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.exolab.castor.xml.schema.reader.SchemaUnmarshallerState
class SchemaUnmarshallerState
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.
Field Summary | |
---|---|
(package private) boolean |
cacheIncludedSchemas
A boolean that indicates whether or not to cache included XML Schemas |
Constructor Summary | |
---|---|
protected |
SchemaUnmarshallerState()
Creates a new SchemaUnmarshallerState |
Method Summary | |
---|---|
(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(java.lang.String schemaLocation)
Returns the schema corresponding to the given schemaLocation |
(package private) void |
markAsProcessed(java.lang.String schemaLocation,
Schema schema)
Marks the given schema as having been processed. |
(package private) boolean |
processed(Schema schema)
Returns true if the given Schema has been marked as processed |
(package private) boolean |
processed(java.lang.String schemaLocation)
Returns true if the given schema location 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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
boolean cacheIncludedSchemas
Constructor Detail |
---|
protected SchemaUnmarshallerState()
Method Detail |
---|
void markAsProcessed(java.lang.String schemaLocation, Schema schema)
schemaLocation
- the key identifying the physical location
of the schema to mark.schema
- the Schema to mark as having
been processed.boolean processed(Schema schema)
schema
- the Schema to check for being marked as processedboolean processed(java.lang.String schemaLocation)
schema
- location the schema location to check for being
marked as processedConfiguration getConfiguration()
setConfiguration
Schema getSchema(java.lang.String schemaLocation)
schemaLocation
- the schema location of the schemavoid setConfiguration(Configuration config)
config
- the Configuration to set
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |