Class PMMLUtil


  • public class PMMLUtil
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static PMML load​(java.lang.ClassLoader clazzLoader)  
      static PMML load​(java.net.URL url)  
      static void marshal​(PMML pmml, java.io.OutputStream os)  
      static PMML unmarshal​(java.io.InputStream is)  
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • load

        public static PMML load​(java.lang.ClassLoader clazzLoader)
        Parameters:
        clazzLoader - A class loader holding a PMML service provider configuration, classes and resources.
        See Also:
        ServiceLoaderUtil.load(Class, ClassLoader)
      • unmarshal

        public static PMML unmarshal​(java.io.InputStream is)
                              throws javax.xml.parsers.ParserConfigurationException,
                                     org.xml.sax.SAXException,
                                     jakarta.xml.bind.JAXBException
        Throws:
        javax.xml.parsers.ParserConfigurationException
        org.xml.sax.SAXException
        jakarta.xml.bind.JAXBException
      • marshal

        public static void marshal​(PMML pmml,
                                   java.io.OutputStream os)
                            throws jakarta.xml.bind.JAXBException
        Throws:
        jakarta.xml.bind.JAXBException