Class annotation
java.lang.Object
com.sun.xml.xsom.impl.parser.state.NGCCHandler
com.sun.xml.xsom.impl.parser.state.annotation
- All Implemented Interfaces:
NGCCEventReceiver
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate int
protected String
protected String
protected final NGCCRuntimeEx
protected String
private AnnotationContext
private AnnotationImpl
private Locator
private AnnotationParser
Fields inherited from class com.sun.xml.xsom.impl.parser.state.NGCCHandler
_cookie, _parent, _source
-
Constructor Summary
ConstructorsConstructorDescriptionannotation
(NGCCRuntimeEx runtime, AnnotationImpl _existing, AnnotationContext _context) annotation
(NGCCHandler parent, NGCCEventSource source, NGCCRuntimeEx runtime, int cookie, AnnotationImpl _existing, AnnotationContext _context) -
Method Summary
Modifier and TypeMethodDescriptionboolean
accepted()
private void
action0()
void
enterAttribute
(String $__uri, String $__local, String $__qname) void
enterElement
(String $__uri, String $__local, String $__qname, Attributes $attrs) final NGCCRuntime
This method will be implemented by the generated code and returns a reference to the current runtime.void
leaveAttribute
(String $__uri, String $__local, String $__qname) void
leaveElement
(String $__uri, String $__local, String $__qname) void
onChildCompleted
(Object $__result__, int $__cookie__, boolean $__needAttCheck__) Notifies the completion of a child object.void
Methods inherited from class com.sun.xml.xsom.impl.parser.state.NGCCHandler
revertToParentFromEnterAttribute, revertToParentFromEnterElement, revertToParentFromLeaveAttribute, revertToParentFromLeaveElement, revertToParentFromText, spawnChildFromEnterAttribute, spawnChildFromEnterElement, spawnChildFromLeaveAttribute, spawnChildFromLeaveElement, spawnChildFromText, unexpectedEnterAttribute, unexpectedEnterElement, unexpectedLeaveAttribute, unexpectedLeaveElement
-
Field Details
-
context
-
existing
-
$runtime
-
$_ngcc_current_state
private int $_ngcc_current_state -
$uri
-
$localName
-
$qname
-
parser
-
locator
-
-
Constructor Details
-
annotation
public annotation(NGCCHandler parent, NGCCEventSource source, NGCCRuntimeEx runtime, int cookie, AnnotationImpl _existing, AnnotationContext _context) -
annotation
-
-
Method Details
-
getRuntime
Description copied from class:NGCCHandler
This method will be implemented by the generated code and returns a reference to the current runtime.- Specified by:
getRuntime
in classNGCCHandler
-
action0
- Throws:
SAXException
-
enterElement
public void enterElement(String $__uri, String $__local, String $__qname, Attributes $attrs) throws SAXException - Throws:
SAXException
-
leaveElement
- Throws:
SAXException
-
enterAttribute
- Throws:
SAXException
-
leaveAttribute
- Throws:
SAXException
-
text
- Throws:
SAXException
-
onChildCompleted
public void onChildCompleted(Object $__result__, int $__cookie__, boolean $__needAttCheck__) throws SAXException Description copied from class:NGCCHandler
Notifies the completion of a child object.- Specified by:
onChildCompleted
in classNGCCHandler
- Parameters:
$__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.- Throws:
SAXException
-
accepted
public boolean accepted() -
makeResult
-