public void startElement(String uri,String localName,String qName,Attributes attributes) throws SAXException {
  try {
    if (qName.equals("packages") && packages.size() > 0) {
      throw new RuntimeException("packages can not be specified in ASDoc_Config.xml and as a Flex parameter");
    }
    writer.newLine();
    writer.write("<" + qName);
    for (int i=0; i < attributes.getLength(); i++) {
      writer.write(" " + attributes.getQName(i) + "=\""+ attributes.getValue(i)+ "\"");
    }
    writer.write(">");
  }
 catch (  IOException ioe) {
    throw new SAXException(ioe);
  }
}

public void startElement ( String uri , String localName , String qName , Attributes attributes ) throws SAXException { try { if ( qName . equals ( "packages" ) && packages . size ( ) > 0 ) { throw new RuntimeException ( "packages can not be specified in ASDoc_Config.xml and as a Flex parameter" ) ; } writer . newLine ( ) ; writer . write ( "<" + qName ) ; for ( int i = 0 ; i < attributes . getLength ( ) ; i ++ ) { writer . write ( " " + attributes . getQName ( i ) + "=\"" + attributes . getValue ( i ) + "\"" ) ; } writer . write ( ">" ) ; } catch ( IOException ioe ) { throw new SAXException ( ioe ) ; } }
implementation for default handler method
