public void joinByEnterAttribute( NGCCEventReceiver source, String uri, String local, String qname ) throws SAXException { if(isJoining) return; // we are already in the process of joining. ignore. isJoining = true; // send special token to the rest of the branches. // these branches don't understand this token, so they will // try to move to a final state and send the token back to us, // which this object will ignore (because isJoining==true) // Otherwise branches will find an error. for( int i=0; i<_receivers.length; i++ ) if( _receivers[i]!=source ) _receivers[i].enterAttribute(uri,local,qname); // revert to the parent _parent._source.replace(this,_parent); _parent.onChildCompleted(null,_cookie,true); // send this event to the parent _parent.enterAttribute(uri,local,qname); }
public void unexpectedLeaveAttribute(String qname) throws SAXException { getRuntime().unexpectedX("/@"+qname); } }
public void joinByLeaveAttribute( NGCCEventReceiver source, String uri, String local, String qname ) throws SAXException { if(isJoining) return; // we are already in the process of joining. ignore. isJoining = true; // send special token to the rest of the branches. // these branches don't understand this token, so they will // try to move to a final state and send the token back to us, // which this object will ignore (because isJoining==true) // Otherwise branches will find an error. for( int i=0; i<_receivers.length; i++ ) if( _receivers[i]!=source ) _receivers[i].leaveAttribute(uri,local,qname); // revert to the parent _parent._source.replace(this,_parent); _parent.onChildCompleted(null,_cookie,true); // send this event to the parent _parent.leaveAttribute(uri,local,qname); }
public void joinByText( NGCCEventReceiver source, String value ) throws SAXException { if(isJoining) return; // we are already in the process of joining. ignore. isJoining = true; // send special token to the rest of the branches. // these branches don't understand this token, so they will // try to move to a final state and send the token back to us, // which this object will ignore (because isJoining==true) // Otherwise branches will find an error. for( int i=0; i<_receivers.length; i++ ) if( _receivers[i]!=source ) _receivers[i].text(value); // revert to the parent _parent._source.replace(this,_parent); _parent.onChildCompleted(null,_cookie,true); // send this event to the parent _parent.text(value); }
public void joinByLeaveElement( NGCCEventReceiver source, String uri, String local, String qname ) throws SAXException { if(isJoining) return; // we are already in the process of joining. ignore. isJoining = true; // send special token to the rest of the branches. // these branches don't understand this token, so they will // try to move to a final state and send the token back to us, // which this object will ignore (because isJoining==true) // Otherwise branches will find an error. for( int i=0; i<_receivers.length; i++ ) if( _receivers[i]!=source ) _receivers[i].leaveElement(uri,local,qname); // revert to the parent _parent._source.replace(this,_parent); _parent.onChildCompleted(null,_cookie,true); // send this event to the parent _parent.leaveElement(uri,local,qname); }
public void revertToParentFromEnterElement( Object result, int cookie, String uri,String local,String qname, Attributes atts ) throws SAXException { int id = _source.replace(this,_parent); _parent.onChildCompleted(result,cookie,true); _source.sendEnterElement(id,uri,local,qname,atts); } public void revertToParentFromLeaveElement( Object result, int cookie,
_parent.onChildCompleted(null,_cookie,true); _parent.enterElement(uri,local,qname,atts);
public void revertToParentFromLeaveElement( Object result, int cookie, String uri,String local,String qname ) throws SAXException { if(uri==NGCCRuntime.IMPOSSIBLE && uri==local && uri==qname && _parent==null ) // all the handlers are properly finalized. // quit now, because we don't have any more NGCCHandler. // see the endDocument handler for detail return; int id = _source.replace(this,_parent); _parent.onChildCompleted(result,cookie,true); _source.sendLeaveElement(id,uri,local,qname); } public void revertToParentFromEnterAttribute( Object result, int cookie,
public void joinByText( NGCCEventReceiver source, String value ) throws SAXException { if(isJoining) return; // we are already in the process of joining. ignore. isJoining = true; // send special token to the rest of the branches. // these branches don't understand this token, so they will // try to move to a final state and send the token back to us, // which this object will ignore (because isJoining==true) // Otherwise branches will find an error. for( int i=0; i<_receivers.length; i++ ) if( _receivers[i]!=source ) _receivers[i].text(value); // revert to the parent _parent._source.replace(this,_parent); _parent.onChildCompleted(null,_cookie,true); // send this event to the parent _parent.text(value); }
public void joinByLeaveElement( NGCCEventReceiver source, String uri, String local, String qname ) throws SAXException { if(isJoining) return; // we are already in the process of joining. ignore. isJoining = true; // send special token to the rest of the branches. // these branches don't understand this token, so they will // try to move to a final state and send the token back to us, // which this object will ignore (because isJoining==true) // Otherwise branches will find an error. for( int i=0; i<_receivers.length; i++ ) if( _receivers[i]!=source ) _receivers[i].leaveElement(uri,local,qname); // revert to the parent _parent._source.replace(this,_parent); _parent.onChildCompleted(null,_cookie,true); // send this event to the parent _parent.leaveElement(uri,local,qname); }
_parent.onChildCompleted(null,_cookie,true); _parent.enterElement(uri,local,qname,atts);
public void revertToParentFromLeaveElement( Object result, int cookie, String uri,String local,String qname ) throws SAXException { if(uri==NGCCRuntime.IMPOSSIBLE && uri==local && uri==qname && _parent==null ) // all the handlers are properly finalized. // quit now, because we don't have any more NGCCHandler. // see the endDocument handler for detail return; int id = _source.replace(this,_parent); _parent.onChildCompleted(result,cookie,true); _source.sendLeaveElement(id,uri,local,qname); } public void revertToParentFromEnterAttribute( Object result, int cookie,
public void unexpectedEnterAttribute(String qname) throws SAXException { getRuntime().unexpectedX('@'+qname); } public void unexpectedLeaveAttribute(String qname) throws SAXException {
public void joinByText( NGCCEventReceiver source, String value ) throws SAXException { if(isJoining) return; // we are already in the process of joining. ignore. isJoining = true; // send special token to the rest of the branches. // these branches don't understand this token, so they will // try to move to a final state and send the token back to us, // which this object will ignore (because isJoining==true) // Otherwise branches will find an error. for( int i=0; i<_receivers.length; i++ ) if( _receivers[i]!=source ) _receivers[i].text(value); // revert to the parent _parent._source.replace(this,_parent); _parent.onChildCompleted(null,_cookie,true); // send this event to the parent _parent.text(value); }
public void joinByLeaveAttribute( NGCCEventReceiver source, String uri, String local, String qname ) throws SAXException { if(isJoining) return; // we are already in the process of joining. ignore. isJoining = true; // send special token to the rest of the branches. // these branches don't understand this token, so they will // try to move to a final state and send the token back to us, // which this object will ignore (because isJoining==true) // Otherwise branches will find an error. for( int i=0; i<_receivers.length; i++ ) if( _receivers[i]!=source ) _receivers[i].leaveAttribute(uri,local,qname); // revert to the parent _parent._source.replace(this,_parent); _parent.onChildCompleted(null,_cookie,true); // send this event to the parent _parent.leaveAttribute(uri,local,qname); }
public void joinByLeaveElement( NGCCEventReceiver source, String uri, String local, String qname ) throws SAXException { if(isJoining) return; // we are already in the process of joining. ignore. isJoining = true; // send special token to the rest of the branches. // these branches don't understand this token, so they will // try to move to a final state and send the token back to us, // which this object will ignore (because isJoining==true) // Otherwise branches will find an error. for( int i=0; i<_receivers.length; i++ ) if( _receivers[i]!=source ) _receivers[i].leaveElement(uri,local,qname); // revert to the parent _parent._source.replace(this,_parent); _parent.onChildCompleted(null,_cookie,true); // send this event to the parent _parent.leaveElement(uri,local,qname); }
public void joinByEnterAttribute( NGCCEventReceiver source, String uri, String local, String qname ) throws SAXException { if(isJoining) return; // we are already in the process of joining. ignore. isJoining = true; // send special token to the rest of the branches. // these branches don't understand this token, so they will // try to move to a final state and send the token back to us, // which this object will ignore (because isJoining==true) // Otherwise branches will find an error. for( int i=0; i<_receivers.length; i++ ) if( _receivers[i]!=source ) _receivers[i].enterAttribute(uri,local,qname); // revert to the parent _parent._source.replace(this,_parent); _parent.onChildCompleted(null,_cookie,true); // send this event to the parent _parent.enterAttribute(uri,local,qname); }
_parent.onChildCompleted(null,_cookie,true); _parent.enterElement(uri,local,qname,atts);
public void revertToParentFromEnterAttribute( Object result, int cookie, String uri,String local,String qname ) throws SAXException { int id = _source.replace(this,_parent); _parent.onChildCompleted(result,cookie,true); _source.sendEnterAttribute(id,uri,local,qname); } public void revertToParentFromLeaveAttribute( Object result, int cookie,
public void unexpectedEnterElement(String qname) throws SAXException { getRuntime().unexpectedX('<'+qname+'>'); } public void unexpectedLeaveElement(String qname) throws SAXException {