public void startElement(
     String nsURI, String localName, String qName, Attributes attrs, DelegationManager dm)
     throws SAXException {
   if (depth == 1) {
     dm.delegate(new XMLAnnotationTypeHandler());
   }
   ++depth;
 }
 public void startElement(
     String nsURI, String localName, String qName, Attributes attrs, DelegationManager dm)
     throws SAXException {
   if (depth == 1) {
     FilterHandler childHandler = config.getHandler(nsURI, localName);
     dm.delegate(childHandler);
   }
   ++depth;
 }
 public void startElement(
     String nsURI, String localName, String qName, Attributes attrs, DelegationManager dm)
     throws SAXException {
   FilterHandler h = getHandler(nsURI, localName);
   dm.delegate(h);
 }