Пример #1
0
 public void startElement(
     String nsURI, String localName, String qName, Attributes attrs, DelegationManager dm)
     throws SAXException {
   if (depth == 1) {
     dm.delegate(new XMLAnnotationTypeHandler());
   }
   ++depth;
 }
Пример #2
0
 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;
 }
Пример #3
0
 public void startElement(
     String nsURI, String localName, String qName, Attributes attrs, DelegationManager dm)
     throws SAXException {
   FilterHandler h = getHandler(nsURI, localName);
   dm.delegate(h);
 }