Class SimpleType_Restriction
java.lang.Object
com.sun.xml.xsom.impl.parser.state.NGCCHandler
com.sun.xml.xsom.impl.parser.state.SimpleType_Restriction
- All Implemented Interfaces:
NGCCEventReceiver
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate intprotected Stringprotected Stringprotected final NGCCRuntimeExprotected Stringprivate AnnotationImplprivate Ref.SimpleTypeprivate UNameprivate ForeignAttributesImplprivate XSFacetprivate Setprivate Locatorprivate Stringprivate RestrictionSimpleTypeImplcomputed simple type objectprivate LocatorFields inherited from class NGCCHandler
_cookie, _parent, _source -
Constructor Summary
ConstructorsConstructorDescriptionSimpleType_Restriction(NGCCRuntimeEx runtime, AnnotationImpl _annotation, Locator _locator, ForeignAttributesImpl _fa, String _name, Set _finalSet) SimpleType_Restriction(NGCCHandler parent, NGCCEventSource source, NGCCRuntimeEx runtime, int cookie, AnnotationImpl _annotation, Locator _locator, ForeignAttributesImpl _fa, String _name, Set _finalSet) -
Method Summary
Modifier and TypeMethodDescriptionbooleanaccepted()private voidaction0()private voidaction1()private voidaction2()private voidaction3()voidenterAttribute(String $__uri, String $__local, String $__qname) voidenterElement(String $__uri, String $__local, String $__qname, Attributes $attrs) final NGCCRuntimeThis method will be implemented by the generated code and returns a reference to the current runtime.voidleaveAttribute(String $__uri, String $__local, String $__qname) voidleaveElement(String $__uri, String $__local, String $__qname) voidonChildCompleted(Object $__result__, int $__cookie__, boolean $__needAttCheck__) Notifies the completion of a child object.voidMethods inherited from class NGCCHandler
revertToParentFromEnterAttribute, revertToParentFromEnterElement, revertToParentFromLeaveAttribute, revertToParentFromLeaveElement, revertToParentFromText, spawnChildFromEnterAttribute, spawnChildFromEnterElement, spawnChildFromLeaveAttribute, spawnChildFromLeaveElement, spawnChildFromText, unexpectedEnterAttribute, unexpectedEnterElement, unexpectedLeaveAttribute, unexpectedLeaveElement
-
Field Details
-
locator
-
annotation
-
name
-
baseTypeName
-
finalSet
-
fa
-
facet
-
$runtime
-
$_ngcc_current_state
private int $_ngcc_current_state -
$uri
-
$localName
-
$qname
-
result
computed simple type object -
baseType
-
rloc
-
-
Constructor Details
-
SimpleType_Restriction
public SimpleType_Restriction(NGCCHandler parent, NGCCEventSource source, NGCCRuntimeEx runtime, int cookie, AnnotationImpl _annotation, Locator _locator, ForeignAttributesImpl _fa, String _name, Set _finalSet) -
SimpleType_Restriction
public SimpleType_Restriction(NGCCRuntimeEx runtime, AnnotationImpl _annotation, Locator _locator, ForeignAttributesImpl _fa, String _name, Set _finalSet)
-
-
Method Details
-
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
- Throws:
SAXException
-
action1
- Throws:
SAXException
-
action2
- Throws:
SAXException
-
action3
- 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: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:
SAXException
-
accepted
public boolean accepted()
-