|
Apache CXF API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TypeMapping
Abstraction for the map between Java types (represented as
Type
and Aegis types.
Method Summary | |
---|---|
String |
getMappingIdentifierURI()
Each mapping has a URI that identifies it. |
AegisType |
getType(QName xmlType)
|
AegisType |
getType(Type javaType)
|
TypeCreator |
getTypeCreator()
|
QName |
getTypeQName(Type clazz)
|
boolean |
isRegistered(QName xmlType)
Returns a flag indicating if this type mapping has a mapping for a particular XML Schema QName. |
boolean |
isRegistered(Type javaType)
Returns a flag indicating if this type mapping has a mapping for a particular Java class. |
void |
register(AegisType type)
Register a type that self-describes the schema type and the Java class. |
void |
register(Type javaType,
QName xmlType,
AegisType type)
Register a type, manually specifying the java class, the schema type, and the Aegis type object that provides serialization, deserialization, and schema. |
void |
removeType(AegisType type)
|
void |
setMappingIdentifierURI(String uri)
This exists only to deal with an initialization order problem. |
Method Detail |
---|
boolean isRegistered(Type javaType)
javaType
- the class.
true
if there is a mapping for the type.boolean isRegistered(QName xmlType)
xmlType
- the QName.
true
if there is a mapping for the type.void register(Type javaType, QName xmlType, AegisType type)
javaType
- Java class.xmlType
- XML Schema type QName.type
- Aegis type object.void register(AegisType type)
type
- Aegis type object thatvoid removeType(AegisType type)
AegisType getType(Type javaType)
AegisType getType(QName xmlType)
QName getTypeQName(Type clazz)
TypeCreator getTypeCreator()
String getMappingIdentifierURI()
void setMappingIdentifierURI(String uri)
uri
-
|
Apache CXF API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |