| Constructor and Description |
|---|
FPMLParser(String homePartyId,
String discountCurveName)
Construct the parser.
|
| Modifier and Type | Method and Description |
|---|---|
ProductDescriptor |
getProductDescriptor(File file)
Parse a product descriptor from a file.
|
public ProductDescriptor getProductDescriptor(File file) throws SAXException, IOException, ParserConfigurationException
XMLParsergetProductDescriptor in interface XMLParserfile - File containing a trade.SAXException - Thrown by the xml parser.IOException - Thrown if the file in not found or another IO error occured.ParserConfigurationException - Thrown by the xml parser.Copyright © 2019. All rights reserved.