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
XMLParser
getProductDescriptor
in interface XMLParser
file
- 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 © 2020. All rights reserved.