Class attributeDeclBody
- java.lang.Object
-
- com.sun.xml.xsom.impl.parser.state.NGCCHandler
-
- com.sun.xml.xsom.impl.parser.state.attributeDeclBody
-
- All Implemented Interfaces:
NGCCEventReceiver
class attributeDeclBody 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 AnnotationImplannotationprivate java.lang.StringdefaultValueprivate ForeignAttributesImplfaprivate java.lang.StringfixedValueprivate booleanformprivate booleanformSpecifiedprivate booleanisLocalprivate org.xml.sax.Locatorlocatorprivate java.lang.Stringnameprivate Ref.SimpleTypetypeprivate UNametypeName-
Fields inherited from class com.sun.xml.xsom.impl.parser.state.NGCCHandler
_cookie, _parent, _source
-
-
Constructor Summary
Constructors Constructor Description attributeDeclBody(NGCCRuntimeEx runtime, org.xml.sax.Locator _locator, boolean _isLocal, java.lang.String _defaultValue, java.lang.String _fixedValue)attributeDeclBody(NGCCHandler parent, NGCCEventSource source, NGCCRuntimeEx runtime, int cookie, org.xml.sax.Locator _locator, boolean _isLocal, java.lang.String _defaultValue, java.lang.String _fixedValue)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanaccepted()private voidaction0()private voidaction1()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)private AttributeDeclImplmakeResult()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
-
name
private java.lang.String name
-
fa
private ForeignAttributesImpl fa
-
annotation
private AnnotationImpl annotation
-
locator
private org.xml.sax.Locator locator
-
isLocal
private boolean isLocal
-
defaultValue
private java.lang.String defaultValue
-
typeName
private UName typeName
-
fixedValue
private java.lang.String fixedValue
-
$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
-
form
private boolean form
-
formSpecified
private boolean formSpecified
-
type
private Ref.SimpleType type
-
-
Constructor Detail
-
attributeDeclBody
public attributeDeclBody(NGCCHandler parent, NGCCEventSource source, NGCCRuntimeEx runtime, int cookie, org.xml.sax.Locator _locator, boolean _isLocal, java.lang.String _defaultValue, java.lang.String _fixedValue)
-
attributeDeclBody
public attributeDeclBody(NGCCRuntimeEx runtime, org.xml.sax.Locator _locator, boolean _isLocal, java.lang.String _defaultValue, java.lang.String _fixedValue)
-
-
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
-
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()
-
makeResult
private AttributeDeclImpl makeResult()
-
-