Package com.vercer.engine.persist.translator

Examples of com.vercer.engine.persist.translator.ChainedTranslator


    independantTranslator = new EntityTranslator(this);
    keyFieldTranslator = new KeyFieldTranslator(this, valueTranslatorChain, converter);
    childTranslator = new ChildEntityTranslator(this);
    embedTranslator = new ListTranslator(objectFieldTranslator);
    polyMorphicComponentTranslator = new ListTranslator(new MapTranslator(new PolymorphicTranslator(objectFieldTranslator, fieldStrategy), converter));
    defaultTranslator = new ListTranslator(new MapTranslator(new ChainedTranslator(valueTranslatorChain, getFallbackTranslator()), converter));

    keyCache = createKeyCache();
  }
View Full Code Here


  /**
   * @return The translator that is used for single items by default
   */
  protected ChainedTranslator createValueTranslatorChain()
  {
    ChainedTranslator result = new ChainedTranslator();
    result.append(new NativeDirectTranslator());
    result.append(new CoreStringTypesTranslator());
    result.append(new EnumTranslator());
    return result;
  }
View Full Code Here

TOP

Related Classes of com.vercer.engine.persist.translator.ChainedTranslator

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.