org.exolab.castor.mapping

Class Mapping.MappingState

class Mapping.MappingState extends Object

A class to keep track of the loaded mapping.
Constructor Summary
MappingState()
Creates a new SchemaUnmarshallerState
Method Summary
MappingRootgetMapping(String systemID)
Returns the mapping corresponding to the given systemID
voidmarkAsProcessed(String systemID, MappingRoot mapping)
Marks the given mapping as having been processed.
booleanprocessed(MappingRoot mapping)
Returns true if the given Mapping has been marked as processed
booleanprocessed(String systemID)
Returns true if the given systemID has been marked as processed

Constructor Detail

MappingState

MappingState()
Creates a new SchemaUnmarshallerState

Method Detail

getMapping

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

Parameters: systemID the systemID of the mapping

markAsProcessed

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

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(String systemID)
Returns true if the given systemID has been marked as processed

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

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