All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.codehaus.xfire.aegis.type.TypeCreator Maven / Gradle / Ivy

package org.codehaus.xfire.aegis.type;

import java.beans.PropertyDescriptor;
import java.lang.reflect.Field;
import java.lang.reflect.Method;

import javax.xml.namespace.QName;

/**
 * @author Dan Diephouse
 */
public interface TypeCreator
{
    /**
     * Get the mapped name of a method parameter.
     * @param m
     * @param index
     * @return
     */
    QName getElementName(Method m, int index);
    
    Type createType(Method m, int index);
    Type createType(PropertyDescriptor pd);
    Type createType(Field f);
    Type createType(Class clazz);
    
    void setTypeMapping(TypeMapping typeMapping);

    TypeCreator getParent();
	void setParent(TypeCreator creator);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy