org.codehaus.xfire.castor
Class CastorTypeCreator

java.lang.Object
  extended by org.codehaus.xfire.castor.CastorTypeCreator

public class CastorTypeCreator
extends java.lang.Object

TypeCreator factory class for creating CastorType classes.

Author:
Adam Kramer, Paul Saxman
See Also:
org.codehaus.xfire.aegis.type.TypeCreator

Constructor Summary
CastorTypeCreator(TypeCreator typeCreator, java.lang.String mappingFile)
          Constructor that instantiates the Castor mapping file to use for de/marshalling.
 
Method Summary
 Type createType(java.lang.Class clazz)
           
 Type createType(java.lang.reflect.Field field)
           
 Type createType(java.lang.reflect.Method method, int index)
           
 Type createType(java.beans.PropertyDescriptor propDesc)
           
 void setTypeMapping(TypeMapping typeMapping)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CastorTypeCreator

public CastorTypeCreator(TypeCreator typeCreator,
                         java.lang.String mappingFile)
Constructor that instantiates the Castor mapping file to use for de/marshalling.

Parameters:
typeCreator - Default type creator used next in case castor not configured to map a certain type.
mappingFile - The name of the Castor mapping file used for de/marshalling which presently needs to be in the classpath.
Method Detail

createType

public Type createType(java.lang.reflect.Method method,
                       int index)

createType

public Type createType(java.beans.PropertyDescriptor propDesc)

createType

public Type createType(java.lang.reflect.Field field)

createType

public Type createType(java.lang.Class clazz)

setTypeMapping

public void setTypeMapping(TypeMapping typeMapping)


Copyright © 2004-2006 Envoi Solutions LLC. All Rights Reserved.