public class XSDModelGroupDefinitionImpl extends XSDRedefinableComponentImpl implements XSDModelGroupDefinition
The following features are implemented:
XSDNamedComponentImpl.Comparator, XSDNamedComponentImpl.StringPairComparator, XSDNamedComponentImpl.XSDNamedComponentList<E extends java.lang.Object & XSDNamedComponent>
XSDConcreteComponentImpl.XSDContentsEList
BasicEObjectImpl.EPropertiesHolder, BasicEObjectImpl.EPropertiesHolderBaseImpl, BasicEObjectImpl.EPropertiesHolderImpl
BasicNotifierImpl.EAdapterList<E extends java.lang.Object & Adapter>, BasicNotifierImpl.EObservableAdapterList
InternalEObject.EStore
Modifier and Type | Field and Description |
---|---|
protected int |
analysisState |
protected XSDAnnotation |
annotation
The cached value of the '
Annotation ' containment reference. |
protected static boolean |
MODEL_GROUP_DEFINITION_REFERENCE_EDEFAULT
The default value of the '
Model Group Definition Reference ' attribute. |
protected XSDModelGroup |
modelGroup
The cached value of the '
Model Group ' containment reference. |
protected XSDModelGroupDefinition |
resolvedModelGroupDefinition
The cached value of the '
Resolved Model Group Definition ' reference. |
CIRCULAR_EDEFAULT
ALIAS_NAME_EDEFAULT, ALIAS_URI_EDEFAULT, name, NAME_EDEFAULT, QNAME_EDEFAULT, TARGET_NAMESPACE_EDEFAULT, targetNamespace, URI_EDEFAULT
ANALYZED, ANALYZING, CIRCULAR, diagnostics, element, ELEMENT_EDEFAULT, ERROR, FATAL, forceResolve, INFORMATION, isReconciling, UNANALYZED, updatingDOM, WARNING, xsdContents
eAdapters, eContainer, eContainerFeatureID, EDELIVER, EDYNAMIC_CLASS, eFlags, ELAST_EOBJECT_FLAG, ELAST_NOTIFIER_FLAG, eProperties, EPROXY
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET
EOPPOSITE_FEATURE_BASE
Modifier | Constructor and Description |
---|---|
protected |
XSDModelGroupDefinitionImpl() |
Modifier and Type | Method and Description |
---|---|
protected void |
adoptContent(EReference eReference,
XSDConcreteComponent xsdConcreteComponent) |
protected boolean |
analyze() |
NotificationChain |
basicSetAnnotation(XSDAnnotation newAnnotation,
NotificationChain msgs) |
NotificationChain |
basicSetModelGroup(XSDModelGroup newModelGroup,
NotificationChain msgs) |
protected void |
changeReference(EReference eReference) |
XSDConcreteComponent |
cloneConcreteComponent(boolean deep,
boolean shareDOM)
Creates a clone of the component.
|
org.w3c.dom.Element |
createElement() |
static XSDModelGroupDefinition |
createModelGroupDefinition(org.w3c.dom.Node node) |
java.lang.Object |
eGet(int featureID,
boolean resolve,
boolean coreType) |
NotificationChain |
eInverseRemove(InternalEObject otherEnd,
int featureID,
NotificationChain msgs) |
boolean |
eIsSet(int featureID) |
void |
eSet(int featureID,
java.lang.Object newValue) |
protected EClass |
eStaticClass() |
void |
eUnset(int featureID) |
XSDAnnotation |
getAnnotation() |
XSDModelGroup |
getModelGroup() |
java.lang.Boolean |
getModelGroupDefinitionReference() |
java.lang.String |
getQName()
Returns the value of the 'QName' attribute.
|
XSDModelGroupDefinition |
getResolvedModelGroupDefinition() |
XSDNamedComponent |
getResolvedNamedComponent() |
protected void |
handleAnalysis() |
protected void |
handleNewResolvedModelGroupDefinition(XSDModelGroupDefinition newResolvedModelGroupDefinition) |
protected void |
handleReconciliation(java.util.List<XSDConcreteComponent> newContents,
java.util.List<XSDConcreteComponent> remainingContents) |
protected void |
handleUnreconciledElement(org.w3c.dom.Element child,
java.util.List<XSDConcreteComponent> newContents,
java.util.List<XSDConcreteComponent> remainingContents) |
boolean |
isCircular() |
boolean |
isModelGroupDefinitionReference()
Returns the value of the 'Model Group Definition Reference' attribute.
|
boolean |
isNamedComponentReference() |
protected boolean |
isUpdatingDOM() |
protected void |
orphanContent(EReference eReference,
XSDConcreteComponent xsdConcreteComponent) |
protected void |
patch() |
protected void |
patchTargetNamespaceAttribute(XSDSchema xsdSchema) |
protected void |
reconcileAttributes(org.w3c.dom.Element changedElement) |
void |
setAnnotation(XSDAnnotation newAnnotation) |
void |
setModelGroup(XSDModelGroup newModelGroup) |
void |
setResolvedModelGroupDefinition(XSDModelGroupDefinition newResolvedModelGroupDefinition) |
protected void |
traverseToRootForAnalysis() |
void |
validate()
Validates whether this component conforms to the constraints defined in the XML Schema standard.
|
getCircular
addToSortedList, adoptBy, changeAttribute, findInSortedList, getAliasName, getAliasURI, getName, getQName, getTargetNamespace, getURI, getURIReferenceLabel, hasNameAndTargetNamespace, hasSameNameAndTargetNamespace, hasURI, mergeToSortedList, patchTargetNamespaceAttribute, reconcileNameAttribute, setName, setTargetNamespace, sortNamedComponents, toString
adoptDiagnostic, checkAttributes, checkAttributeTypeConstraint, checkAttributeTypeConstraint, checkBuiltInTypeConstraint, checkComplexContent, checkComplexContent, checkElementComplexContent, checkSimpleTypeConstraint, clearDiagnostics, cloneConcreteComponents, considerAllContainsForBestConcreteComponent, contains, convertToBoolean, createDiagnostic, createDiagnostic, createDiagnostic, createDiagnostic, createElement, createRequiredAttributeDiagnostic, createUnresolvedAttributeDeclaration, createUnresolvedAttributeGroupDefinition, createUnresolvedComplexTypeDefinition, createUnresolvedElementDeclaration, createUnresolvedIdentityConstraintDefinition, createUnresolvedModelGroupDefinition, createUnresolvedNotationDeclaration, createUnresolvedSimpleTypeDefinition, createUnresolvedTypeDefinition, elementAttributesChanged, elementChanged, elementContentsChanged, eNotificationRequired, eNotify, eObjectForURIFragmentSegment, eURIFragmentSegment, forceEngulf, forceEngulf, forceNiceInsertBefore, forceNiceRemoveChild, forceReplace, getAdoptionParentNode, getBestConcreteComponent, getComponentsWithApplicationInformation, getComponentsWithInformation, getComponentsWithUserInformation, getContainer, getContentNodes, getDiagnostics, getDiagnosticTarget, getElement, getRootContainer, getSchema, getXSDConcreteComponentImpls, getXSDContents, getXSDFactory, getXSDPackage, handleAnnotationReconciliation, handleElementForAdopt, moveContent, niceCreateNamespaceAttribute, niceInsertBefore, niceRemoveChild, niceSetAttribute, niceSetAttributeURIValue, orphanBy, orphanDiagnostic, populateDiagnostic, printDFA, reconcile, reconcileContents, reportConstraintViolation, reset, resolveAttributeDeclaration, resolveAttributeDeclaration, resolveAttributeDeclarationURI, resolveAttributeGroupDefinition, resolveAttributeGroupDefinition, resolveAttributeGroupDefinitionURI, resolveComplexTypeDefinition, resolveComplexTypeDefinition, resolveComplexTypeDefinitionURI, resolveElementDeclaration, resolveElementDeclaration, resolveElementDeclarationURI, resolveIdentityConstraintDefinition, resolveIdentityConstraintDefinition, resolveIdentityConstraintDefinitionURI, resolveModelGroupDefinition, resolveModelGroupDefinition, resolveModelGroupDefinitionURI, resolveNotationDeclaration, resolveNotationDeclaration, resolveNotationDeclarationURI, resolveSimpleTypeDefinition, resolveSimpleTypeDefinition, resolveSimpleTypeDefinitionURI, resolveTypeDefinition, resolveTypeDefinition, resolveTypeDefinitionURI, setElement, setElementGen, setListContentAndOrder, traverseToRootForPatching, updateElement, updateElement, updatePrefix
eAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURI
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicClass, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicInvoke, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eHasSettings, eInternalResource, eInverseAdd, eInverseAdd, eInverseRemove, eInvocationDelegate, eInvoke, eIsSet, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetDirectResource, eSetResource, eSetStore, eSetting, eSettingDelegate, eSettings, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStaticOperationCount, eStore, eUnset, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValues
eBasicAdapterArray, eBasicHasAdapters
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getAliasName, getAliasURI, getName, getQName, getTargetNamespace, getURI, hasNameAndTargetNamespace, hasSameNameAndTargetNamespace, hasURI, setName, setTargetNamespace
clearDiagnostics, contains, elementAttributesChanged, elementChanged, elementContentsChanged, getComponentsWithApplicationInformation, getComponentsWithUserInformation, getContainer, getDiagnostics, getElement, getRootContainer, getSchema, resolveAttributeDeclaration, resolveAttributeDeclaration, resolveAttributeDeclarationURI, resolveAttributeGroupDefinition, resolveAttributeGroupDefinition, resolveAttributeGroupDefinitionURI, resolveComplexTypeDefinition, resolveComplexTypeDefinition, resolveComplexTypeDefinitionURI, resolveElementDeclaration, resolveElementDeclaration, resolveElementDeclarationURI, resolveIdentityConstraintDefinition, resolveIdentityConstraintDefinition, resolveIdentityConstraintDefinitionURI, resolveModelGroupDefinition, resolveModelGroupDefinition, resolveModelGroupDefinitionURI, resolveNotationDeclaration, resolveNotationDeclaration, resolveNotationDeclarationURI, resolveSimpleTypeDefinition, resolveSimpleTypeDefinition, resolveSimpleTypeDefinitionURI, resolveTypeDefinition, resolveTypeDefinition, resolveTypeDefinitionURI, setElement, updateElement, updateElement
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
eAdapters, eDeliver, eNotify, eSetDeliver
protected static final boolean MODEL_GROUP_DEFINITION_REFERENCE_EDEFAULT
Model Group Definition Reference
' attribute.
protected XSDAnnotation annotation
Annotation
' containment reference.
getAnnotation()
protected XSDModelGroup modelGroup
Model Group
' containment reference.
getModelGroup()
protected XSDModelGroupDefinition resolvedModelGroupDefinition
Resolved Model Group Definition
' reference.
getResolvedModelGroupDefinition()
protected int analysisState
public static XSDModelGroupDefinition createModelGroupDefinition(org.w3c.dom.Node node)
protected EClass eStaticClass()
eStaticClass
in class XSDRedefinableComponentImpl
public java.lang.Boolean getModelGroupDefinitionReference()
protected boolean isUpdatingDOM()
isUpdatingDOM
in class XSDConcreteComponentImpl
public org.w3c.dom.Element createElement()
createElement
in class XSDConcreteComponentImpl
protected void patch()
patch
in class XSDNamedComponentImpl
protected void traverseToRootForAnalysis()
traverseToRootForAnalysis
in class XSDConcreteComponentImpl
protected boolean analyze()
analyze
in class XSDConcreteComponentImpl
protected void handleAnalysis()
public void validate()
XSDConcreteComponent
Diagnostics
are produced to report any problems.
The effect of calling this for a component not directly or indirectly contained by a schema
is undefined, and is likely to result in null pointer exceptions.validate
in interface XSDConcreteComponent
validate
in class XSDConcreteComponentImpl
XSDConcreteComponent.getDiagnostics()
,
XSDConcreteComponent.clearDiagnostics()
protected void patchTargetNamespaceAttribute(XSDSchema xsdSchema)
patchTargetNamespaceAttribute
in class XSDNamedComponentImpl
protected void reconcileAttributes(org.w3c.dom.Element changedElement)
reconcileAttributes
in class XSDNamedComponentImpl
protected void handleNewResolvedModelGroupDefinition(XSDModelGroupDefinition newResolvedModelGroupDefinition)
protected void handleUnreconciledElement(org.w3c.dom.Element child, java.util.List<XSDConcreteComponent> newContents, java.util.List<XSDConcreteComponent> remainingContents)
handleUnreconciledElement
in class XSDConcreteComponentImpl
protected void handleReconciliation(java.util.List<XSDConcreteComponent> newContents, java.util.List<XSDConcreteComponent> remainingContents)
handleReconciliation
in class XSDConcreteComponentImpl
protected void changeReference(EReference eReference)
changeReference
in class XSDConcreteComponentImpl
protected void adoptContent(EReference eReference, XSDConcreteComponent xsdConcreteComponent)
adoptContent
in class XSDConcreteComponentImpl
protected void orphanContent(EReference eReference, XSDConcreteComponent xsdConcreteComponent)
orphanContent
in class XSDConcreteComponentImpl
public boolean isModelGroupDefinitionReference()
XSDModelGroupDefinition
This concrete attribute is equivalent to
xsdModelGroupDefinition != xsdModelGroupDefinition.getResolvedModelGroupDefinition
()
An infoset feature will never return an instance for which this is the true
since this is a concrete attribute that is used to represent a model group definition
with a ref attribute.
isModelGroupDefinitionReference
in interface XSDModelGroupDefinition
XSDModelGroupDefinition.getResolvedModelGroupDefinition()
,
XSDPackage.getXSDModelGroupDefinition_ModelGroupDefinitionReference()
public XSDAnnotation getAnnotation()
getAnnotation
in interface XSDModelGroupDefinition
XSDModelGroupDefinition.setAnnotation(XSDAnnotation)
,
XSDPackage.getXSDModelGroupDefinition_Annotation()
public void setAnnotation(XSDAnnotation newAnnotation)
setAnnotation
in interface XSDModelGroupDefinition
newAnnotation
- the new value of the 'Annotation' containment reference.XSDModelGroupDefinition.getAnnotation()
public NotificationChain basicSetAnnotation(XSDAnnotation newAnnotation, NotificationChain msgs)
public XSDModelGroup getModelGroup()
getModelGroup
in interface XSDModelGroupDefinition
XSDModelGroupDefinition.setModelGroup(XSDModelGroup)
,
XSDPackage.getXSDModelGroupDefinition_ModelGroup()
public void setModelGroup(XSDModelGroup newModelGroup)
setModelGroup
in interface XSDModelGroupDefinition
newModelGroup
- the new value of the 'Model Group' containment reference.XSDModelGroupDefinition.getModelGroup()
public NotificationChain basicSetModelGroup(XSDModelGroup newModelGroup, NotificationChain msgs)
public XSDModelGroupDefinition getResolvedModelGroupDefinition()
getResolvedModelGroupDefinition
in interface XSDModelGroupDefinition
XSDModelGroupDefinition.isModelGroupDefinitionReference()
,
XSDModelGroupDefinition.setResolvedModelGroupDefinition(XSDModelGroupDefinition)
,
XSDPackage.getXSDModelGroupDefinition_ResolvedModelGroupDefinition()
public void setResolvedModelGroupDefinition(XSDModelGroupDefinition newResolvedModelGroupDefinition)
setResolvedModelGroupDefinition
in interface XSDModelGroupDefinition
newResolvedModelGroupDefinition
- the new value of the 'Resolved Model Group Definition' reference.XSDModelGroupDefinition.getResolvedModelGroupDefinition()
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
eInverseRemove
in class XSDConcreteComponentImpl
public java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in interface InternalEObject
eGet
in class XSDRedefinableComponentImpl
InternalEObject.eGet(EStructuralFeature, boolean, boolean)
public void eSet(int featureID, java.lang.Object newValue)
eSet
in interface InternalEObject
eSet
in class XSDNamedComponentImpl
EObject.eSet(EStructuralFeature, Object)
public void eUnset(int featureID)
eUnset
in interface InternalEObject
eUnset
in class XSDNamedComponentImpl
EObject.eUnset(EStructuralFeature)
public boolean eIsSet(int featureID)
eIsSet
in interface InternalEObject
eIsSet
in class XSDRedefinableComponentImpl
EObject.eIsSet(EStructuralFeature)
public java.lang.String getQName()
XSDNamedComponent
This concrete attribute is equivalent to
xsdNamedComponent.getQName
(xsdNamedComponent)
getQName
in interface XSDNamedComponent
getQName
in class XSDNamedComponentImpl
XSDNamedComponent.getQName(org.eclipse.xsd.XSDConcreteComponent)
,
XSDPackage.getXSDNamedComponent_QName()
public boolean isNamedComponentReference()
isNamedComponentReference
in class XSDNamedComponentImpl
public XSDNamedComponent getResolvedNamedComponent()
getResolvedNamedComponent
in class XSDNamedComponentImpl
public boolean isCircular()
XSDRedefinableComponentImpl
isCircular
in interface XSDRedefinableComponent
isCircular
in class XSDRedefinableComponentImpl
XSDPackage.getXSDRedefinableComponent_Circular()
public XSDConcreteComponent cloneConcreteComponent(boolean deep, boolean shareDOM)
XSDConcreteComponent
cloneConcreteComponent
in interface XSDConcreteComponent
cloneConcreteComponent
in class XSDConcreteComponentImpl
deep
- whether the clone should be deep.shareDOM
- whether the clone should share the original DOM