/** * Cleans up all the data structure so that the object can be reused later. * Normally, applications do not need to call this method directly, * * as the runtime resets itself after the endDocument method. */ public void reset() { attStack.clear(); currentAtts = null; currentHandler = null; indent=0; locator = null; namespaces.clear(); needIndent = true; redirect = null; redirectionDepth = 0; text = new StringBuffer(); // add a dummy attributes at the bottom as a "centinel." attStack.push(new AttributesImpl()); }
/** * Cleans up all the data structure so that the object can be reused later. * Normally, applications do not need to call this method directly, * * as the runtime resets itself after the endDocument method. */ public void reset() { attStack.clear(); currentAtts = null; currentHandler = null; indent=0; locator = null; namespaces.clear(); needIndent = true; redirect = null; redirectionDepth = 0; text = new StringBuffer(); // add a dummy attributes at the bottom as a "centinel." attStack.push(new AttributesImpl()); }
/** * Cleans up all the data structure so that the object can be reused later. * Normally, applications do not need to call this method directly, * * as the runtime resets itself after the endDocument method. */ public void reset() { attStack.clear(); currentAtts = null; currentHandler = null; indent=0; locator = null; namespaces.clear(); needIndent = true; redirect = null; redirectionDepth = 0; text = new StringBuffer(); // add a dummy attributes at the bottom as a "centinel." attStack.push(new AttributesImpl()); }
/** * Cleans up all the data structure so that the object can be reused later. * Normally, applications do not need to call this method directly, * * as the runtime resets itself after the endDocument method. */ public void reset() { attStack.clear(); currentAtts = null; currentHandler = null; indent=0; locator = null; namespaces.clear(); needIndent = true; redirect = null; redirectionDepth = 0; text = new StringBuffer(); // add a dummy attributes at the bottom as a "centinel." attStack.push(new AttributesImpl()); }
/** * Called by the generated handler code when an enter element * event is consumed. * * <p> * Pushes a new attribute set. * * <p> * Note that attributes are NOT pushed at the startElement method, * because the processing of the enterElement event can trigger * other attribute events and etc. * <p> * This method will be called from one of handlers when it truely * consumes the enterElement event. */ public void onEnterElementConsumed( String uri, String localName, String qname,Attributes atts) throws SAXException { attStack.push(currentAtts=new AttributesImpl(atts)); nsEffectiveStack.push( new Integer(nsEffectivePtr) ); nsEffectivePtr = namespaces.size(); }
/** * Called by the generated handler code when an enter element * event is consumed. * * <p> * Pushes a new attribute set. * * <p> * Note that attributes are NOT pushed at the startElement method, * because the processing of the enterElement event can trigger * other attribute events and etc. * <p> * This method will be called from one of handlers when it truely * consumes the enterElement event. */ public void onEnterElementConsumed( String uri, String localName, String qname,Attributes atts) throws SAXException { attStack.push(currentAtts=new AttributesImpl(atts)); nsEffectiveStack.push( new Integer(nsEffectivePtr) ); nsEffectivePtr = namespaces.size(); }
/** * Cleans up all the data structure so that the object can be reused later. * Normally, applications do not need to call this method directly, * * as the runtime resets itself after the endDocument method. */ public void reset() { attStack.clear(); currentAtts = null; currentHandler = null; indent=0; locator = null; namespaces.clear(); needIndent = true; redirect = null; redirectionDepth = 0; text = new StringBuffer(); // add a dummy attributes at the bottom as a "centinel." attStack.push(new AttributesImpl()); }
/** * Called by the generated handler code when an enter element * event is consumed. * * <p> * Pushes a new attribute set. * * <p> * Note that attributes are NOT pushed at the startElement method, * because the processing of the enterElement event can trigger * other attribute events and etc. * <p> * This method will be called from one of handlers when it truely * consumes the enterElement event. */ public void onEnterElementConsumed( String uri, String localName, String qname,Attributes atts) throws SAXException { attStack.push(currentAtts=new AttributesImpl(atts)); nsEffectiveStack.push( new Integer(nsEffectivePtr) ); nsEffectivePtr = namespaces.size(); }
/** * Called by the generated handler code when an enter element * event is consumed. * * <p> * Pushes a new attribute set. * * <p> * Note that attributes are NOT pushed at the startElement method, * because the processing of the enterElement event can trigger * other attribute events and etc. * <p> * This method will be called from one of handlers when it truely * consumes the enterElement event. */ public void onEnterElementConsumed( String uri, String localName, String qname,Attributes atts) throws SAXException { attStack.push(currentAtts=new AttributesImpl(atts)); nsEffectiveStack.push( new Integer(nsEffectivePtr) ); nsEffectivePtr = namespaces.size(); }
/** * Called by the generated handler code when an enter element * event is consumed. * * <p> * Pushes a new attribute set. * * <p> * Note that attributes are NOT pushed at the startElement method, * because the processing of the enterElement event can trigger * other attribute events and etc. * <p> * This method will be called from one of handlers when it truely * consumes the enterElement event. */ public void onEnterElementConsumed( String uri, String localName, String qname,Attributes atts) throws SAXException { attStack.push(currentAtts=new AttributesImpl(atts)); nsEffectiveStack.push( new Integer(nsEffectivePtr) ); nsEffectivePtr = namespaces.size(); }