class attributeUses 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 AnnotationImpl |
annotation |
private AttributeDeclImpl |
anonymousDecl |
private UName |
attDeclName |
private Ref.Attribute |
decl |
private java.lang.String |
defaultValue |
private ForeignAttributesImpl |
fa |
private java.lang.String |
fixedValue |
private UName |
groupName |
private org.xml.sax.Locator |
locator |
private AttributesHolder |
owner |
private java.lang.String |
use |
private WildcardImpl |
wildcard |
private org.xml.sax.Locator |
wloc |
_cookie, _parent, _source
Constructor and Description |
---|
attributeUses(NGCCHandler parent,
NGCCEventSource source,
NGCCRuntimeEx runtime,
int cookie,
AttributesHolder _owner) |
attributeUses(NGCCRuntimeEx runtime,
AttributesHolder _owner) |
Modifier and Type | Method and Description |
---|---|
boolean |
accepted() |
private void |
action0() |
private void |
action1() |
private void |
action2() |
private void |
action3() |
private void |
action4() |
private void |
action5() |
private void |
action6() |
private void |
action7() |
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) |
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, unexpectedLeaveElement
private java.lang.String use
private AttributesHolder owner
private ForeignAttributesImpl fa
private WildcardImpl wildcard
private AnnotationImpl annotation
private UName attDeclName
private AttributeDeclImpl anonymousDecl
private java.lang.String defaultValue
private java.lang.String fixedValue
private UName groupName
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 Ref.Attribute decl
private org.xml.sax.Locator wloc
private org.xml.sax.Locator locator
public attributeUses(NGCCHandler parent, NGCCEventSource source, NGCCRuntimeEx runtime, int cookie, AttributesHolder _owner)
public attributeUses(NGCCRuntimeEx runtime, AttributesHolder _owner)
public final NGCCRuntime getRuntime()
NGCCHandler
getRuntime
in class NGCCHandler
private void action0() throws org.xml.sax.SAXException
org.xml.sax.SAXException
private void action1() throws org.xml.sax.SAXException
org.xml.sax.SAXException
private void action2() throws org.xml.sax.SAXException
org.xml.sax.SAXException
private void action3() throws org.xml.sax.SAXException
org.xml.sax.SAXException
private void action4() throws org.xml.sax.SAXException
org.xml.sax.SAXException
private void action5() throws org.xml.sax.SAXException
org.xml.sax.SAXException
private void action6() throws org.xml.sax.SAXException
org.xml.sax.SAXException
private void action7() throws org.xml.sax.SAXException
org.xml.sax.SAXException
public 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.SAXException
public void leaveElement(java.lang.String $__uri, java.lang.String $__local, java.lang.String $__qname) throws org.xml.sax.SAXException
org.xml.sax.SAXException
public void enterAttribute(java.lang.String $__uri, java.lang.String $__local, java.lang.String $__qname) throws org.xml.sax.SAXException
org.xml.sax.SAXException
public void leaveAttribute(java.lang.String $__uri, java.lang.String $__local, java.lang.String $__qname) throws org.xml.sax.SAXException
org.xml.sax.SAXException
public void text(java.lang.String $value) throws org.xml.sax.SAXException
org.xml.sax.SAXException
public void onChildCompleted(java.lang.Object $__result__, int $__cookie__, boolean $__needAttCheck__) throws org.xml.sax.SAXException
NGCCHandler
onChildCompleted
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.SAXException
public boolean accepted()