Class KiePMMLUtil


  • public class KiePMMLUtil
    extends java.lang.Object
    Utility class to decouple PMMLCompilerExecutor from actual marshalling model/implementation. Currently, it directly uses PMMLUtil and PMML
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String SEGMENTID_TEMPLATE  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static org.dmg.pmml.PMML load​(java.io.InputStream is, java.lang.String fileName)  
      static org.dmg.pmml.PMML load​(java.lang.String source)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • SEGMENTID_TEMPLATE

        public static final java.lang.String SEGMENTID_TEMPLATE
        See Also:
        Constant Field Values
    • Method Detail

      • load

        public static org.dmg.pmml.PMML load​(java.lang.String source)
                                      throws org.xml.sax.SAXException,
                                             javax.xml.bind.JAXBException
        Parameters:
        source -
        Returns:
        Throws:
        org.xml.sax.SAXException
        javax.xml.bind.JAXBException
      • load

        public static org.dmg.pmml.PMML load​(java.io.InputStream is,
                                             java.lang.String fileName)
        Parameters:
        is -
        Returns:
        See Also:
        PMMLUtil.unmarshal(InputStream)