org.deegree.commons.xml.jaxb
Class JAXBUtils

java.lang.Object
  extended by org.deegree.commons.xml.jaxb.JAXBUtils

public class JAXBUtils
extends Object

Version:
$Revision: 31814 $, $Date: 2011-09-07 16:53:54 +0200 (Wed, 07 Sep 2011) $
Author:
Andreas Schmitz, last edited by: $Author: aschmitz $

Constructor Summary
JAXBUtils()
           
 
Method Summary
static void fixThreadLocalLeaks()
          Call this once you're done in the thread that uses jaxb (un-)marshalling.
static Object unmarshall(String jaxbPackage, String schemaLocation, XMLAdapter xmlAdapter, DeegreeWorkspace workspace)
          Deprecated. 
static Object unmarshall(String jaxbPackage, URL schemaLocation, URL url, DeegreeWorkspace workspace)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JAXBUtils

public JAXBUtils()
Method Detail

fixThreadLocalLeaks

public static void fixThreadLocalLeaks()
Call this once you're done in the thread that uses jaxb (un-)marshalling.


unmarshall

public static Object unmarshall(String jaxbPackage,
                                URL schemaLocation,
                                URL url,
                                DeegreeWorkspace workspace)
                         throws JAXBException
Throws:
JAXBException

unmarshall

@Deprecated
public static Object unmarshall(String jaxbPackage,
                                           String schemaLocation,
                                           XMLAdapter xmlAdapter,
                                           DeegreeWorkspace workspace)
                         throws JAXBException
Deprecated. 

Use #unmarshall(String, URL, URL, DeegreeWorkspace) instead.

Throws:
JAXBException


Copyright © 2011. All Rights Reserved.