Class KiePMMLUtil
- java.lang.Object
-
- org.kie.pmml.compiler.commons.utils.KiePMMLUtil
-
public class KiePMMLUtil extends Object
Utility class to decouplePMMLCompilerExecutorfrom actual marshalling model/implementation. Currently, it directly usesPMMLUtilandPMML
-
-
Field Summary
Fields Modifier and Type Field Description static StringSEGMENTID_TEMPLATE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.dmg.pmml.PMMLload(InputStream is, String fileName)static org.dmg.pmml.PMMLload(String source)
-
-
-
Field Detail
-
SEGMENTID_TEMPLATE
public static final String SEGMENTID_TEMPLATE
- See Also:
- Constant Field Values
-
-
Method Detail
-
load
public static org.dmg.pmml.PMML load(String source) throws SAXException, JAXBException
- Parameters:
source-- Returns:
- Throws:
SAXExceptionJAXBException
-
load
public static org.dmg.pmml.PMML load(InputStream is, String fileName) throws SAXException, JAXBException
- Parameters:
is-- Returns:
- Throws:
SAXExceptionJAXBException- See Also:
PMMLUtil.unmarshal(InputStream)
-
-