public class DataMinerInvocationManager extends Object
| Modifier and Type | Method and Description |
|---|---|
static DataMinerInvocationManager |
getInstance()
Gets the single instance of DataMinerInvocationManager.
|
ByteArrayOutputStream |
marshaling(DataMinerInvocation dmInvocation,
MediaType mediaType,
boolean validateModel)
Marshaling.
|
DataMinerInvocation |
unmarshaling(InputStream dmInvocationXMLStream,
MediaType mediaType,
boolean validateModel)
Unmarshaling.
|
public static DataMinerInvocationManager getInstance() throws JAXBException, IOException, SAXException
JAXBException - the JAXB exceptionIOException - Signals that an I/O exception has occurred.SAXException - the SAX exceptionpublic ByteArrayOutputStream marshaling(DataMinerInvocation dmInvocation, MediaType mediaType, boolean validateModel) throws JAXBException
dmInvocation - the dm invocationmediaType - the media type see at MediaTypevalidateModel - the validate model. If true performs model validation against the xml schema generated for DataMinerInvocationJAXBException - the JAXB exceptionpublic DataMinerInvocation unmarshaling(InputStream dmInvocationXMLStream, MediaType mediaType, boolean validateModel) throws JAXBException
dmInvocationXMLStream - the dm invocation xml streammediaType - the media type see at MediaTypevalidateModel - the validate model. If true performs model validation against the xml schema generated for DataMinerInvocationJAXBException - the JAXB exceptionCopyright © 2018. All Rights Reserved.