org.exolab.castor.mapping

Class Mapping.MappingState

Enclosing Class:
Mapping

(package private) class Mapping.MappingState
extends java.lang.Object

A class to keep track of the loaded mapping.

Constructor Summary

MappingState()
Creates a new SchemaUnmarshallerState

Method Summary

(package private) MappingRoot
getMapping(String systemID)
Returns the mapping corresponding to the given systemID
(package private) void
markAsProcessed(String systemID, MappingRoot mapping)
Marks the given mapping as having been processed.
(package private) boolean
processed(String systemID)
Returns true if the given systemID has been marked as processed
(package private) boolean
processed(MappingRoot mapping)
Returns true if the given Mapping has been marked as processed

Constructor Details

MappingState

(package private)  MappingState()
Creates a new SchemaUnmarshallerState

Method Details

getMapping

(package private)  MappingRoot getMapping(String systemID)
Returns the mapping corresponding to the given systemID
Parameters:
systemID - the systemID of the mapping

markAsProcessed

(package private)  void markAsProcessed(String systemID,
                                        MappingRoot mapping)
Marks the given mapping as having been processed.
Parameters:
systemID - the key identifying the physical location of the mapping to mark.
mapping - the mapping to mark as having been processed.

processed

(package private)  boolean processed(String systemID)
Returns true if the given systemID has been marked as processed
Parameters:

processed

(package private)  boolean processed(MappingRoot mapping)
Returns true if the given Mapping has been marked as processed
Parameters:
mapping - the mapping to check for being marked as processed

Intalio Inc. (C) 1999-2003. All rights reserved http://www.intalio.com