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