org.codehaus.xfire.type
Class AutoTypeMapping
java.lang.Object
org.codehaus.xfire.type.CustomTypeMapping
org.codehaus.xfire.type.AutoTypeMapping
- All Implemented Interfaces:
- TypeMapping
public class AutoTypeMapping
- extends CustomTypeMapping
A type mapping which automatically generates types
for java classes which are not registered, allowing
easy deployment of java services.
- Since:
- Feb 21, 2004
- Author:
- Dan Diephouse
Method Summary |
protected Type |
findTypeForClass(java.lang.Class javaType)
Tries to determine a type class automatically from the type. |
Type |
getType(java.lang.Class javaType)
|
Type |
getType(java.lang.Class javaType,
javax.xml.namespace.QName xmlType)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AutoTypeMapping
public AutoTypeMapping(TypeMapping defaultTM)
AutoTypeMapping
public AutoTypeMapping()
getType
public Type getType(java.lang.Class javaType,
javax.xml.namespace.QName xmlType)
- Specified by:
getType
in interface TypeMapping
- Overrides:
getType
in class CustomTypeMapping
- See Also:
org.codehaus.xfire.type.TypeMapping#getSerializer(java.lang.Class, javax.xml.namespace.QName)
findTypeForClass
protected Type findTypeForClass(java.lang.Class javaType)
- Tries to determine a type class automatically from the type.
- Parameters:
javaType
-
- Returns:
getType
public Type getType(java.lang.Class javaType)
- Specified by:
getType
in interface TypeMapping
- Overrides:
getType
in class CustomTypeMapping
- See Also:
TypeMapping.getType(java.lang.Class)
Copyright © 2004-2005 Codehaus. All Rights Reserved.