Class ObjectTypeAdapter
- java.lang.Object
-
- javax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,ObjectType>
-
- org.citydb.database.schema.mapping.ObjectTypeAdapter
-
public class ObjectTypeAdapter extends javax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,ObjectType>
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
ObjectTypeAdapter()
ObjectTypeAdapter(SchemaMapping schemaMapping)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
marshal(ObjectType type)
ObjectType
unmarshal(java.lang.String id)
-
-
-
Constructor Detail
-
ObjectTypeAdapter
protected ObjectTypeAdapter()
-
ObjectTypeAdapter
public ObjectTypeAdapter(SchemaMapping schemaMapping)
-
-
Method Detail
-
unmarshal
public ObjectType unmarshal(java.lang.String id) throws java.lang.Exception
- Specified by:
unmarshal
in classjavax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,ObjectType>
- Throws:
java.lang.Exception
-
marshal
public java.lang.String marshal(ObjectType type) throws java.lang.Exception
- Specified by:
marshal
in classjavax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,ObjectType>
- Throws:
java.lang.Exception
-
-