org.exolab.castor.mapping
Class Mapping.MappingState

java.lang.Object
  extended by org.exolab.castor.mapping.Mapping.MappingState
Enclosing class:
Mapping

 class Mapping.MappingState
extends java.lang.Object

A class to keep track of the loaded mapping.


Constructor Summary
Mapping.MappingState()
          Creates a new SchemaUnmarshallerState
 
Method Summary
(package private)  MappingRoot getMapping(java.lang.String systemID)
          Returns the mapping corresponding to the given systemID
(package private)  void markAsProcessed(java.lang.String systemID, MappingRoot mapping)
          Marks the given mapping as having been processed.
(package private)  boolean processed(MappingRoot mapping)
          Returns true if the given Mapping has been marked as processed
(package private)  boolean processed(java.lang.String systemID)
          Returns true if the given systemID has been marked as processed
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Mapping.MappingState

Mapping.MappingState()
Creates a new SchemaUnmarshallerState

Method Detail

markAsProcessed

void markAsProcessed(java.lang.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

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

processed

boolean processed(java.lang.String systemID)
Returns true if the given systemID has been marked as processed

Parameters:
systemID - location the systemID to check for being marked as processed

getMapping

MappingRoot getMapping(java.lang.String systemID)
Returns the mapping corresponding to the given systemID

Parameters:
systemID - the systemID of the mapping


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