class annotation extends NGCCHandler
| Modifier and Type | Field and Description |
|---|---|
private int |
$_ngcc_current_state |
protected java.lang.String |
$localName |
protected java.lang.String |
$qname |
protected NGCCRuntimeEx |
$runtime |
protected java.lang.String |
$uri |
private AnnotationContext |
context |
private AnnotationImpl |
existing |
private org.xml.sax.Locator |
locator |
private AnnotationParser |
parser |
_cookie, _parent, _source| Constructor and Description |
|---|
annotation(NGCCHandler parent,
NGCCEventSource source,
NGCCRuntimeEx runtime,
int cookie,
AnnotationImpl _existing,
AnnotationContext _context) |
annotation(NGCCRuntimeEx runtime,
AnnotationImpl _existing,
AnnotationContext _context) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
accepted() |
private void |
action0() |
void |
enterAttribute(java.lang.String $__uri,
java.lang.String $__local,
java.lang.String $__qname) |
void |
enterElement(java.lang.String $__uri,
java.lang.String $__local,
java.lang.String $__qname,
org.xml.sax.Attributes $attrs) |
NGCCRuntime |
getRuntime()
This method will be implemented by the generated code
and returns a reference to the current runtime.
|
void |
leaveAttribute(java.lang.String $__uri,
java.lang.String $__local,
java.lang.String $__qname) |
void |
leaveElement(java.lang.String $__uri,
java.lang.String $__local,
java.lang.String $__qname) |
AnnotationImpl |
makeResult() |
void |
onChildCompleted(java.lang.Object $__result__,
int $__cookie__,
boolean $__needAttCheck__)
Notifies the completion of a child object.
|
void |
text(java.lang.String $value) |
revertToParentFromEnterAttribute, revertToParentFromEnterElement, revertToParentFromLeaveAttribute, revertToParentFromLeaveElement, revertToParentFromText, spawnChildFromEnterAttribute, spawnChildFromEnterElement, spawnChildFromLeaveAttribute, spawnChildFromLeaveElement, spawnChildFromText, unexpectedEnterAttribute, unexpectedEnterElement, unexpectedLeaveAttribute, unexpectedLeaveElementprivate AnnotationContext context
private AnnotationImpl existing
protected final NGCCRuntimeEx $runtime
private int $_ngcc_current_state
protected java.lang.String $uri
protected java.lang.String $localName
protected java.lang.String $qname
private AnnotationParser parser
private org.xml.sax.Locator locator
public annotation(NGCCHandler parent, NGCCEventSource source, NGCCRuntimeEx runtime, int cookie, AnnotationImpl _existing, AnnotationContext _context)
public annotation(NGCCRuntimeEx runtime, AnnotationImpl _existing, AnnotationContext _context)
public final NGCCRuntime getRuntime()
NGCCHandlergetRuntime in class NGCCHandlerprivate void action0()
throws org.xml.sax.SAXException
org.xml.sax.SAXExceptionpublic void enterElement(java.lang.String $__uri,
java.lang.String $__local,
java.lang.String $__qname,
org.xml.sax.Attributes $attrs)
throws org.xml.sax.SAXException
org.xml.sax.SAXExceptionpublic void leaveElement(java.lang.String $__uri,
java.lang.String $__local,
java.lang.String $__qname)
throws org.xml.sax.SAXException
org.xml.sax.SAXExceptionpublic void enterAttribute(java.lang.String $__uri,
java.lang.String $__local,
java.lang.String $__qname)
throws org.xml.sax.SAXException
org.xml.sax.SAXExceptionpublic void leaveAttribute(java.lang.String $__uri,
java.lang.String $__local,
java.lang.String $__qname)
throws org.xml.sax.SAXException
org.xml.sax.SAXExceptionpublic void text(java.lang.String $value)
throws org.xml.sax.SAXException
org.xml.sax.SAXExceptionpublic void onChildCompleted(java.lang.Object $__result__,
int $__cookie__,
boolean $__needAttCheck__)
throws org.xml.sax.SAXException
NGCCHandleronChildCompleted in class NGCCHandler$__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.org.xml.sax.SAXExceptionpublic boolean accepted()
public AnnotationImpl makeResult()