public NGCCRuntime() { reset(); }
public NGCCRuntime() { reset(); }
public NGCCRuntime() { reset(); }
public NGCCRuntime() { reset(); }
public void endDocument() throws SAXException { // consume the special "end document" token so that all the handlers // currently at the stack will revert to their respective parents. // // this is necessary to handle a grammar like // <start><ref name="X"/></start> // <define name="X"> // <element name="root"><empty/></element> // </define> // // With this grammar, when the endElement event is consumed, two handlers // are on the stack (because a child object won't revert to its parent // unless it sees a next event.) // pass around an "impossible" token. currentHandler.leaveElement(IMPOSSIBLE,IMPOSSIBLE,IMPOSSIBLE); reset(); } public void startDocument() {}
public void endDocument() throws SAXException { // consume the special "end document" token so that all the handlers // currently at the stack will revert to their respective parents. // // this is necessary to handle a grammar like // <start><ref name="X"/></start> // <define name="X"> // <element name="root"><empty/></element> // </define> // // With this grammar, when the endElement event is consumed, two handlers // are on the stack (because a child object won't revert to its parent // unless it sees a next event.) // pass around an "impossible" token. currentHandler.leaveElement(IMPOSSIBLE,IMPOSSIBLE,IMPOSSIBLE); reset(); } public void startDocument() throws SAXException {}
public void endDocument() throws SAXException { // consume the special "end document" token so that all the handlers // currently at the stack will revert to their respective parents. // // this is necessary to handle a grammar like // <start><ref name="X"/></start> // <define name="X"> // <element name="root"><empty/></element> // </define> // // With this grammar, when the endElement event is consumed, two handlers // are on the stack (because a child object won't revert to its parent // unless it sees a next event.) // pass around an "impossible" token. currentHandler.leaveElement(IMPOSSIBLE,IMPOSSIBLE,IMPOSSIBLE); reset(); } public void startDocument() {}
public void endDocument() throws SAXException { // consume the special "end document" token so that all the handlers // currently at the stack will revert to their respective parents. // // this is necessary to handle a grammar like // <start><ref name="X"/></start> // <define name="X"> // <element name="root"><empty/></element> // </define> // // With this grammar, when the endElement event is consumed, two handlers // are on the stack (because a child object won't revert to its parent // unless it sees a next event.) // pass around an "impossible" token. currentHandler.leaveElement(IMPOSSIBLE,IMPOSSIBLE,IMPOSSIBLE); reset(); } public void startDocument() throws SAXException {}