public interface TypeMapping
Type
and Aegis types.Modifier and Type | Method and Description |
---|---|
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.
|
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)
TypeCreator getTypeCreator()
String getMappingIdentifierURI()
void setMappingIdentifierURI(String uri)
uri
- Apache CXF