- All Known Implementing Classes:
FIPXMLParser
,FPMLParser
public interface XMLParser
Interface for XML parsers creating a product descriptor from an XML file.
- Author:
- Christian Fries, Roland Bachl
-
Method Summary
Modifier and TypeMethodDescriptiongetProductDescriptor(File file)
Parse a product descriptor from a file.
-
Method Details
-
getProductDescriptor
ProductDescriptor getProductDescriptor(File file) throws SAXException, IOException, ParserConfigurationExceptionParse a product descriptor from a file.- Parameters:
file
- File containing a trade.- Returns:
- Product descriptor extracted from the file.
- Throws:
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.
-