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