public abstract class NGCCHandler extends Object implements NGCCEventReceiver
Auto-generated, do not edit.
Modifier and Type | Field and Description |
---|---|
protected int |
_cookie
Cookie assigned by the parent.
|
protected NGCCHandler |
_parent
Parent NGCCHandler, if any.
|
protected NGCCEventSource |
_source
Event source.
|
Modifier | Constructor and Description |
---|---|
protected |
NGCCHandler(NGCCEventSource source,
NGCCHandler parent,
int parentCookie) |
Modifier and Type | Method and Description |
---|---|
protected abstract NGCCRuntime |
getRuntime()
This method will be implemented by the generated code
and returns a reference to the current runtime.
|
protected abstract void |
onChildCompleted(Object result,
int cookie,
boolean needAttCheck)
Notifies the completion of a child object.
|
void |
revertToParentFromEnterAttribute(Object result,
int cookie,
String uri,
String local,
String qname) |
void |
revertToParentFromEnterElement(Object result,
int cookie,
String uri,
String local,
String qname,
Attributes atts) |
void |
revertToParentFromLeaveAttribute(Object result,
int cookie,
String uri,
String local,
String qname) |
void |
revertToParentFromLeaveElement(Object result,
int cookie,
String uri,
String local,
String qname) |
void |
revertToParentFromText(Object result,
int cookie,
String text) |
void |
spawnChildFromEnterAttribute(NGCCEventReceiver child,
String uri,
String localname,
String qname) |
void |
spawnChildFromEnterElement(NGCCEventReceiver child,
String uri,
String localname,
String qname,
Attributes atts) |
void |
spawnChildFromLeaveAttribute(NGCCEventReceiver child,
String uri,
String localname,
String qname) |
void |
spawnChildFromLeaveElement(NGCCEventReceiver child,
String uri,
String localname,
String qname) |
void |
spawnChildFromText(NGCCEventReceiver child,
String value) |
void |
unexpectedEnterAttribute(String qname) |
void |
unexpectedEnterElement(String qname) |
void |
unexpectedLeaveAttribute(String qname) |
void |
unexpectedLeaveElement(String qname) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
enterAttribute, enterElement, leaveAttribute, leaveElement, text
protected final NGCCHandler _parent
protected final NGCCEventSource _source
protected final int _cookie
protected NGCCHandler(NGCCEventSource source, NGCCHandler parent, int parentCookie)
protected abstract NGCCRuntime getRuntime()
protected abstract void onChildCompleted(Object result, int cookie, boolean needAttCheck) throws SAXException
result
- The parsing result of the child state.cookie
- The cookie value passed to the child object
when it is created.needAttCheck
- This flag is true when the callee needs to call the
processAttribute method to check attribute transitions.
This flag is set to false when this method is triggered by
attribute transition.SAXException
public void spawnChildFromEnterElement(NGCCEventReceiver child, String uri, String localname, String qname, Attributes atts) throws SAXException
SAXException
public void spawnChildFromEnterAttribute(NGCCEventReceiver child, String uri, String localname, String qname) throws SAXException
SAXException
public void spawnChildFromLeaveElement(NGCCEventReceiver child, String uri, String localname, String qname) throws SAXException
SAXException
public void spawnChildFromLeaveAttribute(NGCCEventReceiver child, String uri, String localname, String qname) throws SAXException
SAXException
public void spawnChildFromText(NGCCEventReceiver child, String value) throws SAXException
SAXException
public void revertToParentFromEnterElement(Object result, int cookie, String uri, String local, String qname, Attributes atts) throws SAXException
SAXException
public void revertToParentFromLeaveElement(Object result, int cookie, String uri, String local, String qname) throws SAXException
SAXException
public void revertToParentFromEnterAttribute(Object result, int cookie, String uri, String local, String qname) throws SAXException
SAXException
public void revertToParentFromLeaveAttribute(Object result, int cookie, String uri, String local, String qname) throws SAXException
SAXException
public void revertToParentFromText(Object result, int cookie, String text) throws SAXException
SAXException
public void unexpectedEnterElement(String qname) throws SAXException
SAXException
public void unexpectedLeaveElement(String qname) throws SAXException
SAXException
public void unexpectedEnterAttribute(String qname) throws SAXException
SAXException
public void unexpectedLeaveAttribute(String qname) throws SAXException
SAXException
Copyright © 2019 JBoss by Red Hat. All rights reserved.