org.exolab.castor.mapping

Class Mapping.ClassMappingResolver

class Mapping.ClassMappingResolver extends Object implements IDResolver

An IDResolver to allow us to resolve ClassMappings from included Mapping files
Constructor Summary
ClassMappingResolver()
Method Summary
Objectresolve(String idref)
Returns the Object whose id matches the given IDREF, or null if no Object was found.
voidsetMapping(MappingRoot mapping)

Constructor Detail

ClassMappingResolver

ClassMappingResolver()

Method Detail

resolve

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

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-2004. All rights reserved http://www.intalio.com