src/main/java/pl/net/lkd/TagTools/Utils/TagList.java
/** The main method sets things up for parsing
   * @param arg - the name of the file to parse
   * @throws java.io.IOException
   * @throws org.xml.sax.SAXException
   * @throws javax.xml.parsers.ParserConfigurationException 
   */
The main method sets things up for parsing
@param arg - the name of the file to parse
@throws java.io.IOException
@throws org.xml.sax.SAXException
@throws javax.xml.parsers.ParserConfigurationException
The main method sets things up for parsing @param arg - the name of the file to parse @throws java . io . IOException @throws org . xml . sax . SAXException @throws javax . xml . parsers . ParserConfigurationException
public static void main(String arg) throws IOException, SAXException, ParserConfigurationException
  {
    SAXParserFactory factory = SAXParserFactory.newInstance();
    factory.setValidating(false);     
    factory.setNamespaceAware(false); 
    SAXParser parser = factory.newSAXParser();
    parser.parse(new File(arg), new TagList());
  }
public static void main ( String arg ) throws IOException , SAXException , ParserConfigurationException { SAXParserFactory factory = SAXParserFactory . newInstance ( ) ; factory . setValidating ( false ) ; factory . setNamespaceAware ( false ) ; SAXParser parser = factory . newSAXParser ( ) ; parser . parse ( new File ( arg ) , new TagList ( ) ) ; }
The main method sets things up for parsing
 @param arg - the name of the file to parse
 @throws java.io.IOException
 @throws org.xml.sax.SAXException
 @throws javax.xml.parsers.ParserConfigurationException
The main method sets things up for parsing @param arg - the name of the file to parse @throws java . io . IOException @throws org . xml . sax . SAXException @throws javax . xml . parsers . ParserConfigurationException
// We use a SAXParserFactory to obtain a SAXParser, which // encapsulates a SAXReader. // We don't want validation // No namespaces please // Create a SAXParser object from the factory // Now parse the file specified on the command line using // an instance of this class to handle the parser callbacks