org.gcube.common.resources.bindings
Class UntypedFacetAdapter
java.lang.Object
javax.xml.bind.annotation.adapters.XmlAdapter<Object,Facet>
org.gcube.common.resources.bindings.UntypedFacetAdapter
public class UntypedFacetAdapter
- extends XmlAdapter<Object,Facet>
JAXB helper to converts between Elements and UntypedFacets.
- Author:
- Fabio Simeoni
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UntypedFacetAdapter
public UntypedFacetAdapter()
marshal
public Object marshal(Facet facet)
throws Exception
- Specified by:
marshal in class XmlAdapter<Object,Facet>
- Throws:
Exception
unmarshal
public Facet unmarshal(Object object)
throws Exception
- Specified by:
unmarshal in class XmlAdapter<Object,Facet>
- Throws:
Exception
Copyright © 2012. All Rights Reserved.