public class JAXBUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static <E extends PMMLObject> |
clone(E object) |
static <E extends PMMLObject> |
clone(JAXBContext context,
E object) |
static Marshaller |
createMarshaller() |
static Unmarshaller |
createUnmarshaller() |
static JAXBContext |
getContext() |
static Class<?>[] |
getObjectFactoryClasses() |
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.4 document.JAXBExceptionImportFilterpublic static Object unmarshal(Source source) throws JAXBException
Unmarshals any class model object.
source - Input source containing a complete PMML schema version 4.4 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 Class<?>[] getObjectFactoryClasses()
public static Marshaller createMarshaller() throws JAXBException
JAXBExceptionpublic static Unmarshaller createUnmarshaller() throws JAXBException
JAXBExceptionpublic static <E extends PMMLObject> E clone(E object) throws JAXBException, IOException
JAXBExceptionIOExceptionpublic static <E extends PMMLObject> E clone(JAXBContext context, E object) throws JAXBException, IOException
JAXBExceptionIOExceptionCopyright © 2021. All rights reserved.