org.jpmml.manager
Class IOUtil

java.lang.Object
  extended by org.jpmml.manager.IOUtil

public class IOUtil
extends Object


Method Summary
static Source createImportSource(InputSource source)
           
static void marshal(PMML pmml, File file)
           
static void marshal(PMML pmml, OutputStream os)
           
static void marshal(PMML pmml, Result result)
           
static PMML unmarshal(File file)
           
static PMML unmarshal(InputSource source)
           
static PMML unmarshal(InputStream is)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createImportSource

public static Source createImportSource(InputSource source)
                                 throws SAXException
Throws:
SAXException

unmarshal

public static PMML unmarshal(File file)
                      throws IOException,
                             SAXException,
                             javax.xml.bind.JAXBException
Throws:
IOException
SAXException
javax.xml.bind.JAXBException

unmarshal

public static PMML unmarshal(InputStream is)
                      throws SAXException,
                             javax.xml.bind.JAXBException
Throws:
SAXException
javax.xml.bind.JAXBException

unmarshal

public static PMML unmarshal(InputSource source)
                      throws SAXException,
                             javax.xml.bind.JAXBException
Throws:
SAXException
javax.xml.bind.JAXBException

marshal

public static void marshal(PMML pmml,
                           File file)
                    throws IOException,
                           javax.xml.bind.JAXBException
Throws:
IOException
javax.xml.bind.JAXBException

marshal

public static void marshal(PMML pmml,
                           OutputStream os)
                    throws javax.xml.bind.JAXBException
Throws:
javax.xml.bind.JAXBException

marshal

public static void marshal(PMML pmml,
                           Result result)
                    throws javax.xml.bind.JAXBException
Throws:
javax.xml.bind.JAXBException


Copyright © 2013 University of Tartu. All Rights Reserved.