Package org.castor.mapping
Class MappingUnmarshallIDResolver
java.lang.Object
org.castor.mapping.MappingUnmarshallIDResolver
- All Implemented Interfaces:
IDResolver
An IDResolver to allow us to resolve ClassMappings from included Mapping files.
- Version:
- $Revision: 5951 $ $Date: 2006-04-25 16:09:10 -0600 (Tue, 25 Apr 2006) $
- Author:
- Ralf Joachim
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the Object whose id matches the given IDREF, or null if no Object was found.void
setMapping
(MappingRoot mapping)
-
Constructor Details
-
MappingUnmarshallIDResolver
public MappingUnmarshallIDResolver()
-
-
Method Details
-
setMapping
-
resolve
Returns the Object whose id matches the given IDREF, or null if no Object was found.- Specified by:
resolve
in interfaceIDResolver
- Parameters:
idref
- the IDREF to resolve.- Returns:
- the Object whose id matches the given IDREF.
- See Also:
-