Class elementDeclBody
- java.lang.Object
-
- com.sun.xml.xsom.impl.parser.state.NGCCHandler
-
- com.sun.xml.xsom.impl.parser.state.elementDeclBody
-
- All Implemented Interfaces:
NGCCEventReceiver
class elementDeclBody extends NGCCHandler
-
-
Field Summary
Fields Modifier and Type Field 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 java.lang.String
abstractValue
private AnnotationImpl
annotation
private java.lang.Integer
blockValue
private java.lang.String
defaultValue
private ForeignAttributesImpl
fa
private java.lang.Integer
finalValue
private java.lang.String
fixedValue
private boolean
form
private boolean
formSpecified
private IdentityConstraintImpl
idc
private java.util.List
idcs
private boolean
isGlobal
private org.xml.sax.Locator
locator
private java.lang.String
name
private java.lang.String
nillable
private DelayedRef.Element
substHeadRef
private UName
substRef
private Ref.Type
type
private UName
typeName
-
Fields inherited from class com.sun.xml.xsom.impl.parser.state.NGCCHandler
_cookie, _parent, _source
-
-
Constructor Summary
Constructors Constructor Description elementDeclBody(NGCCRuntimeEx runtime, org.xml.sax.Locator _locator, boolean _isGlobal)
elementDeclBody(NGCCHandler parent, NGCCEventSource source, NGCCRuntimeEx runtime, int cookie, org.xml.sax.Locator _locator, boolean _isGlobal)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
accepted()
private void
action0()
private void
action1()
private void
action2()
private void
action3()
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)
private ElementDecl
makeResult()
void
onChildCompleted(java.lang.Object $__result__, int $__cookie__, boolean $__needAttCheck__)
Notifies the completion of a child object.void
text(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
-
finalValue
private java.lang.Integer finalValue
-
name
private java.lang.String name
-
nillable
private java.lang.String nillable
-
abstractValue
private java.lang.String abstractValue
-
blockValue
private java.lang.Integer blockValue
-
fa
private ForeignAttributesImpl fa
-
annotation
private AnnotationImpl annotation
-
locator
private org.xml.sax.Locator locator
-
defaultValue
private java.lang.String defaultValue
-
idc
private IdentityConstraintImpl idc
-
isGlobal
private boolean isGlobal
-
fixedValue
private java.lang.String fixedValue
-
typeName
private UName typeName
-
substRef
private UName substRef
-
$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.Type type
-
idcs
private java.util.List idcs
-
substHeadRef
private DelayedRef.Element substHeadRef
-
-
Constructor Detail
-
elementDeclBody
public elementDeclBody(NGCCHandler parent, NGCCEventSource source, NGCCRuntimeEx runtime, int cookie, org.xml.sax.Locator _locator, boolean _isGlobal)
-
elementDeclBody
public elementDeclBody(NGCCRuntimeEx runtime, org.xml.sax.Locator _locator, boolean _isGlobal)
-
-
Method Detail
-
getRuntime
public final NGCCRuntime getRuntime()
Description copied from class:NGCCHandler
This method will be implemented by the generated code and returns a reference to the current runtime.- Specified by:
getRuntime
in 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
-
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.SAXException
Description copied from class:NGCCHandler
Notifies the completion of a child object.- Specified by:
onChildCompleted
in 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 ElementDecl makeResult()
-
-