View Javadoc

    1   package org.codehaus.xfire.aegis.type;
    2
    3   import java.beans.PropertyDescriptor;
    4   import java.lang.reflect.Field;
    5   import java.lang.reflect.Method;
    6
    7   /***
    8    * @author <a href="mailto:dan@envoisolutions.com">Dan Diephouse</a>
    9    */
    10  public interface TypeCreator
    11  {
    12      Type createType(Method m, int index);
    13      Type createType(PropertyDescriptor pd);
    14      Type createType(Field f);
    15      Type createType(Class clazz);
    16
    17      void setTypeMapping(TypeMapping typeMapping);
    18  }