org.codehaus.xfire.castor
Class CastorTypeCreator
java.lang.Object
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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.
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.