Class KiePMMLUtil
- java.lang.Object
-
- org.kie.pmml.compiler.commons.utils.KiePMMLUtil
-
public class KiePMMLUtil extends java.lang.ObjectUtility class to decouplePMMLCompilerExecutorfrom actual marshalling model/implementation. Currently, it directly usesPMMLUtilandPMML
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringSEGMENTID_TEMPLATE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.dmg.pmml.PMMLload(java.io.InputStream is, java.lang.String fileName)static org.dmg.pmml.PMMLload(java.lang.String source)
-
-
-
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.SAXExceptionjavax.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)
-
-