|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.EObjectImpl
org.eclipse.xsd.impl.XSDConcreteComponentImpl
org.eclipse.xsd.impl.XSDComponentImpl
org.eclipse.xsd.impl.XSDComplexTypeContentImpl
org.eclipse.xsd.impl.XSDParticleImpl
An implementation of the model object 'Particle'.
The following features are implemented:
| Nested Class Summary | |
static class |
XSDParticleImpl.XSDNFA
|
| Nested classes inherited from class org.eclipse.xsd.impl.XSDConcreteComponentImpl |
XSDConcreteComponentImpl.XSDContentsEList |
| Nested classes inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl |
BasicEObjectImpl.EPropertiesHolder, BasicEObjectImpl.EPropertiesHolderImpl |
| Nested classes inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl |
BasicNotifierImpl.EAdapterList |
| Nested classes inherited from class org.eclipse.xsd.XSDParticle |
XSDParticle.DFA |
| Nested classes inherited from class org.eclipse.emf.ecore.InternalEObject |
InternalEObject.EStore |
| Field Summary | |
protected XSDParticleContent |
content
The cached value of the ' Content' containment reference |
static boolean |
debug
|
protected static int |
MAX_OCCURS_EDEFAULT
The default value of the ' Max Occurs' attribute |
protected static int |
MAXIMUM_STATES
|
protected int |
maxOccurs
The cached value of the ' Max Occurs' attribute |
protected boolean |
maxOccursESet
This is true if the Max Occurs attribute has been set |
protected static int |
MIN_OCCURS_EDEFAULT
The default value of the ' Min Occurs' attribute |
protected int |
minOccurs
The cached value of the ' Min Occurs' attribute |
protected boolean |
minOccursESet
This is true if the Min Occurs attribute has been set |
protected XSDTerm |
term
The cached value of the ' Term' reference |
protected XSDParticleImpl.XSDNFA |
xsdNFA
|
| Fields inherited from class org.eclipse.xsd.impl.XSDConcreteComponentImpl |
ANALYZED, ANALYZING, CIRCULAR, diagnostics, element, ELEMENT_EDEFAULT, ERROR, FATAL, INFORMATION, isReconciling, UNANALYZED, updatingDOM, WARNING, xsdContents |
| Fields inherited from class org.eclipse.emf.ecore.impl.EObjectImpl |
eAdapters, eContainer, eContainerFeatureID, EDELIVER, EDYNAMIC_CLASS, eFlags, ELAST_EOBJECT_FLAG, ELAST_NOTIFIER_FLAG, eProperties, EPROXY |
| Fields inherited from interface org.eclipse.xsd.XSDParticle |
UNBOUNDED |
| Fields inherited from interface org.eclipse.emf.ecore.InternalEObject |
EOPPOSITE_FEATURE_BASE |
| Constructor Summary | |
protected |
XSDParticleImpl()
|
| Method Summary | |
protected void |
adoptContent(EReference eReference,
XSDConcreteComponent xsdConcreteComponent)
|
boolean |
analyze()
|
NotificationChain |
basicSetContent(XSDParticleContent newContent,
NotificationChain msgs)
|
protected void |
changeAttribute(EAttribute eAttribute)
|
XSDConcreteComponent |
cloneConcreteComponent(boolean deep,
boolean shareDOM)
Creates a clone of the component. |
Element |
createElement()
|
static XSDParticle |
createParticle(Node node)
|
Object |
eGet(EStructuralFeature eFeature,
boolean resolve)
|
NotificationChain |
eInverseRemove(InternalEObject otherEnd,
int featureID,
Class baseClass,
NotificationChain msgs)
|
boolean |
eIsSet(EStructuralFeature eFeature)
|
void |
eSet(EStructuralFeature eFeature,
Object newValue)
|
protected EClass |
eStaticClass()
|
void |
eUnset(EStructuralFeature eFeature)
|
XSDParticleContent |
getContent()
|
protected Collection |
getContentNodes(Element changedElement)
|
XSDParticle.DFA |
getDFA()
Returns the deterministic finite state automaton that implements this particle's content model |
int |
getMaxOccurs()
|
int |
getMinOccurs()
|
XSDTerm |
getTerm()
|
boolean |
isEmptiable()
Returns whether the particle is emptiable. |
boolean |
isSetMaxOccurs()
|
boolean |
isSetMinOccurs()
|
boolean |
isSubset(XSDParticle otherParticle)
This returns whether this particle accepts a subset of the content accepted by the other particle, i.e., whether this is a valid restriction. |
boolean |
isSubset(XSDParticle otherParticle,
boolean diagnose)
|
protected void |
orphanContent(EReference eReference,
XSDConcreteComponent xsdConcreteComponent)
|
protected void |
patch()
|
protected void |
patchHelper()
|
protected void |
reconcileAttributes(Element changedElement)
|
protected void |
reconcileContents(Element changedElement)
|
void |
setContent(XSDParticleContent newContent)
|
void |
setMaxOccurs(int newMaxOccurs)
|
void |
setMinOccurs(int newMinOccurs)
|
void |
setTerm(XSDTerm newTerm)
|
String |
toString()
|
void |
unsetMaxOccurs()
|
void |
unsetMinOccurs()
|
void |
validate()
Validates whether this component conforms to the constraints defined in the XML Schema standard. |
| Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl |
eAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURI |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.eclipse.emf.ecore.EObject |
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eIsProxy, eResource |
| Methods inherited from interface org.eclipse.emf.common.notify.Notifier |
eAdapters, eDeliver, eNotify, eSetDeliver |
| Field Detail |
protected static final int MAXIMUM_STATES
protected static final int MIN_OCCURS_EDEFAULT
Min Occurs' attribute.
getMinOccurs(),
Constant Field Valuesprotected int minOccurs
Min Occurs' attribute.
getMinOccurs()protected boolean minOccursESet
protected static final int MAX_OCCURS_EDEFAULT
Max Occurs' attribute.
getMaxOccurs(),
Constant Field Valuesprotected int maxOccurs
Max Occurs' attribute.
getMaxOccurs()protected boolean maxOccursESet
protected XSDParticleContent content
Content' containment reference.
getContent()protected XSDTerm term
Term' reference.
getTerm()public static final boolean debug
protected XSDParticleImpl.XSDNFA xsdNFA
| Constructor Detail |
protected XSDParticleImpl()
| Method Detail |
public static XSDParticle createParticle(Node node)
protected EClass eStaticClass()
eStaticClass in class XSDComplexTypeContentImplpublic int getMinOccurs()
getMinOccurs in interface XSDParticleXSDParticle.isSetMinOccurs(),
XSDParticle.unsetMinOccurs(),
XSDParticle.setMinOccurs(int),
XSDPackage.getXSDParticle_MinOccurs()public void setMinOccurs(int newMinOccurs)
setMinOccurs in interface XSDParticlenewMinOccurs - the new value of the 'Min Occurs' attribute.XSDParticle.isSetMinOccurs(),
XSDParticle.unsetMinOccurs(),
XSDParticle.getMinOccurs()public void unsetMinOccurs()
unsetMinOccurs in interface XSDParticleXSDParticle.isSetMinOccurs(),
XSDParticle.getMinOccurs(),
XSDParticle.setMinOccurs(int)public boolean isSetMinOccurs()
isSetMinOccurs in interface XSDParticleXSDParticle.unsetMinOccurs(),
XSDParticle.getMinOccurs(),
XSDParticle.setMinOccurs(int)public int getMaxOccurs()
getMaxOccurs in interface XSDParticleXSDParticle.UNBOUNDED,
XSDParticle.isSetMaxOccurs(),
XSDParticle.unsetMaxOccurs(),
XSDParticle.setMaxOccurs(int),
XSDPackage.getXSDParticle_MaxOccurs()public void setMaxOccurs(int newMaxOccurs)
setMaxOccurs in interface XSDParticlenewMaxOccurs - the new value of the 'Max Occurs' attribute.XSDParticle.isSetMaxOccurs(),
XSDParticle.unsetMaxOccurs(),
XSDParticle.getMaxOccurs()public void unsetMaxOccurs()
unsetMaxOccurs in interface XSDParticleXSDParticle.isSetMaxOccurs(),
XSDParticle.getMaxOccurs(),
XSDParticle.setMaxOccurs(int)public boolean isSetMaxOccurs()
isSetMaxOccurs in interface XSDParticleXSDParticle.unsetMaxOccurs(),
XSDParticle.getMaxOccurs(),
XSDParticle.setMaxOccurs(int)public XSDParticleContent getContent()
getContent in interface XSDParticleXSDParticle.getTerm(),
XSDParticle.setContent(XSDParticleContent),
XSDPackage.getXSDParticle_Content()public void setContent(XSDParticleContent newContent)
setContent in interface XSDParticlenewContent - the new value of the 'Content' containment reference.XSDParticle.getContent()
public NotificationChain basicSetContent(XSDParticleContent newContent,
NotificationChain msgs)
public XSDTerm getTerm()
getTerm in interface XSDParticleXSDParticle.getContent(),
XSDParticle.setTerm(XSDTerm),
XSDPackage.getXSDParticle_Term()public void setTerm(XSDTerm newTerm)
setTerm in interface XSDParticlenewTerm - the new value of the 'Term' reference.XSDParticle.getTerm()
public NotificationChain eInverseRemove(InternalEObject otherEnd,
int featureID,
Class baseClass,
NotificationChain msgs)
eInverseRemove in interface InternalEObjecteInverseRemove in class XSDComplexTypeContentImpl
public Object eGet(EStructuralFeature eFeature,
boolean resolve)
eGet in interface EObjecteGet in class XSDComplexTypeContentImpl
public void eSet(EStructuralFeature eFeature,
Object newValue)
eSet in interface EObjecteSet in class XSDComplexTypeContentImplpublic void eUnset(EStructuralFeature eFeature)
eUnset in interface EObjecteUnset in class XSDComplexTypeContentImplpublic boolean eIsSet(EStructuralFeature eFeature)
eIsSet in interface EObjecteIsSet in class XSDComplexTypeContentImplpublic String toString()
toString in class XSDConcreteComponentImplpublic Element createElement()
createElement in class XSDConcreteComponentImplprotected void patch()
patch in class XSDConcreteComponentImplprotected void patchHelper()
public boolean analyze()
analyze in class XSDConcreteComponentImplpublic void validate()
XSDConcreteComponentDiagnostics are produced to report any problems.
validate in interface XSDConcreteComponentvalidate in class XSDConcreteComponentImplprotected Collection getContentNodes(Element changedElement)
getContentNodes in class XSDConcreteComponentImplprotected void reconcileAttributes(Element changedElement)
reconcileAttributes in class XSDConcreteComponentImplprotected void reconcileContents(Element changedElement)
reconcileContents in class XSDConcreteComponentImplprotected void changeAttribute(EAttribute eAttribute)
changeAttribute in class XSDConcreteComponentImpl
protected void adoptContent(EReference eReference,
XSDConcreteComponent xsdConcreteComponent)
adoptContent in class XSDConcreteComponentImpl
protected void orphanContent(EReference eReference,
XSDConcreteComponent xsdConcreteComponent)
orphanContent in class XSDConcreteComponentImplpublic XSDParticle.DFA getDFA()
XSDParticle
getDFA in interface XSDParticlepublic boolean isEmptiable()
XSDParticle
isEmptiable in interface XSDParticlepublic boolean isSubset(XSDParticle otherParticle)
XSDParticle
isSubset in interface XSDParticleotherParticle - some other particle.
public boolean isSubset(XSDParticle otherParticle,
boolean diagnose)
public XSDConcreteComponent cloneConcreteComponent(boolean deep,
boolean shareDOM)
XSDConcreteComponent
cloneConcreteComponent in interface XSDConcreteComponentcloneConcreteComponent in class XSDConcreteComponentImpl
|
Copyright 2001-2004 IBM Corporation and others. All Rights Reserved. |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||