org.compass.core.converter.mapping
Interface ResourceMappingConverter
- All Superinterfaces:
- Converter
- All Known Implementing Classes:
- ClassMappingConverter, RawResourceMappingConverter, XmlObjectMappingConverter
public interface ResourceMappingConverter
- extends Converter
A converter associated with a ResourceMapping implementation. Allows to marhsall/unmarshall
just ids as well.
- Author:
- kimchy
marshallIds
boolean marshallIds(Resource idResource,
Object id,
ResourceMapping resourceMapping,
MarshallingContext context)
throws ConversionException
- Throws:
ConversionException
unmarshallIds
Object[] unmarshallIds(Object id,
ResourceMapping resourceMapping,
MarshallingContext context)
throws ConversionException
- Throws:
ConversionException
Copyright (c) 2004-2006 The Compass Project.