org.jvnet.hyperjaxb3.xml.bind
Class JAXBContextUtils
java.lang.Object
org.jvnet.hyperjaxb3.xml.bind.JAXBContextUtils
public class JAXBContextUtils
- extends Object
|
Method Summary |
static JAXBContext |
getJAXBContext(String contextPath)
|
static boolean |
isElement(String contextPath,
Object object)
|
static boolean |
isMarshallable(String contextPath,
Object object)
|
static boolean |
isMarshallableElement(Object object)
|
static boolean |
isMarshallableObject(String contextPath,
Object object)
|
static String |
marshal(JAXBContext context,
Object object)
|
static String |
marshal(String contextPath,
Object object)
|
static String |
marshalElement(Object object)
|
static String |
marshalJAXBElement(String contextPath,
JAXBElement<Object> object)
|
static String |
marshalObject(String contextPath,
Object object)
|
static Object |
unmarshal(JAXBContext context,
String object)
|
static Object |
unmarshal(String contextPath,
String string)
|
static Object |
unmarshalElement(String object)
|
static JAXBElement<Object> |
unmarshalJAXBElement(String contextPath,
QName name,
Class<?> scope,
String object)
|
static Object |
unmarshalObject(String contextPath,
String object)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
isElement
public static boolean isElement(String contextPath,
Object object)
isMarshallable
public static boolean isMarshallable(String contextPath,
Object object)
isMarshallableElement
public static boolean isMarshallableElement(Object object)
marshalElement
public static String marshalElement(Object object)
unmarshalElement
public static Object unmarshalElement(String object)
isMarshallableObject
public static boolean isMarshallableObject(String contextPath,
Object object)
marshalObject
public static String marshalObject(String contextPath,
Object object)
unmarshalObject
public static Object unmarshalObject(String contextPath,
String object)
marshal
public static String marshal(String contextPath,
Object object)
marshalJAXBElement
public static String marshalJAXBElement(String contextPath,
JAXBElement<Object> object)
marshal
public static String marshal(JAXBContext context,
Object object)
unmarshal
public static Object unmarshal(String contextPath,
String string)
getJAXBContext
public static JAXBContext getJAXBContext(String contextPath)
throws JAXBException
- Throws:
JAXBException
unmarshalJAXBElement
public static JAXBElement<Object> unmarshalJAXBElement(String contextPath,
QName name,
Class<?> scope,
String object)
unmarshal
public static Object unmarshal(JAXBContext context,
String object)
Copyright © 2005-2014. All Rights Reserved.