Class ServiceSchemaAdapter
- java.lang.Object
-
- javax.xml.bind.annotation.adapters.XmlAdapter<ServiceSchemaAdapter.ServiceSchemaAdapted,ServiceSchema>
-
- org.apache.aries.jax.rs.rest.management.schema.ServiceSchemaAdapter
-
public class ServiceSchemaAdapter extends XmlAdapter<ServiceSchemaAdapter.ServiceSchemaAdapted,ServiceSchema>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ServiceSchemaAdapter.ServiceSchemaAdapted
-
Constructor Summary
Constructors Constructor Description ServiceSchemaAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ServiceSchemaAdapter.ServiceSchemaAdapted
marshal(ServiceSchema serviceSchema)
ServiceSchema
unmarshal(ServiceSchemaAdapter.ServiceSchemaAdapted adapter)
-
-
-
Method Detail
-
marshal
public ServiceSchemaAdapter.ServiceSchemaAdapted marshal(ServiceSchema serviceSchema) throws Exception
- Specified by:
marshal
in classXmlAdapter<ServiceSchemaAdapter.ServiceSchemaAdapted,ServiceSchema>
- Throws:
Exception
-
unmarshal
public ServiceSchema unmarshal(ServiceSchemaAdapter.ServiceSchemaAdapted adapter) throws Exception
- Specified by:
unmarshal
in classXmlAdapter<ServiceSchemaAdapter.ServiceSchemaAdapted,ServiceSchema>
- Throws:
Exception
-
-