public class Schema 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 AttributeDeclImpl |
ad |
private boolean |
afd |
private AttGroupDeclImpl |
ag |
private AnnotationImpl |
anno |
private java.lang.Integer |
blockDefault |
private ComplexTypeImpl |
ct |
private java.lang.String |
defaultValue |
private ElementDecl |
e |
private boolean |
efd |
private java.lang.String |
expectedNamespace |
private ForeignAttributesImpl |
fa |
private java.lang.Integer |
finalDefault |
private java.lang.String |
fixedValue |
private ModelGroupDeclImpl |
group |
private boolean |
includeMode |
private org.xml.sax.Locator |
locator |
private XSNotation |
notation |
private SimpleTypeImpl |
st |
private java.lang.String |
tns |
_cookie, _parent, _source
Constructor and Description |
---|
Schema(NGCCHandler parent,
NGCCEventSource source,
NGCCRuntimeEx runtime,
int cookie,
boolean _includeMode,
java.lang.String _expectedNamespace) |
Schema(NGCCRuntimeEx runtime,
boolean _includeMode,
java.lang.String _expectedNamespace) |
Modifier and Type | Method and Description |
---|---|
boolean |
accepted() |
private void |
action0() |
private void |
action1() |
private void |
action10() |
private void |
action11() |
private void |
action12() |
private void |
action13() |
private void |
action14() |
private void |
action15() |
private void |
action2() |
private void |
action3() |
private void |
action4() |
private void |
action5() |
private void |
action6() |
private void |
action7() |
private void |
action8() |
private void |
action9() |
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.Integer finalDefault
private boolean efd
private boolean afd
private java.lang.Integer blockDefault
private ForeignAttributesImpl fa
private boolean includeMode
private AnnotationImpl anno
private ComplexTypeImpl ct
private ElementDecl e
private java.lang.String defaultValue
private XSNotation notation
private AttGroupDeclImpl ag
private java.lang.String fixedValue
private ModelGroupDeclImpl group
private AttributeDeclImpl ad
private SimpleTypeImpl st
private java.lang.String expectedNamespace
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 java.lang.String tns
private org.xml.sax.Locator locator
public Schema(NGCCHandler parent, NGCCEventSource source, NGCCRuntimeEx runtime, int cookie, boolean _includeMode, java.lang.String _expectedNamespace)
public Schema(NGCCRuntimeEx runtime, boolean _includeMode, java.lang.String _expectedNamespace)
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
private void action8() throws org.xml.sax.SAXException
org.xml.sax.SAXException
private void action9() throws org.xml.sax.SAXException
org.xml.sax.SAXException
private void action10() throws org.xml.sax.SAXException
org.xml.sax.SAXException
private void action11() throws org.xml.sax.SAXException
org.xml.sax.SAXException
private void action12() throws org.xml.sax.SAXException
org.xml.sax.SAXException
private void action13() throws org.xml.sax.SAXException
org.xml.sax.SAXException
private void action14() throws org.xml.sax.SAXException
org.xml.sax.SAXException
private void action15() 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()