com.epam.fixml.converter.schema
Class FIXML50SP2Converter
java.lang.Object
com.epam.fixml.converter.AbstractFIXMLConverter
com.epam.fixml.converter.schema.FIXML50SP2Converter
- All Implemented Interfaces:
- FIXMLConverter
public class FIXML50SP2Converter
- extends AbstractFIXMLConverter
FIXMLConverter implementation for FIX 5.0SP2 version.
Method Summary |
com.epam.fixml.converter.FIXMLConverterData |
convertToFIX(XMLReader xmlReader,
InputSource inputSource,
String encoding)
Converts FIXML message to list of FIX messages using specified instances of XML parser and input source. |
void |
convertToFIXML(com.epam.fixml.converter.FIXMLConverterData fixmlConverterData,
ContentHandler contentHandler,
String encoding)
Converts FIX messages to FIXML message using specified XML serializer. |
Methods inherited from class com.epam.fixml.converter.AbstractFIXMLConverter |
convertToFIX, convertToFIX, convertToFIX, convertToFIX, convertToFIX, convertToFIX, convertToFIX, convertToFIXML, convertToFIXML, convertToFIXML, convertToFIXML, convertToFIXML, convertToFIXML, convertToFIXML, getFIXVersion |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FIXML50SP2Converter
public FIXML50SP2Converter()
convertToFIX
public com.epam.fixml.converter.FIXMLConverterData convertToFIX(XMLReader xmlReader,
InputSource inputSource,
String encoding)
throws com.epam.fixml.converter.FIXMLConverterException
- Description copied from interface:
FIXMLConverter
- Converts FIXML message to list of FIX messages using specified instances of XML parser and input source.
If the instance of the converter is shared between different threads then different instances of XML parser
must be used.
- Parameters:
xmlReader
- the instance of SAX2 XML parser.inputSource
- the input source of FIXML message.encoding
- encoding of incoming content
- Returns:
- list of FIX messages with preparsed attributes for the FIXML and Batch elements
and name spaces for the FIXML element.
- Throws:
FIXMLConverterException
- if FIXML message cannot be parsed or FIX message cannot be composed.
convertToFIXML
public void convertToFIXML(com.epam.fixml.converter.FIXMLConverterData fixmlConverterData,
ContentHandler contentHandler,
String encoding)
throws com.epam.fixml.converter.FIXMLConverterException
- Description copied from interface:
FIXMLConverter
- Converts FIX messages to FIXML message using specified XML serializer.
- Parameters:
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 content
- Throws:
FIXMLConverterException
- if FIX message is invalid or FIXML message cannot be composed.
Copyright © 2000-2012 EPAM Systems. All Rights Reserved.