public class JAXBUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static JAXBContext |
getContext() |
static void |
marshal(Marshaller marshaller,
Object object,
Result result)
Marshals any class model object.
|
static void |
marshalPMML(Marshaller marshaller,
PMML pmml,
Result result)
Marshals a
PMML class model object. |
static void |
marshalPMML(PMML pmml,
Result result) |
static Object |
unmarshal(Unmarshaller unmarshaller,
Source source)
Unmarshals any class model object.
|
static PMML |
unmarshalPMML(Source source) |
static PMML |
unmarshalPMML(Unmarshaller unmarshaller,
Source source)
Unmarshals a
PMML class model object. |
public static PMML unmarshalPMML(Source source) throws JAXBException
JAXBExceptionpublic static PMML unmarshalPMML(Unmarshaller unmarshaller, Source source) throws JAXBException
PMML class model object.source - Input source containing a complete PMML schema version 4.2 document.JAXBExceptionImportFilterpublic static Object unmarshal(Unmarshaller unmarshaller, Source source) throws JAXBException
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
JAXBExceptionpublic static void marshalPMML(Marshaller marshaller, PMML pmml, Result result) throws JAXBException
PMML class model object.JAXBExceptionExportFilterpublic static void marshal(Marshaller marshaller, Object object, Result result) throws JAXBException
JAXBExceptionpublic static JAXBContext getContext() throws JAXBException
JAXBExceptionCopyright © 2014 University of Tartu. All Rights Reserved.