| java.lang.Object com.sun.xml.xsom.impl.parser.state.NGCCHandler
All known Subclasses: com.sun.xml.xsom.impl.parser.state.qname, com.sun.xml.xsom.impl.parser.state.foreignAttributes, com.sun.xml.xsom.impl.parser.state.SimpleType_Union, com.sun.xml.xsom.impl.parser.state.importDecl, com.sun.xml.xsom.impl.parser.state.erSet, com.sun.xml.xsom.impl.parser.state.occurs, com.sun.xml.xsom.impl.parser.state.SimpleType_Restriction, com.sun.xml.xsom.impl.parser.state.SimpleType_List, com.sun.xml.xsom.impl.parser.state.complexType_complexContent_body, com.sun.xml.xsom.impl.parser.state.attributeGroupDecl, com.sun.xml.xsom.impl.parser.state.group, com.sun.xml.xsom.impl.parser.state.wildcardBody, com.sun.xml.xsom.impl.parser.state.qualification, com.sun.xml.xsom.impl.parser.state.complexType, com.sun.xml.xsom.impl.parser.state.modelGroupBody, com.sun.xml.xsom.impl.parser.state.xpath, com.sun.xml.xsom.impl.parser.state.redefine, com.sun.xml.xsom.impl.parser.state.particle, com.sun.xml.xsom.impl.parser.state.ersSet, com.sun.xml.xsom.impl.parser.state.attributeDeclBody, com.sun.xml.xsom.impl.parser.state.identityConstraint, com.sun.xml.xsom.impl.parser.state.annotation, com.sun.xml.xsom.impl.parser.state.notation, com.sun.xml.xsom.impl.parser.state.simpleType, com.sun.xml.xsom.impl.parser.state.includeDecl, com.sun.xml.xsom.impl.parser.state.attributeUses, com.sun.xml.xsom.impl.parser.state.Schema, com.sun.xml.xsom.impl.parser.state.elementDeclBody, com.sun.xml.xsom.impl.parser.state.facet,
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. |
|
|