-
- All Known Implementing Classes:
FIPXMLParser,FPMLParser
public interface XMLParserInterface for XML parsers creating a product descriptor from an XML file.- Author:
- Christian Fries, Roland Bachl
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ProductDescriptorgetProductDescriptor(File file)Parse a product descriptor from a file.
-
-
-
Method Detail
-
getProductDescriptor
ProductDescriptor getProductDescriptor(File file) throws SAXException, IOException, ParserConfigurationException
Parse 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.
-
-