public interface FIXMLConverter
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DEFAULT_ENCODING |
Modifier and Type | Method and Description |
---|---|
com.epam.fixml.converter.FIXMLConverterData |
convertToFIX(java.io.InputStream inputStream)
Converts byte stream of FIXML message to list of FIX messages.
|
com.epam.fixml.converter.FIXMLConverterData |
convertToFIX(java.io.InputStream inputStream,
java.lang.String encoding)
Converts byte stream of FIXML message to list of FIX messages.
|
com.epam.fixml.converter.FIXMLConverterData |
convertToFIX(java.io.Reader reader)
Converts char stream of FIXML message to list of FIX messages.
|
com.epam.fixml.converter.FIXMLConverterData |
convertToFIX(java.io.Reader reader,
java.lang.String encoding)
Converts char stream of FIXML message to list of FIX messages.
|
com.epam.fixml.converter.FIXMLConverterData |
convertToFIX(java.lang.String str)
Converts FIXML message string to list of FIX messages.
|
com.epam.fixml.converter.FIXMLConverterData |
convertToFIX(java.lang.String str,
java.lang.String encoding)
Converts FIXML message string to list of FIX messages.
|
com.epam.fixml.converter.FIXMLConverterData |
convertToFIX(org.xml.sax.XMLReader xmlReader,
org.xml.sax.InputSource inputSource)
Converts FIXML message to list of FIX messages using specified instances of XML parser and input source.
|
com.epam.fixml.converter.FIXMLConverterData |
convertToFIX(org.xml.sax.XMLReader xmlReader,
org.xml.sax.InputSource inputSource,
java.lang.String encoding)
Converts FIXML message to list of FIX messages using specified instances of XML parser and input source.
|
java.lang.String |
convertToFIXML(com.epam.fixml.converter.FIXMLConverterData fixmlConverterData)
Converts FIX messages to FIXML message string.
|
void |
convertToFIXML(com.epam.fixml.converter.FIXMLConverterData fixmlConverterData,
org.xml.sax.ContentHandler contentHandler)
Converts FIX messages to FIXML message using specified XML serializer.
|
void |
convertToFIXML(com.epam.fixml.converter.FIXMLConverterData fixmlConverterData,
org.xml.sax.ContentHandler contentHandler,
java.lang.String encoding)
Converts FIX messages to FIXML message using specified XML serializer.
|
void |
convertToFIXML(com.epam.fixml.converter.FIXMLConverterData fixmlConverterData,
java.io.OutputStream outputStream)
Converts FIX messages to FIXML message byte stream.
|
void |
convertToFIXML(com.epam.fixml.converter.FIXMLConverterData fixmlConverterData,
java.io.OutputStream outputStream,
java.lang.String encoding)
Converts FIX messages to FIXML message byte stream.
|
java.lang.String |
convertToFIXML(com.epam.fixml.converter.FIXMLConverterData fixmlConverterData,
java.lang.String encoding)
Converts FIX messages to FIXML message string.
|
void |
convertToFIXML(com.epam.fixml.converter.FIXMLConverterData fixmlConverterData,
java.io.Writer writer)
Converts FIX messages to FIXML message char stream.
|
void |
convertToFIXML(com.epam.fixml.converter.FIXMLConverterData fixmlConverterData,
java.io.Writer writer,
java.lang.String encoding)
Converts FIX messages to FIXML message char stream.
|
static final java.lang.String DEFAULT_ENCODING
com.epam.fixml.converter.FIXMLConverterData convertToFIX(java.lang.String str) throws com.epam.fixml.converter.FIXMLConverterException
str
- the string representation of the FIXML message.FIXMLConverterException
- if FIXML message cannot be parsed of FIX message cannot be composed.com.epam.fixml.converter.FIXMLConverterData convertToFIX(java.lang.String str, java.lang.String encoding) throws com.epam.fixml.converter.FIXMLConverterException
str
- the string representation of the FIXML message.encoding
- encoding of incoming contentFIXMLConverterException
- if FIXML message cannot be parsed of FIX message cannot be composed.com.epam.fixml.converter.FIXMLConverterData convertToFIX(java.io.Reader reader) throws com.epam.fixml.converter.FIXMLConverterException
reader
- the char stream representation of the FIXML message.FIXMLConverterException
- if FIXML message cannot be parsed of FIX message cannot be composed.com.epam.fixml.converter.FIXMLConverterData convertToFIX(java.io.Reader reader, java.lang.String encoding) throws com.epam.fixml.converter.FIXMLConverterException
reader
- the char stream representation of the FIXML message.encoding
- encoding of incoming contentFIXMLConverterException
- if FIXML message cannot be parsed of FIX message cannot be composed.com.epam.fixml.converter.FIXMLConverterData convertToFIX(java.io.InputStream inputStream) throws com.epam.fixml.converter.FIXMLConverterException
inputStream
- the byte stream representation of the FIXML message.FIXMLConverterException
- if FIXML message cannot be parsed of FIX message cannot be composed.com.epam.fixml.converter.FIXMLConverterData convertToFIX(java.io.InputStream inputStream, java.lang.String encoding) throws com.epam.fixml.converter.FIXMLConverterException
inputStream
- the byte stream representation of the FIXML message.encoding
- encoding of incoming contentFIXMLConverterException
- if FIXML message cannot be parsed of FIX message cannot be composed.com.epam.fixml.converter.FIXMLConverterData convertToFIX(org.xml.sax.XMLReader xmlReader, org.xml.sax.InputSource inputSource) throws com.epam.fixml.converter.FIXMLConverterException
xmlReader
- the instance of SAX2 XML parser.inputSource
- the input source of FIXML message.FIXMLConverterException
- if FIXML message cannot be parsed or FIX message cannot be composed.java.lang.NullPointerException
- if xmlReader
is null.com.epam.fixml.converter.FIXMLConverterData convertToFIX(org.xml.sax.XMLReader xmlReader, org.xml.sax.InputSource inputSource, java.lang.String encoding) throws com.epam.fixml.converter.FIXMLConverterException
xmlReader
- the instance of SAX2 XML parser.inputSource
- the input source of FIXML message.encoding
- encoding of incoming contentFIXMLConverterException
- if FIXML message cannot be parsed or FIX message cannot be composed.java.lang.NullPointerException
- if xmlReader
is null.java.lang.String convertToFIXML(com.epam.fixml.converter.FIXMLConverterData fixmlConverterData) throws com.epam.fixml.converter.FIXMLConverterException
fixmlConverterData
- the list of FIX messages with preparsed attributes for the FIXML and Batch elements
and name spaces for the FIXML element.FIXMLConverterException
- if message cannot be converted to the FIXML message.java.lang.String convertToFIXML(com.epam.fixml.converter.FIXMLConverterData fixmlConverterData, java.lang.String encoding) throws com.epam.fixml.converter.FIXMLConverterException
fixmlConverterData
- the list of FIX messages with preparsed attributes for the FIXML and Batch elements
and name spaces for the FIXML element.encoding
- encoding of incoming contentFIXMLConverterException
- if message cannot be converted to the FIXML message.void convertToFIXML(com.epam.fixml.converter.FIXMLConverterData fixmlConverterData, java.io.Writer writer) throws com.epam.fixml.converter.FIXMLConverterException
fixmlConverterData
- the list of FIX messages with preparsed attributes for the FIXML and Batch elements
and name spaces for the FIXML element.writer
- the writer of char stream representation of FIXML message.FIXMLConverterException
- if message cannot be converted to the FIXML message.void convertToFIXML(com.epam.fixml.converter.FIXMLConverterData fixmlConverterData, java.io.Writer writer, java.lang.String encoding) throws com.epam.fixml.converter.FIXMLConverterException
fixmlConverterData
- the list of FIX messages with preparsed attributes for the FIXML and Batch elements
and name spaces for the FIXML element.writer
- the writer of char stream representation of FIXML message.encoding
- encoding of incoming contentFIXMLConverterException
- if message cannot be converted to the FIXML message.void convertToFIXML(com.epam.fixml.converter.FIXMLConverterData fixmlConverterData, java.io.OutputStream outputStream) throws com.epam.fixml.converter.FIXMLConverterException
fixmlConverterData
- the list of FIX messages with preparsed attributes for the FIXML and Batch elements
and name spaces for the FIXML element.outputStream
- the writer of byte stream representation of FIXML message.FIXMLConverterException
- if message cannot be converted to the FIXML message.void convertToFIXML(com.epam.fixml.converter.FIXMLConverterData fixmlConverterData, java.io.OutputStream outputStream, java.lang.String encoding) throws com.epam.fixml.converter.FIXMLConverterException
fixmlConverterData
- the list of FIX messages with preparsed attributes for the FIXML and Batch elements
and name spaces for the FIXML element.outputStream
- the writer of byte stream representation of FIXML message.encoding
- encoding of incoming contentFIXMLConverterException
- if message cannot be converted to the FIXML message.void convertToFIXML(com.epam.fixml.converter.FIXMLConverterData fixmlConverterData, org.xml.sax.ContentHandler contentHandler) throws com.epam.fixml.converter.FIXMLConverterException
fixmlConverterData
- the list of FIX messages with preparsed attributes for the FIXML and Batch elements
and name spaces for the FIXML element.contentHandler
- the XML serializer.FIXMLConverterException
- if FIX message is invalid or FIXML message cannot be composed.void convertToFIXML(com.epam.fixml.converter.FIXMLConverterData fixmlConverterData, org.xml.sax.ContentHandler contentHandler, java.lang.String encoding) throws com.epam.fixml.converter.FIXMLConverterException
fixmlConverterData
- the list of FIX messages with preparsed attributes for the FIXML and Batch elements
and name spaces for the FIXML element.contentHandler
- the XML serializer.encoding
- encoding of incoming contentFIXMLConverterException
- if FIX message is invalid or FIXML message cannot be composed.Copyright © 2000-2018 EPAM Systems. All Rights Reserved.