Protected Member Functions | Package Functions | Package Attributes

org.exolab.castor.xml.schema.reader.SchemaUnmarshallerState Class Reference

List of all members.

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

Detailed Description

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.

Author:
Arnaud Blandin
Version:
Revision:
1.2
Date:
2004/09/21 14:08:47

Constructor & Destructor Documentation

org.exolab.castor.xml.schema.reader.SchemaUnmarshallerState.SchemaUnmarshallerState (  )  [protected]

Creates a new SchemaUnmarshallerState


Member Function Documentation

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.

Returns:
the Configuration.
See also:
setConfiguration

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

Parameters:
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.

Parameters:
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

Parameters:
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

Parameters:
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.

Parameters:
config the Configuration to set

Referenced by org.exolab.castor.xml.schema.reader.SchemaReader.read().


Member Data Documentation

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().


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations Properties