/**
- * Open the selected file and show the GUI dialog
- * to select load options
+ * Open the selected file and show the GUI dialog to select load options
+ * @param inFile File to open
*/
public void openFile(File inFile)
{
* @see org.xml.sax.ContentHandler#startElement(java.lang.String, java.lang.String, java.lang.String, org.xml.sax.Attributes)
*/
public void startElement(String uri, String localName, String qName,
- Attributes attributes) throws SAXException
+ Attributes attributes) throws SAXException
{
// Check for "kml" or "gpx" tags
if (_handler == null)
* @see org.xml.sax.ContentHandler#characters(char[], int, int)
*/
public void characters(char[] ch, int start, int length)
- throws SAXException
+ throws SAXException
{
if (_handler != null)
{
* @see org.xml.sax.ContentHandler#endElement(java.lang.String, java.lang.String, java.lang.String)
*/
public void endElement(String uri, String localName, String qName)
- throws SAXException
+ throws SAXException
{
if (_handler != null)
{
}
super.endElement(uri, localName, qName);
}
+
+ /**
+ * @return The Xml handler used for the parsing
+ */
+ public XmlHandler getHandler()
+ {
+ return _handler;
+ }
}