mkwan       2003/04/07 08:44:14

  Modified:    java/src/org/apache/xalan/xsltc/dom
                        AdaptiveResultTreeImpl.java
  Log:
  Need to override more startElement and endElement interfaces
  in AdaptiveResultTreeImpl, because it now extends EmptySerializer,
  which has a few more interfaces than the old TransletOutputHandler.
  
  Revision  Changes    Path
  1.4       +19 -0     
xml-xalan/java/src/org/apache/xalan/xsltc/dom/AdaptiveResultTreeImpl.java
  
  Index: AdaptiveResultTreeImpl.java
  ===================================================================
  RCS file: 
/home/cvs/xml-xalan/java/src/org/apache/xalan/xsltc/dom/AdaptiveResultTreeImpl.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- AdaptiveResultTreeImpl.java       3 Apr 2003 16:48:10 -0000       1.3
  +++ AdaptiveResultTreeImpl.java       7 Apr 2003 15:44:14 -0000       1.4
  @@ -73,6 +73,7 @@
   import javax.xml.transform.SourceLocator;
   import org.w3c.dom.Node;
   import org.w3c.dom.NodeList;
  +import org.xml.sax.Attributes;
   import org.xml.sax.SAXException;
   
   /**
  @@ -688,10 +689,28 @@
        _attributes.clear();
       }
   
  +    public void startElement(String uri, String localName, String qName)
  +        throws SAXException
  +    {
  +        startElement(qName);
  +    }
  +
  +    public void startElement(String uri, String localName, String qName, 
Attributes attributes)
  +        throws SAXException
  +    {
  +        startElement(qName);
  +    }
  +    
       public void endElement(String elementName) throws SAXException
       {    
        maybeEmitStartElement();
        _dom.endElement(null, null, elementName);
  +    }
  +
  +    public void endElement(String uri, String localName, String qName)
  +        throws SAXException
  +    {
  +        endElement(qName);
       }
   
       public void addAttribute(String name, String value)
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to