| java.lang.Object com.sun.tools.jxc.gen.config.NGCCHandler
All known Subclasses: com.sun.tools.jxc.gen.config.Classes, com.sun.tools.jxc.gen.config.Config, com.sun.tools.jxc.gen.config.Schema,
NGCCHandler | abstract public class NGCCHandler implements NGCCEventReceiver(Code) | | version: $Id: NGCCHandler.java,v 1.9 2002/09/29 02:55:48 okajima Exp $ author: Kohsuke Kawaguchi (kk@kohsuke.org) |
Method Summary | |
abstract protected NGCCRuntime | getRuntime() This method will be implemented by the generated code
and returns a reference to the current runtime. | abstract protected void | onChildCompleted(Object result, int cookie, boolean needAttCheck) Notifies the completion of a child object. | public void | revertToParentFromEnterAttribute(Object result, int cookie, String uri, String local, String qname) | public void | revertToParentFromEnterElement(Object result, int cookie, String uri, String local, String qname, Attributes atts) | public void | revertToParentFromLeaveAttribute(Object result, int cookie, String uri, String local, String qname) | public void | revertToParentFromLeaveElement(Object result, int cookie, String uri, String local, String qname) | public void | revertToParentFromText(Object result, int cookie, String text) | public void | spawnChildFromEnterAttribute(NGCCEventReceiver child, String uri, String localname, String qname) | public void | spawnChildFromEnterElement(NGCCEventReceiver child, String uri, String localname, String qname, Attributes atts) | public void | spawnChildFromLeaveAttribute(NGCCEventReceiver child, String uri, String localname, String qname) | public void | spawnChildFromLeaveElement(NGCCEventReceiver child, String uri, String localname, String qname) | public void | spawnChildFromText(NGCCEventReceiver child, String value) | public void | unexpectedEnterAttribute(String qname) | public void | unexpectedEnterElement(String qname) | public void | unexpectedLeaveAttribute(String qname) | public void | unexpectedLeaveElement(String qname) |
_cookie | final protected int _cookie(Code) | | Cookie assigned by the parent.
This value will be passed to the onChildCompleted handler
of the parent.
|
_parent | final protected NGCCHandler _parent(Code) | | Parent NGCCHandler, if any.
If this is the root handler, this field will be null.
|
getRuntime | abstract protected NGCCRuntime getRuntime()(Code) | | This method will be implemented by the generated code
and returns a reference to the current runtime.
|
onChildCompleted | abstract protected void onChildCompleted(Object result, int cookie, boolean needAttCheck) throws SAXException(Code) | | Notifies the completion of a child object.
Parameters: result - The parsing result of the child state. Parameters: cookie - The cookie value passed to the child objectwhen it is created. Parameters: needAttCheck - This flag is true when the callee needs to call theprocessAttribute method to check attribute transitions.This flag is set to false when this method is triggered byattribute transition. |
|
|