Class JAXBUtils

  extended by

public final class JAXBUtils
extends Object

Contains utility methods that integrate JAXB with Axiom.

Method Summary
static Object unmarshal(JAXBContext context, OMElement element, boolean cache)
          Unmarshal the given element.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Method Detail


public static Object unmarshal(JAXBContext context,
                               OMElement element,
                               boolean cache)
                        throws JAXBException
Unmarshal the given element.

context - the JAXB context
element - the element to unmarshal
cache - true if the element must be preserved; false if it may be consumed during unmarshalling
the JAXB object
JAXBException - if an error occurs while unmarshalling

Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.