public class JAXBUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static Marshaller |
createMarshaller() |
static Unmarshaller |
createUnmarshaller() |
static JAXBContext |
getContext() |
static Schema |
getSchema() |
static void |
marshal(Object object,
Result result)
Marshals any class model object.
|
static void |
marshalPMML(PMML pmml,
Result result)
Marshals a
PMML class model object. |
static Object |
unmarshal(Source source)
Unmarshals any class model object.
|
static PMML |
unmarshalPMML(Source source)
Unmarshals a
PMML class model object. |
public static PMML unmarshalPMML(Source source) throws JAXBException
Unmarshals a PMML class model object.
source - Input source containing a complete PMML schema version 4.2 document.JAXBExceptionImportFilterpublic static Object unmarshal(Source source) throws JAXBException
Unmarshals any class model object.
source - Input source containing a complete PMML schema version 4.2 document or any fragment of it.JAXBExceptionpublic static void marshalPMML(PMML pmml, Result result) throws JAXBException
Marshals a PMML class model object.
JAXBExceptionExportFilterpublic static void marshal(Object object, Result result) throws JAXBException
Marshals any class model object.
JAXBExceptionpublic static Schema getSchema() throws IOException, SAXException
IOExceptionSAXExceptionpublic static JAXBContext getContext() throws JAXBException
JAXBExceptionpublic static Marshaller createMarshaller() throws JAXBException
JAXBExceptionpublic static Unmarshaller createUnmarshaller() throws JAXBException
JAXBExceptionCopyright © 2015 University of Tartu. All Rights Reserved.