org.codehaus.xfire.java.mapping
Interface TypeMapping

All Known Implementing Classes:
AutoTypeMapping, CustomTypeMapping

public interface TypeMapping

Since:
Feb 18, 2004
Author:
Dan Diephouse

Method Summary
 java.lang.String getEncodingStyleURI()
           
 Type getType(java.lang.Class javaType)
           
 Type getType(java.lang.Class javaType, javax.xml.namespace.QName xmlType)
           
 Type getType(javax.xml.namespace.QName xmlType)
           
 javax.xml.namespace.QName getTypeQName(java.lang.Class clazz)
           
 boolean isRegistered(java.lang.Class javaType, javax.xml.namespace.QName xmlType)
          Checks whether or not type mapping between specified XML type and Java type is registered.
 void register(java.lang.Class javaType, javax.xml.namespace.QName xmlType, java.lang.Class typeClass)
           
 void removeType(java.lang.Class javaType, javax.xml.namespace.QName xmlType)
           
 void setEncodingStyleURI(java.lang.String encodingStyleURI)
           
 

Method Detail

isRegistered

boolean isRegistered(java.lang.Class javaType,
                     javax.xml.namespace.QName xmlType)
Checks whether or not type mapping between specified XML type and Java type is registered.

Parameters:
javaType - Class of the Java type
xmlType - Qualified name of the XML data type
Returns:
boolean; true if type mapping between the specified XML type and Java type is registered; otherwise false

register

void register(java.lang.Class javaType,
              javax.xml.namespace.QName xmlType,
              java.lang.Class typeClass)

getType

Type getType(java.lang.Class javaType,
             javax.xml.namespace.QName xmlType)

removeType

void removeType(java.lang.Class javaType,
                javax.xml.namespace.QName xmlType)

getType

Type getType(java.lang.Class javaType)

getType

Type getType(javax.xml.namespace.QName xmlType)

getTypeQName

javax.xml.namespace.QName getTypeQName(java.lang.Class clazz)

getEncodingStyleURI

java.lang.String getEncodingStyleURI()

setEncodingStyleURI

void setEncodingStyleURI(java.lang.String encodingStyleURI)


Copyright © 2004 Codehaus. All Rights Reserved.