Package org.apache.etch.bindings.java.msg

Examples of org.apache.etch.bindings.java.msg.Field


   * @param type
   * @param class2type
   */
  public static void init( Type type, Class2TypeMap class2type )
    {
    Field field = type.getField( FIELD_NAME );
   
    // quick lookup to serialize this class.
    class2type.put( HashMap.class, type );
   
    // type for arrays.
View Full Code Here


   * @param type
   * @param class2type
   */
  public static void init( Type type, Class2TypeMap class2type )
  {
    Field field = type.getField( FIELD_NAME );
    class2type.put( Date.class, type );
    type.setComponentType( Date.class );
    type.setImportExportHelper( new DateSerializer( type, field ) );
    type.putValidator( field, Validator_long.get( 0 ) );
    type.lock();
View Full Code Here

   * @param type
   * @param class2type
   */
  public static void init( Type type, Class2TypeMap class2type )
    {
    Field field = type.getField( FIELD_NAME );
    class2type.put( StrStrHashMap.class, type );
    type.setComponentType( StrStrHashMap.class );
    type.setImportExportHelper( new StrStrHashMapSerializer( type, field ) );
    type.putValidator( field, Validator_object.get( 1 ) );
    type.lock();
View Full Code Here

   * @param type
   * @param class2type
   */
  public static void init( Type type, Class2TypeMap class2type )
    {
    Field field = type.getField( FIELD_NAME );
    class2type.put( ArrayList.class, type );
    type.setComponentType( List.class );
    type.setImportExportHelper( new ListSerializer( type, field ) );
    type.putValidator( field, Validator_object.get( 1 ) );
    type.lock();
View Full Code Here

   * @param type
   * @param class2type
   */
  public static void init( Type type, Class2TypeMap class2type )
    {
    Field field = type.getField( FIELD_NAME );
   
    class2type.put( HashSet.class, type );
    type.setComponentType( Set.class );
   
    type.setImportExportHelper( new SetSerializer( type, field ) );
View Full Code Here

   * @param type
   * @param class2type
   */
  public static void init( Type type, Class2TypeMap class2type )
  {
    Field field = type.getField( FIELD_NAME );
    class2type.put( URL.class, type );
    type.setComponentType( URL.class );
    type.setImportExportHelper( new URLSerializer( type, field ) );
    type.putValidator( field, Validator_string.get( 0 ) );
    type.lock();
View Full Code Here

   * @param type
   * @param class2type
   */
  public static void init( Type type, Class2TypeMap class2type )
    {
    Field field = type.getField( FIELD_NAME );
    class2type.put( StrIntHashMap.class, type );
    type.setComponentType( StrIntHashMap.class );
    type.setImportExportHelper( new StrIntHashMapSerializer( type, field ) );
    type.putValidator( field, Validator_object.get( 1 ) );
    type.lock();
View Full Code Here

TOP

Related Classes of org.apache.etch.bindings.java.msg.Field

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.