org.gcube.common.resources.bindings
Class UntypedFacetAdapter

java.lang.Object
  extended by javax.xml.bind.annotation.adapters.XmlAdapter<Object,Facet>
      extended by org.gcube.common.resources.bindings.UntypedFacetAdapter

public class UntypedFacetAdapter
extends XmlAdapter<Object,Facet>

JAXB helper to converts between Elements and UntypedFacets.

Author:
Fabio Simeoni

Constructor Summary
UntypedFacetAdapter()
           
 
Method Summary
 Object marshal(Facet facet)
           
 Facet unmarshal(Object object)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UntypedFacetAdapter

public UntypedFacetAdapter()
Method Detail

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.