org.exolab.castor.mapping
Class Mapping.ClassMappingResolver

java.lang.Object
  extended by org.exolab.castor.mapping.Mapping.ClassMappingResolver
All Implemented Interfaces:
IDResolver
Enclosing class:
Mapping

 class Mapping.ClassMappingResolver
extends java.lang.Object
implements IDResolver

An IDResolver to allow us to resolve ClassMappings from included Mapping files


Constructor Summary
Mapping.ClassMappingResolver()
           
 
Method Summary
 java.lang.Object resolve(java.lang.String idref)
          Returns the Object whose id matches the given IDREF, or null if no Object was found.
 void setMapping(MappingRoot mapping)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Mapping.ClassMappingResolver

Mapping.ClassMappingResolver()
Method Detail

setMapping

public void setMapping(MappingRoot mapping)

resolve

public java.lang.Object resolve(java.lang.String idref)
Returns the Object whose id matches the given IDREF, or null if no Object was found.

Specified by:
resolve in interface IDResolver
Parameters:
idref - the IDREF to resolve.
Returns:
the Object whose id matches the given IDREF.


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