public class MarshalUtils extends Object
| Constructor and Description |
|---|
MarshalUtils() |
| Modifier and Type | Method and Description |
|---|---|
static Schema |
getDslSchema() |
static String |
marshal(Object object) |
static String |
marshal(Object object,
Schema schema) |
static String |
marshalProcess(Process process) |
static String |
marshalProcess(Process process,
Schema schema) |
static JAXBElement |
unmarshal(Document xmlDocument,
Class clazz) |
static JAXBElement |
unmarshal(org.jdom.Document xmlDocument,
Class clazz) |
static JAXBElement |
unmarshal(Document xmlDocument,
Class clazz,
Schema schema) |
static JAXBElement |
unmarshal(org.jdom.Document xmlDocument,
Class clazz,
Schema schema) |
static Process |
unmarshalProcess(org.jdom.Document xmlDocument) |
static Process |
unmarshalProcess(org.jdom.Document xmlDocument,
Schema schema) |
static Process |
unmarshalProcess(InputStream xmlDocument) |
static Process |
unmarshalProcess(InputStream xmlDocument,
Schema schema) |
static Process |
unmarshalProcess(String xmlDocument) |
static Process |
unmarshalProcess(String xmlDocument,
Schema schema) |
public static String marshalProcess(Process process) throws JAXBException
JAXBExceptionpublic static String marshalProcess(Process process, Schema schema) throws JAXBException
JAXBExceptionpublic static String marshal(Object object) throws JAXBException
JAXBExceptionpublic static String marshal(Object object, Schema schema) throws JAXBException
JAXBExceptionpublic static JAXBElement unmarshal(Document xmlDocument, Class clazz) throws JAXBException
JAXBExceptionpublic static JAXBElement unmarshal(Document xmlDocument, Class clazz, Schema schema) throws JAXBException
JAXBExceptionpublic static JAXBElement unmarshal(org.jdom.Document xmlDocument, Class clazz) throws JAXBException, org.jdom.JDOMException
JAXBExceptionorg.jdom.JDOMExceptionpublic static JAXBElement unmarshal(org.jdom.Document xmlDocument, Class clazz, Schema schema) throws JAXBException, org.jdom.JDOMException
JAXBExceptionorg.jdom.JDOMExceptionpublic static Process unmarshalProcess(InputStream xmlDocument) throws JAXBException, ParserConfigurationException, SAXException, IOException
public static Process unmarshalProcess(InputStream xmlDocument, Schema schema) throws JAXBException, ParserConfigurationException, SAXException, IOException
public static Process unmarshalProcess(org.jdom.Document xmlDocument) throws JAXBException, org.jdom.JDOMException
JAXBExceptionorg.jdom.JDOMExceptionpublic static Process unmarshalProcess(org.jdom.Document xmlDocument, Schema schema) throws JAXBException, org.jdom.JDOMException
JAXBExceptionorg.jdom.JDOMExceptionpublic static Process unmarshalProcess(String xmlDocument) throws JAXBException, ParserConfigurationException, SAXException, IOException
public static Process unmarshalProcess(String xmlDocument, Schema schema) throws JAXBException, ParserConfigurationException, SAXException, IOException
public static Schema getDslSchema() throws SAXException
SAXExceptionCopyright © 2016. All rights reserved.