org.compass.core.config.process
Class MappingProcessorUtils

java.lang.Object
  extended by org.compass.core.config.process.MappingProcessorUtils

public abstract class MappingProcessorUtils
extends Object

Author:
kimchy

Constructor Summary
MappingProcessorUtils()
           
 
Method Summary
static void addInternalId(CompassSettings settings, ConverterLookup converterLookup, ClassPropertyMapping classPropertyMapping, boolean mustBeNotAnalyzed)
           
static void applyResourcePropertySettings(ResourcePropertyMapping mapping, CompassSettings settings)
           
static boolean isNullConverter(Converter converter)
           
static void lookupConverter(ConverterLookup converterLookup, ClassPropertyMetaDataMapping mdMapping, ClassPropertyMapping classPropertyMapping)
           
static void lookupConverter(ConverterLookup converterLookup, Mapping mapping)
           
static void lookupConverter(ConverterLookup converterLookup, Mapping mapping, boolean forceConverter)
           
static void process(ClassPropertyMetaDataMapping mdMapping, ClassPropertyMapping classPropertyMapping, ConverterLookup converterLookup)
           
static Converter resolveConverter(String converterName, String className, Class type, ConverterLookup converterLookup)
           
static Converter resolveConverter(String converterName, String className, Getter getter, ConverterLookup converterLookup)
           
static Converter resolveConverterByClass(ClassPropertyMapping classPropertyMapping, ConverterLookup converterLookup)
           
static Converter resolveConverterByClass(String className, Class type, ConverterLookup converterLookup)
           
static Converter resolveConverterByClass(String className, Getter getter, ConverterLookup converterLookup)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MappingProcessorUtils

public MappingProcessorUtils()
Method Detail

lookupConverter

public static void lookupConverter(ConverterLookup converterLookup,
                                   Mapping mapping)

lookupConverter

public static void lookupConverter(ConverterLookup converterLookup,
                                   Mapping mapping,
                                   boolean forceConverter)

lookupConverter

public static void lookupConverter(ConverterLookup converterLookup,
                                   ClassPropertyMetaDataMapping mdMapping,
                                   ClassPropertyMapping classPropertyMapping)

addInternalId

public static void addInternalId(CompassSettings settings,
                                 ConverterLookup converterLookup,
                                 ClassPropertyMapping classPropertyMapping,
                                 boolean mustBeNotAnalyzed)
                          throws MappingException
Throws:
MappingException

process

public static void process(ClassPropertyMetaDataMapping mdMapping,
                           ClassPropertyMapping classPropertyMapping,
                           ConverterLookup converterLookup)
                    throws MappingException
Throws:
MappingException

resolveConverter

public static Converter resolveConverter(String converterName,
                                         String className,
                                         Getter getter,
                                         ConverterLookup converterLookup)

resolveConverter

public static Converter resolveConverter(String converterName,
                                         String className,
                                         Class type,
                                         ConverterLookup converterLookup)

resolveConverterByClass

public static Converter resolveConverterByClass(ClassPropertyMapping classPropertyMapping,
                                                ConverterLookup converterLookup)

resolveConverterByClass

public static Converter resolveConverterByClass(String className,
                                                Class type,
                                                ConverterLookup converterLookup)

resolveConverterByClass

public static Converter resolveConverterByClass(String className,
                                                Getter getter,
                                                ConverterLookup converterLookup)

applyResourcePropertySettings

public static void applyResourcePropertySettings(ResourcePropertyMapping mapping,
                                                 CompassSettings settings)

isNullConverter

public static boolean isNullConverter(Converter converter)


Copyright (c) 2004-2009 The Compass Project.