org.exolab.castor.mapping

Class Mapping.ClassMappingResolver

Enclosing Class:
Mapping
Implemented Interfaces:
IDResolver

(package private) class Mapping.ClassMappingResolver
extends java.lang.Object
implements IDResolver

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

Constructor Summary

ClassMappingResolver()

Method Summary

Object
resolve(String idref)
Returns the Object whose id matches the given IDREF, or null if no Object was found.
void
setMapping(MappingRoot mapping)

Constructor Details

ClassMappingResolver

(package private)  ClassMappingResolver()

Method Details

resolve

public Object resolve(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.

setMapping

public void setMapping(MappingRoot mapping)

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