org.compass.core.converter.mapping.osem
Class ComponentMappingConverter

java.lang.Object
  extended by org.compass.core.converter.mapping.osem.AbstractRefAliasMappingConverter
      extended by org.compass.core.converter.mapping.osem.ComponentMappingConverter
All Implemented Interfaces:
Converter

public class ComponentMappingConverter
extends AbstractRefAliasMappingConverter

Author:
kimchy

Constructor Summary
ComponentMappingConverter()
           
 
Method Summary
protected  boolean doMarshall(Resource resource, Object root, RefAliasObjectMapping hasRefAliasMapping, ClassMapping refMapping, MarshallingContext context)
           
protected  Object doUnmarshall(Resource resource, RefAliasObjectMapping hasRefAliasMapping, ClassMapping refMapping, MarshallingContext context)
           
 
Methods inherited from class org.compass.core.converter.mapping.osem.AbstractRefAliasMappingConverter
marshall, rollbackClassNameOnPoly, unmarshall
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ComponentMappingConverter

public ComponentMappingConverter()
Method Detail

doMarshall

protected boolean doMarshall(Resource resource,
                             Object root,
                             RefAliasObjectMapping hasRefAliasMapping,
                             ClassMapping refMapping,
                             MarshallingContext context)
                      throws ConversionException
Specified by:
doMarshall in class AbstractRefAliasMappingConverter
Throws:
ConversionException

doUnmarshall

protected Object doUnmarshall(Resource resource,
                              RefAliasObjectMapping hasRefAliasMapping,
                              ClassMapping refMapping,
                              MarshallingContext context)
                       throws ConversionException
Specified by:
doUnmarshall in class AbstractRefAliasMappingConverter
Throws:
ConversionException


Copyright (c) 2004-2009 The Compass Project.