Protected Member Functions | |
SchemaUnmarshallerState () | |
Package Functions | |
void | markAsProcessed (String schemaLocation, Schema schema) |
boolean | processed (Schema schema) |
boolean | processed (String schemaLocation) |
Configuration | getConfiguration () |
Schema | getSchema (String schemaLocation) |
void | setConfiguration (Configuration config) |
Package Attributes | |
boolean | cacheIncludedSchemas = false |
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.
org.exolab.castor.xml.schema.reader.SchemaUnmarshallerState.SchemaUnmarshallerState | ( | ) | [protected] |
Creates a new SchemaUnmarshallerState
Configuration org.exolab.castor.xml.schema.reader.SchemaUnmarshallerState.getConfiguration | ( | ) | [package] |
Returns the Configuration to use during reading of the schema, this is primarily for obtaining a parser instance.
Referenced by org.exolab.castor.xml.schema.reader.ImportUnmarshaller.ImportUnmarshaller(), org.exolab.castor.xml.schema.reader.IncludeUnmarshaller.IncludeUnmarshaller(), and org.exolab.castor.xml.schema.reader.RedefineUnmarshaller.RedefineUnmarshaller().
Schema org.exolab.castor.xml.schema.reader.SchemaUnmarshallerState.getSchema | ( | String | schemaLocation | ) | [package] |
Returns the schema corresponding to the given schemaLocation
schemaLocation | the schema location of the schema |
Referenced by org.exolab.castor.xml.schema.reader.ImportUnmarshaller.ImportUnmarshaller(), and org.exolab.castor.xml.schema.reader.IncludeUnmarshaller.IncludeUnmarshaller().
void org.exolab.castor.xml.schema.reader.SchemaUnmarshallerState.markAsProcessed | ( | String | schemaLocation, | |
Schema | schema | |||
) | [package] |
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. |
Referenced by org.exolab.castor.xml.schema.reader.ImportUnmarshaller.ImportUnmarshaller(), org.exolab.castor.xml.schema.reader.IncludeUnmarshaller.IncludeUnmarshaller(), org.exolab.castor.xml.schema.reader.SchemaReader.read(), and org.exolab.castor.xml.schema.reader.RedefineUnmarshaller.RedefineUnmarshaller().
boolean org.exolab.castor.xml.schema.reader.SchemaUnmarshallerState.processed | ( | Schema | schema | ) | [package] |
Returns true if the given Schema has been marked as processed
schema | the Schema to check for being marked as processed |
Referenced by org.exolab.castor.xml.schema.reader.ImportUnmarshaller.ImportUnmarshaller(), and org.exolab.castor.xml.schema.reader.IncludeUnmarshaller.IncludeUnmarshaller().
boolean org.exolab.castor.xml.schema.reader.SchemaUnmarshallerState.processed | ( | String | schemaLocation | ) | [package] |
Returns true if the given schema location has been marked as processed
schema | location the schema location to check for being marked as processed |
void org.exolab.castor.xml.schema.reader.SchemaUnmarshallerState.setConfiguration | ( | Configuration | config | ) | [package] |
Sets the Configuration to use during reading of the schema, this is primarily for obtaining a parser instance.
config | the Configuration to set |
Referenced by org.exolab.castor.xml.schema.reader.SchemaReader.read().
boolean org.exolab.castor.xml.schema.reader.SchemaUnmarshallerState.cacheIncludedSchemas = false [package] |
A boolean that indicates whether or not to cache included XML Schemas
Referenced by org.exolab.castor.xml.schema.reader.IncludeUnmarshaller.IncludeUnmarshaller(), and org.exolab.castor.xml.schema.reader.SchemaReader.read().