|
||||||||||
| 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.XSDNamedComponentImpl
org.eclipse.xsd.impl.XSDRedefinableComponentImpl
org.eclipse.xsd.impl.XSDAttributeGroupDefinitionImpl
public class XSDAttributeGroupDefinitionImpl
An implementation of the model object 'Attribute Group Definition'.
The following features are implemented:
Attribute Group Definition ReferenceAnnotationContentsAttribute UsesAttribute Wildcard ContentAttribute WildcardResolved Attribute Group DefinitionSynthetic Wildcard
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.eclipse.xsd.impl.XSDNamedComponentImpl |
|---|
XSDNamedComponentImpl.Comparator, XSDNamedComponentImpl.StringPairComparator, XSDNamedComponentImpl.XSDNamedComponentList<E extends java.lang.Object & XSDNamedComponent> |
| Nested classes/interfaces inherited from class org.eclipse.xsd.impl.XSDConcreteComponentImpl |
|---|
XSDConcreteComponentImpl.XSDContentsEList |
| Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl |
|---|
BasicEObjectImpl.EPropertiesHolder, BasicEObjectImpl.EPropertiesHolderBaseImpl, BasicEObjectImpl.EPropertiesHolderImpl |
| Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl |
|---|
BasicNotifierImpl.EAdapterList<E extends java.lang.Object & Adapter> |
| Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject |
|---|
InternalEObject.EStore |
| Field Summary | |
|---|---|
protected int |
analysisState
|
protected XSDAnnotation |
annotation
The cached value of the ' Annotation' containment reference |
protected static boolean |
ATTRIBUTE_GROUP_DEFINITION_REFERENCE_EDEFAULT
The default value of the ' Attribute Group Definition Reference' attribute |
protected EList<XSDAttributeUse> |
attributeUses
The cached value of the ' Attribute Uses' reference list |
protected XSDWildcard |
attributeWildcard
The cached value of the ' Attribute Wildcard' reference |
protected XSDWildcard |
attributeWildcardContent
The cached value of the ' Attribute Wildcard Content' containment reference |
protected EList<XSDAttributeGroupContent> |
contents
The cached value of the ' Contents' containment reference list |
protected XSDWildcardImpl |
effectiveWildcard
|
protected XSDAttributeGroupDefinition |
resolvedAttributeGroupDefinition
The cached value of the ' Resolved Attribute Group Definition' reference |
protected XSDWildcard |
syntheticWildcard
The cached value of the ' Synthetic Wildcard' containment reference |
| Fields inherited from class org.eclipse.xsd.impl.XSDRedefinableComponentImpl |
|---|
CIRCULAR_EDEFAULT |
| Fields inherited from class org.eclipse.xsd.impl.XSDNamedComponentImpl |
|---|
ALIAS_NAME_EDEFAULT, ALIAS_URI_EDEFAULT, name, NAME_EDEFAULT, QNAME_EDEFAULT, TARGET_NAMESPACE_EDEFAULT, targetNamespace, URI_EDEFAULT |
| Fields inherited from class org.eclipse.xsd.impl.XSDConcreteComponentImpl |
|---|
ANALYZED, ANALYZING, CIRCULAR, diagnostics, element, ELEMENT_EDEFAULT, ERROR, FATAL, forceResolve, 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 class org.eclipse.emf.ecore.impl.BasicEObjectImpl |
|---|
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET |
| Fields inherited from interface org.eclipse.emf.ecore.InternalEObject |
|---|
EOPPOSITE_FEATURE_BASE |
| Constructor Summary | |
|---|---|
protected |
XSDAttributeGroupDefinitionImpl()
|
| Method Summary | |
|---|---|
protected void |
adoptContent(EReference eReference,
XSDConcreteComponent xsdConcreteComponent)
|
protected boolean |
analyze()
|
NotificationChain |
basicSetAnnotation(XSDAnnotation newAnnotation,
NotificationChain msgs)
|
NotificationChain |
basicSetAttributeWildcardContent(XSDWildcard newAttributeWildcardContent,
NotificationChain msgs)
|
NotificationChain |
basicSetSyntheticWildcard(XSDWildcard newSyntheticWildcard,
NotificationChain msgs)
|
protected void |
changeReference(EReference eReference)
|
XSDConcreteComponent |
cloneConcreteComponent(boolean deep,
boolean shareDOM)
Creates a clone of the component. |
static XSDAttributeGroupDefinition |
createAttributeGroupDefinition(org.w3c.dom.Node node)
|
org.w3c.dom.Element |
createElement()
|
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()
|
java.lang.Boolean |
getAttributeGroupDefinitionReference()
|
EList<XSDAttributeUse> |
getAttributeUses()
|
static java.util.List<XSDAttributeUse> |
getAttributeUses(java.util.Collection<XSDAttributeGroupContent> xsdAttributeGroupContents,
java.util.Collection<XSDAttributeUse> xsdAttributeUses)
|
XSDWildcard |
getAttributeWildcard()
|
static XSDWildcard |
getAttributeWildcard(XSDWildcard baseWildcard,
XSDWildcard localWildcard,
java.util.Collection<XSDAttributeGroupContent> xsdAttributeGroupContents)
|
XSDWildcard |
getAttributeWildcardContent()
|
EList<XSDAttributeGroupContent> |
getContents()
|
java.lang.String |
getQName()
Returns the value of the 'QName' attribute |
XSDAttributeGroupDefinition |
getResolvedAttributeGroupDefinition()
|
XSDNamedComponent |
getResolvedNamedComponent()
|
XSDWildcard |
getSyntheticWildcard()
|
protected void |
handleAnalysis()
|
protected void |
handleNewResolvedAttributeGroupDefinition(XSDAttributeGroupDefinition newResolvedAttributeGroupDefinition)
|
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 |
isAttributeGroupDefinitionReference()
Returns the value of the 'Attribute Group Definition Reference' attribute |
boolean |
isCircular()
|
boolean |
isNamedComponentReference()
|
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 |
setAttributeWildcard(XSDWildcard newAttributeWildcard)
|
void |
setAttributeWildcardContent(XSDWildcard newAttributeWildcardContent)
|
void |
setResolvedAttributeGroupDefinition(XSDAttributeGroupDefinition newResolvedAttributeGroupDefinition)
|
void |
setSyntheticWildcard(XSDWildcard newSyntheticWildcard)
|
void |
validate()
Validates whether this component conforms to the constraints defined in the XML Schema standard. |
| Methods inherited from class org.eclipse.xsd.impl.XSDRedefinableComponentImpl |
|---|
getCircular |
| Methods inherited from class org.eclipse.xsd.impl.XSDNamedComponentImpl |
|---|
addToSortedList, adoptBy, changeAttribute, findInSortedList, getAliasName, getAliasURI, getName, getQName, getTargetNamespace, getURI, getURIReferenceLabel, hasNameAndTargetNamespace, hasSameNameAndTargetNamespace, hasURI, mergeToSortedList, patchTargetNamespaceAttribute, reconcileNameAttribute, setName, setTargetNamespace, sortNamedComponents, toString |
| 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.xsd.XSDNamedComponent |
|---|
getAliasName, getAliasURI, getName, getQName, getTargetNamespace, getURI, hasNameAndTargetNamespace, hasSameNameAndTargetNamespace, hasURI, setName, setTargetNamespace |
| Methods inherited from interface org.eclipse.emf.ecore.EObject |
|---|
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset |
| Methods inherited from interface org.eclipse.emf.common.notify.Notifier |
|---|
eAdapters, eDeliver, eNotify, eSetDeliver |
| Methods inherited from interface org.eclipse.emf.ecore.EObject |
|---|
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset |
| Methods inherited from interface org.eclipse.emf.common.notify.Notifier |
|---|
eAdapters, eDeliver, eNotify, eSetDeliver |
| Field Detail |
|---|
protected static final boolean ATTRIBUTE_GROUP_DEFINITION_REFERENCE_EDEFAULT
Attribute Group Definition Reference' attribute.
isAttributeGroupDefinitionReference(),
Constant Field Valuesprotected XSDAnnotation annotation
Annotation' containment reference.
getAnnotation()protected EList<XSDAttributeGroupContent> contents
Contents' containment reference list.
getContents()protected EList<XSDAttributeUse> attributeUses
Attribute Uses' reference list.
getAttributeUses()protected XSDWildcard attributeWildcardContent
Attribute Wildcard Content' containment reference.
getAttributeWildcardContent()protected XSDWildcard attributeWildcard
Attribute Wildcard' reference.
getAttributeWildcard()protected XSDAttributeGroupDefinition resolvedAttributeGroupDefinition
Resolved Attribute Group Definition' reference.
getResolvedAttributeGroupDefinition()protected XSDWildcard syntheticWildcard
Synthetic Wildcard' containment reference.
getSyntheticWildcard()protected int analysisState
protected XSDWildcardImpl effectiveWildcard
| Constructor Detail |
|---|
protected XSDAttributeGroupDefinitionImpl()
| Method Detail |
|---|
public static XSDAttributeGroupDefinition createAttributeGroupDefinition(org.w3c.dom.Node node)
protected EClass eStaticClass()
eStaticClass in class XSDRedefinableComponentImplpublic java.lang.Boolean getAttributeGroupDefinitionReference()
public org.w3c.dom.Element createElement()
createElement in class XSDConcreteComponentImplprotected void patch()
patch in class XSDNamedComponentImplprotected boolean analyze()
analyze in class XSDConcreteComponentImplprotected void handleAnalysis()
public void validate()
XSDConcreteComponentDiagnostics 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 XSDConcreteComponentvalidate in class XSDConcreteComponentImplXSDConcreteComponent.getDiagnostics(),
XSDConcreteComponent.clearDiagnostics()
public static java.util.List<XSDAttributeUse> getAttributeUses(java.util.Collection<XSDAttributeGroupContent> xsdAttributeGroupContents,
java.util.Collection<XSDAttributeUse> xsdAttributeUses)
public static XSDWildcard getAttributeWildcard(XSDWildcard baseWildcard,
XSDWildcard localWildcard,
java.util.Collection<XSDAttributeGroupContent> xsdAttributeGroupContents)
protected void patchTargetNamespaceAttribute(XSDSchema xsdSchema)
patchTargetNamespaceAttribute in class XSDNamedComponentImplprotected void reconcileAttributes(org.w3c.dom.Element changedElement)
reconcileAttributes in class XSDNamedComponentImplprotected void handleNewResolvedAttributeGroupDefinition(XSDAttributeGroupDefinition newResolvedAttributeGroupDefinition)
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 XSDConcreteComponentImplprotected 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 XSDConcreteComponentImplpublic boolean isAttributeGroupDefinitionReference()
XSDAttributeGroupDefinitionThis concrete attribute is equivalent to
xsdAttributeGroupDefinition != xsdAttributeGroupDefinition.getResolvedAttributeGroupDefinition()
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 an attribute group definition
with a ref attribute.
isAttributeGroupDefinitionReference in interface XSDAttributeGroupDefinitionXSDPackage.getXSDAttributeGroupDefinition_AttributeGroupDefinitionReference()public XSDAnnotation getAnnotation()
getAnnotation in interface XSDAttributeGroupDefinitionXSDAttributeGroupDefinition.setAnnotation(XSDAnnotation),
XSDPackage.getXSDAttributeGroupDefinition_Annotation()public void setAnnotation(XSDAnnotation newAnnotation)
setAnnotation in interface XSDAttributeGroupDefinitionnewAnnotation - the new value of the 'Annotation' containment reference.XSDAttributeGroupDefinition.getAnnotation()
public NotificationChain basicSetAnnotation(XSDAnnotation newAnnotation,
NotificationChain msgs)
public EList<XSDAttributeGroupContent> getContents()
getContents in interface XSDAttributeGroupDefinitionXSDPackage.getXSDAttributeGroupDefinition_Contents()public EList<XSDAttributeUse> getAttributeUses()
getAttributeUses in interface XSDAttributeGroupDefinitionXSDPackage.getXSDAttributeGroupDefinition_AttributeUses()public XSDWildcard getAttributeWildcardContent()
getAttributeWildcardContent in interface XSDAttributeGroupDefinitionXSDAttributeGroupDefinition.setAttributeWildcardContent(XSDWildcard),
XSDPackage.getXSDAttributeGroupDefinition_AttributeWildcardContent()public void setAttributeWildcardContent(XSDWildcard newAttributeWildcardContent)
setAttributeWildcardContent in interface XSDAttributeGroupDefinitionnewAttributeWildcardContent - the new value of the 'Attribute Wildcard Content' containment reference.XSDAttributeGroupDefinition.getAttributeWildcardContent()
public NotificationChain basicSetAttributeWildcardContent(XSDWildcard newAttributeWildcardContent,
NotificationChain msgs)
public XSDWildcard getAttributeWildcard()
getAttributeWildcard in interface XSDAttributeGroupDefinitionXSDAttributeGroupDefinition.setAttributeWildcard(XSDWildcard),
XSDPackage.getXSDAttributeGroupDefinition_AttributeWildcard()public void setAttributeWildcard(XSDWildcard newAttributeWildcard)
setAttributeWildcard in interface XSDAttributeGroupDefinitionnewAttributeWildcard - the new value of the 'Attribute Wildcard' reference.XSDAttributeGroupDefinition.getAttributeWildcard()public XSDAttributeGroupDefinition getResolvedAttributeGroupDefinition()
getResolvedAttributeGroupDefinition in interface XSDAttributeGroupDefinitionXSDAttributeGroupDefinition.setResolvedAttributeGroupDefinition(XSDAttributeGroupDefinition),
XSDPackage.getXSDAttributeGroupDefinition_ResolvedAttributeGroupDefinition()public void setResolvedAttributeGroupDefinition(XSDAttributeGroupDefinition newResolvedAttributeGroupDefinition)
setResolvedAttributeGroupDefinition in interface XSDAttributeGroupDefinitionnewResolvedAttributeGroupDefinition - the new value of the 'Resolved Attribute Group Definition' reference.XSDAttributeGroupDefinition.getResolvedAttributeGroupDefinition()public XSDWildcard getSyntheticWildcard()
getSyntheticWildcard in interface XSDAttributeGroupDefinitionXSDAttributeGroupDefinition.setSyntheticWildcard(XSDWildcard),
XSDPackage.getXSDAttributeGroupDefinition_SyntheticWildcard()
public NotificationChain basicSetSyntheticWildcard(XSDWildcard newSyntheticWildcard,
NotificationChain msgs)
public void setSyntheticWildcard(XSDWildcard newSyntheticWildcard)
setSyntheticWildcard in interface XSDAttributeGroupDefinitionnewSyntheticWildcard - the new value of the 'Synthetic Wildcard' containment reference.XSDAttributeGroupDefinition.getSyntheticWildcard()
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 InternalEObjecteGet in class XSDRedefinableComponentImpl
public void eSet(int featureID,
java.lang.Object newValue)
eSet in interface InternalEObjecteSet in class XSDNamedComponentImplpublic void eUnset(int featureID)
eUnset in interface InternalEObjecteUnset in class XSDNamedComponentImplpublic boolean eIsSet(int featureID)
eIsSet in interface InternalEObjecteIsSet in class XSDRedefinableComponentImplpublic java.lang.String getQName()
XSDNamedComponentThis concrete attribute is equivalent to
xsdNamedComponent.getQName(xsdNamedComponent)
getQName in interface XSDNamedComponentgetQName in class XSDNamedComponentImplXSDNamedComponent.getQName(org.eclipse.xsd.XSDConcreteComponent),
XSDPackage.getXSDNamedComponent_QName()public boolean isNamedComponentReference()
isNamedComponentReference in class XSDNamedComponentImplpublic XSDNamedComponent getResolvedNamedComponent()
getResolvedNamedComponent in class XSDNamedComponentImplpublic boolean isCircular()
XSDRedefinableComponentImpl
isCircular in interface XSDRedefinableComponentisCircular in class XSDRedefinableComponentImplXSDPackage.getXSDRedefinableComponent_Circular()
public XSDConcreteComponent cloneConcreteComponent(boolean deep,
boolean shareDOM)
XSDConcreteComponent
cloneConcreteComponent in interface XSDConcreteComponentcloneConcreteComponent in class XSDConcreteComponentImpldeep - whether the clone should be deep.shareDOM - whether the clone should share the original DOM
|
Copyright 2001-2006 IBM Corporation and others. All Rights Reserved. |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||