Class Schema
- java.lang.Object
-
- com.sun.xml.xsom.impl.parser.state.NGCCHandler
-
- com.sun.xml.xsom.impl.parser.state.Schema
-
- All Implemented Interfaces:
NGCCEventReceiver
public class Schema extends NGCCHandler
-
-
Field Summary
Fields Modifier and Type Field Description private int$_ngcc_current_stateprotected java.lang.String$localNameprotected java.lang.String$qnameprotected NGCCRuntimeEx$runtimeprotected java.lang.String$uriprivate AttributeDeclImpladprivate booleanafdprivate AttGroupDeclImplagprivate AnnotationImplannoprivate java.lang.IntegerblockDefaultprivate ComplexTypeImplctprivate java.lang.StringdefaultValueprivate ElementDecleprivate booleanefdprivate java.lang.StringexpectedNamespaceprivate ForeignAttributesImplfaprivate java.lang.IntegerfinalDefaultprivate java.lang.StringfixedValueprivate ModelGroupDeclImplgroupprivate booleanincludeModeprivate org.xml.sax.Locatorlocatorprivate XSNotationnotationprivate SimpleTypeImplstprivate java.lang.Stringtns-
Fields inherited from class com.sun.xml.xsom.impl.parser.state.NGCCHandler
_cookie, _parent, _source
-
-
Constructor Summary
Constructors Constructor Description Schema(NGCCRuntimeEx runtime, boolean _includeMode, java.lang.String _expectedNamespace)Schema(NGCCHandler parent, NGCCEventSource source, NGCCRuntimeEx runtime, int cookie, boolean _includeMode, java.lang.String _expectedNamespace)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanaccepted()private voidaction0()private voidaction1()private voidaction10()private voidaction11()private voidaction12()private voidaction13()private voidaction14()private voidaction15()private voidaction2()private voidaction3()private voidaction4()private voidaction5()private voidaction6()private voidaction7()private voidaction8()private voidaction9()voidenterAttribute(java.lang.String $__uri, java.lang.String $__local, java.lang.String $__qname)voidenterElement(java.lang.String $__uri, java.lang.String $__local, java.lang.String $__qname, org.xml.sax.Attributes $attrs)NGCCRuntimegetRuntime()This method will be implemented by the generated code and returns a reference to the current runtime.voidleaveAttribute(java.lang.String $__uri, java.lang.String $__local, java.lang.String $__qname)voidleaveElement(java.lang.String $__uri, java.lang.String $__local, java.lang.String $__qname)voidonChildCompleted(java.lang.Object $__result__, int $__cookie__, boolean $__needAttCheck__)Notifies the completion of a child object.voidtext(java.lang.String $value)-
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 Detail
-
finalDefault
private java.lang.Integer finalDefault
-
efd
private boolean efd
-
afd
private boolean afd
-
blockDefault
private java.lang.Integer blockDefault
-
fa
private ForeignAttributesImpl fa
-
includeMode
private boolean includeMode
-
anno
private AnnotationImpl anno
-
ct
private ComplexTypeImpl ct
-
e
private ElementDecl e
-
defaultValue
private java.lang.String defaultValue
-
notation
private XSNotation notation
-
ag
private AttGroupDeclImpl ag
-
fixedValue
private java.lang.String fixedValue
-
group
private ModelGroupDeclImpl group
-
ad
private AttributeDeclImpl ad
-
st
private SimpleTypeImpl st
-
expectedNamespace
private java.lang.String expectedNamespace
-
$runtime
protected final NGCCRuntimeEx $runtime
-
$_ngcc_current_state
private int $_ngcc_current_state
-
$uri
protected java.lang.String $uri
-
$localName
protected java.lang.String $localName
-
$qname
protected java.lang.String $qname
-
tns
private java.lang.String tns
-
locator
private org.xml.sax.Locator locator
-
-
Constructor Detail
-
Schema
public Schema(NGCCHandler parent, NGCCEventSource source, NGCCRuntimeEx runtime, int cookie, boolean _includeMode, java.lang.String _expectedNamespace)
-
Schema
public Schema(NGCCRuntimeEx runtime, boolean _includeMode, java.lang.String _expectedNamespace)
-
-
Method Detail
-
getRuntime
public final NGCCRuntime getRuntime()
Description copied from class:NGCCHandlerThis method will be implemented by the generated code and returns a reference to the current runtime.- Specified by:
getRuntimein classNGCCHandler
-
action0
private void action0() throws org.xml.sax.SAXException- Throws:
org.xml.sax.SAXException
-
action1
private void action1() throws org.xml.sax.SAXException- Throws:
org.xml.sax.SAXException
-
action2
private void action2() throws org.xml.sax.SAXException- Throws:
org.xml.sax.SAXException
-
action3
private void action3() throws org.xml.sax.SAXException- Throws:
org.xml.sax.SAXException
-
action4
private void action4() throws org.xml.sax.SAXException- Throws:
org.xml.sax.SAXException
-
action5
private void action5() throws org.xml.sax.SAXException- Throws:
org.xml.sax.SAXException
-
action6
private void action6() throws org.xml.sax.SAXException- Throws:
org.xml.sax.SAXException
-
action7
private void action7() throws org.xml.sax.SAXException- Throws:
org.xml.sax.SAXException
-
action8
private void action8() throws org.xml.sax.SAXException- Throws:
org.xml.sax.SAXException
-
action9
private void action9() throws org.xml.sax.SAXException- Throws:
org.xml.sax.SAXException
-
action10
private void action10() throws org.xml.sax.SAXException- Throws:
org.xml.sax.SAXException
-
action11
private void action11() throws org.xml.sax.SAXException- Throws:
org.xml.sax.SAXException
-
action12
private void action12() throws org.xml.sax.SAXException- Throws:
org.xml.sax.SAXException
-
action13
private void action13() throws org.xml.sax.SAXException- Throws:
org.xml.sax.SAXException
-
action14
private void action14() throws org.xml.sax.SAXException- Throws:
org.xml.sax.SAXException
-
action15
private void action15() throws org.xml.sax.SAXException- Throws:
org.xml.sax.SAXException
-
enterElement
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- Throws:
org.xml.sax.SAXException
-
leaveElement
public void leaveElement(java.lang.String $__uri, java.lang.String $__local, java.lang.String $__qname) throws org.xml.sax.SAXException- Throws:
org.xml.sax.SAXException
-
enterAttribute
public void enterAttribute(java.lang.String $__uri, java.lang.String $__local, java.lang.String $__qname) throws org.xml.sax.SAXException- Throws:
org.xml.sax.SAXException
-
leaveAttribute
public void leaveAttribute(java.lang.String $__uri, java.lang.String $__local, java.lang.String $__qname) throws org.xml.sax.SAXException- Throws:
org.xml.sax.SAXException
-
text
public void text(java.lang.String $value) throws org.xml.sax.SAXException- Throws:
org.xml.sax.SAXException
-
onChildCompleted
public void onChildCompleted(java.lang.Object $__result__, int $__cookie__, boolean $__needAttCheck__) throws org.xml.sax.SAXExceptionDescription copied from class:NGCCHandlerNotifies the completion of a child object.- Specified by:
onChildCompletedin 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:
org.xml.sax.SAXException
-
accepted
public boolean accepted()
-
-