Class XMLParser
- java.lang.Object
-
- com.prowidesoftware.swift.io.parser.XMLParser
-
public class XMLParser extends java.lang.Object
This is the main parser for WIFE's XML internal representation.
The supported XML format is consider internal because it is an ad-hoc defined XML structure for Swift messages, so it's not the SWIFT XML Standard for FIN Messages.
This implementation should be used by calling some of the the conversion services.
- Since:
- 5.0
- See Also:
IConversionService
-
-
Constructor Summary
Constructors Constructor Description XMLParser()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SwiftMessage
parse(java.lang.String xml)
Given a String containing a message in its WIFE internal XML representation, returns a SwiftMessage object.
-
-
-
Method Detail
-
parse
public SwiftMessage parse(java.lang.String xml)
Given a String containing a message in its WIFE internal XML representation, returns a SwiftMessage object. If there is any error during conversion this method returns null- Parameters:
xml
- the string containing the XML to parse- Returns:
- the XML parsed into a SwiftMessage object
- See Also:
IConversionService.getMessageFromXML(java.lang.String)
-
-