public class PMMLUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static PMML |
load(ClassLoader clazzLoader) |
static PMML |
load(URL url) |
static void |
marshal(PMML pmml,
OutputStream os) |
static PMML |
unmarshal(InputStream is) |
public static PMML load(URL url) throws IOException
url - A pointer to a PMML service provider JAR file.IOExceptionServiceLoaderUtil.load(Class, ClassLoader)public static PMML load(ClassLoader clazzLoader)
clazzLoader - A class loader holding a PMML service provider configuration, classes and resources.ServiceLoaderUtil.load(Class, ClassLoader)public static PMML unmarshal(InputStream is) throws ParserConfigurationException, SAXException, jakarta.xml.bind.JAXBException
ParserConfigurationExceptionSAXExceptionjakarta.xml.bind.JAXBExceptionJAXBUtil.unmarshalPMML(Source)public static void marshal(PMML pmml, OutputStream os) throws jakarta.xml.bind.JAXBException
jakarta.xml.bind.JAXBExceptionJAXBUtil.marshalPMML(PMML, Result)Copyright © 2024. All rights reserved.