org.gcube.common.resources.bindings
Class ResourceContext

java.lang.Object
  extended by org.gcube.common.resources.bindings.ResourceContext

public class ResourceContext
extends Object

A facade over a JAXBContext that binds Facet types found in classpath archives that include a marker file resourcePath.

Author:
Fabio Simeoni

Field Summary
static String resourcePath
           
 
Constructor Summary
ResourceContext()
           
 
Method Summary
static Marshaller marshaller()
           
static Unmarshaller unmarshaller()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

resourcePath

public static final String resourcePath
See Also:
Constant Field Values
Constructor Detail

ResourceContext

public ResourceContext()
Method Detail

unmarshaller

public static Unmarshaller unmarshaller()
                                 throws JAXBException
Throws:
JAXBException

marshaller

public static Marshaller marshaller()
                             throws JAXBException
Throws:
JAXBException


Copyright © 2012. All Rights Reserved.