|
|||||||||
PREV CLASS SOURCE NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.eclipse.emf.common.notify.impl.NotifierImpl | +--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.XSDTypeDefinitionImpl | +--org.eclipse.xsd.impl.XSDComplexTypeDefinitionImpl
An implementation of the model object 'Complex Type Definition'.
The following features are implemented:
Derivation Method
Final
Abstract
Content Type Category
Prohibited Substitutions
Lexical Final
Block
Mixed
Content Annotation
Base Type Definition
Content
Content Type
Attribute Uses
Attribute Contents
Attribute Wildcard
Attribute Wildcard Content
Root Type Definition
Synthetic Particle
Synthetic Wildcard
Inner classes inherited from class org.eclipse.xsd.impl.XSDNamedComponentImpl |
XSDNamedComponentImpl.Comparator, XSDNamedComponentImpl.StringPairComparator |
Inner classes inherited from class org.eclipse.xsd.impl.XSDConcreteComponentImpl |
XSDConcreteComponentImpl.XSDContentsEList |
Inner classes inherited from class org.eclipse.emf.ecore.impl.EObjectImpl |
org.eclipse.emf.ecore.impl.EObjectImpl.EPropertiesHolder, org.eclipse.emf.ecore.impl.EObjectImpl.EPropertiesHolderImpl |
Field Summary | |
protected boolean |
abstract_
The cached value of the ' Abstract ' attribute. |
protected static boolean |
ABSTRACT_EDEFAULT
The default value of the ' Abstract ' attribute. |
protected boolean |
abstractESet
This is true if the Abstract attribute has been set. |
protected org.eclipse.emf.common.util.EList |
attributeContents
The cached value of the ' Attribute Contents ' containment reference list. |
protected org.eclipse.emf.common.util.EList |
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 XSDTypeDefinition |
baseTypeDefinition
The cached value of the ' Base Type Definition ' reference. |
protected org.eclipse.emf.common.util.EList |
block
The cached value of the ' Block ' attribute list. |
protected XSDComplexTypeContent |
content
The cached value of the ' Content ' containment reference. |
protected static XSDContentTypeCategory |
CONTENT_TYPE_CATEGORY_EDEFAULT
The default value of the ' Content Type Category ' attribute. |
protected XSDAnnotation |
contentAnnotation
The cached value of the ' Content Annotation ' containment reference. |
protected XSDComplexTypeContent |
contentType
The cached value of the ' Content Type ' reference. |
protected XSDContentTypeCategory |
contentTypeCategory
The cached value of the ' Content Type Category ' attribute. |
protected static XSDDerivationMethod |
DERIVATION_METHOD_EDEFAULT
The default value of the ' Derivation Method ' attribute. |
protected XSDDerivationMethod |
derivationMethod
The cached value of the ' Derivation Method ' attribute. |
protected boolean |
derivationMethodESet
This is true if the Derivation Method attribute has been set. |
protected XSDWildcardImpl |
effectiveWildcard
|
protected XSDParticle |
extensionParticle
|
protected org.eclipse.emf.common.util.EList |
final_
The cached value of the ' Final ' attribute list. |
protected org.eclipse.emf.common.util.EList |
lexicalFinal
The cached value of the ' Lexical Final ' attribute list. |
protected boolean |
mixed
The cached value of the ' Mixed ' attribute. |
protected static boolean |
MIXED_EDEFAULT
The default value of the ' Mixed ' attribute. |
protected boolean |
mixedESet
This is true if the Mixed attribute has been set. |
protected org.eclipse.emf.common.util.EList |
prohibitedSubstitutions
The cached value of the ' Prohibited Substitutions ' attribute list. |
protected XSDParticle |
syntheticParticle
The cached value of the ' Synthetic Particle ' containment reference. |
protected XSDWildcard |
syntheticWildcard
The cached value of the ' Synthetic Wildcard ' containment reference. |
Fields inherited from class org.eclipse.xsd.impl.XSDTypeDefinitionImpl |
analysisState, annotation, annotations, derivationAnnotation |
Fields inherited from class org.eclipse.xsd.impl.XSDNamedComponentImpl |
name, NAME_EDEFAULT, TARGET_NAMESPACE_EDEFAULT, targetNamespace |
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 |
eContainer, eContainerFeatureID, ELAST_EOBJECT_FLAG, eProperties |
Fields inherited from class org.eclipse.emf.common.notify.impl.NotifierImpl |
eAdapters, EDELIVER, eFlags, ELAST_NOTIFIER_FLAG |
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject |
EOPPOSITE_FEATURE_BASE |
Constructor Summary | |
protected |
XSDComplexTypeDefinitionImpl()
|
Method Summary | |
protected boolean |
abbreviate()
|
protected void |
adoptContent(org.eclipse.emf.ecore.EReference eReference,
XSDConcreteComponent xsdConcreteComponent)
|
org.eclipse.emf.common.notify.NotificationChain |
basicSetAttributeWildcardContent(XSDWildcard newAttributeWildcardContent,
org.eclipse.emf.common.notify.NotificationChain msgs)
|
org.eclipse.emf.common.notify.NotificationChain |
basicSetContent(XSDComplexTypeContent newContent,
org.eclipse.emf.common.notify.NotificationChain msgs)
|
org.eclipse.emf.common.notify.NotificationChain |
basicSetContentAnnotation(XSDAnnotation newContentAnnotation,
org.eclipse.emf.common.notify.NotificationChain msgs)
|
org.eclipse.emf.common.notify.NotificationChain |
basicSetSyntheticParticle(XSDParticle newSyntheticParticle,
org.eclipse.emf.common.notify.NotificationChain msgs)
|
org.eclipse.emf.common.notify.NotificationChain |
basicSetSyntheticWildcard(XSDWildcard newSyntheticWildcard,
org.eclipse.emf.common.notify.NotificationChain msgs)
|
protected void |
changeAttribute(org.eclipse.emf.ecore.EAttribute eAttribute)
|
protected void |
changeReference(org.eclipse.emf.ecore.EReference eReference)
|
XSDConcreteComponent |
cloneConcreteComponent(boolean deep,
boolean shareDOM)
Creates a clone of the component. |
protected boolean |
considerAllContainsForBestConcreteComponent()
|
static XSDComplexTypeDefinition |
createComplexTypeDefinition(org.w3c.dom.Node node)
|
protected org.w3c.dom.Element[] |
createContentElementPair()
|
protected org.w3c.dom.Element |
createDerivationElement()
|
org.w3c.dom.Element |
createElement()
|
java.lang.Object |
eGet(org.eclipse.emf.ecore.EStructuralFeature eFeature,
boolean resolve)
|
org.eclipse.emf.common.notify.NotificationChain |
eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd,
int featureID,
java.lang.Class baseClass,
org.eclipse.emf.common.notify.NotificationChain msgs)
|
boolean |
eIsSet(org.eclipse.emf.ecore.EStructuralFeature eFeature)
|
void |
eSet(org.eclipse.emf.ecore.EStructuralFeature eFeature,
java.lang.Object newValue)
|
protected org.eclipse.emf.ecore.EClass |
eStaticClass()
|
void |
eUnset(org.eclipse.emf.ecore.EStructuralFeature eFeature)
|
protected org.w3c.dom.Element[] |
findOrCreateContentElementPair()
|
protected org.w3c.dom.Node |
getAdoptionParentNode(org.eclipse.emf.ecore.EReference eReference)
|
org.eclipse.emf.common.util.EList |
getAttributeContents()
|
org.eclipse.emf.common.util.EList |
getAttributeUses()
|
XSDWildcard |
getAttributeWildcard()
|
XSDWildcard |
getAttributeWildcardContent()
|
XSDTypeDefinition |
getBadTypeDerivation(XSDTypeDefinition xsdTypeDefinition,
boolean extension,
boolean restriction)
Returns the first type between this and the given one, that derives from it's base in a way not permitted as constrained by Type Derivation OK Complex and Simple. |
XSDTypeDefinition |
getBaseType()
Returns the value of the 'Base Type' reference. |
XSDTypeDefinition |
getBaseTypeDefinition()
|
org.eclipse.emf.common.util.EList |
getBlock()
|
XSDParticle |
getComplexType()
Returns the value of the 'Complex Type' reference. |
XSDComplexTypeContent |
getContent()
|
XSDAnnotation |
getContentAnnotation()
|
protected org.w3c.dom.Element[] |
getContentElementPair()
|
protected java.util.Collection |
getContentNodes(org.w3c.dom.Element changedElement)
|
XSDComplexTypeContent |
getContentType()
|
XSDContentTypeCategory |
getContentTypeCategory()
|
XSDDerivationMethod |
getDerivationMethod()
|
org.eclipse.emf.common.util.EList |
getFinal()
|
org.eclipse.emf.common.util.EList |
getLexicalFinal()
|
protected static java.util.Map |
getProhibitedAttributes(java.util.Collection xsdAttributeContents)
|
protected static java.util.Map |
getProhibitedAttributeURIs(XSDComplexTypeDefinition xsdComplexTypeDefinition)
|
org.eclipse.emf.common.util.EList |
getProhibitedSubstitutions()
|
XSDTypeDefinition |
getRootType()
Returns the value of the 'Root Type' reference. |
XSDTypeDefinition |
getRootTypeDefinition()
Returns the value of the 'Root Type Definition' reference. |
XSDSimpleTypeDefinition |
getSimpleType()
Returns the value of the 'Simple Type' reference. |
java.lang.String |
getStringBlock()
Returns the String value of the ' Block ' attribute list. |
java.lang.String |
getStringFinal()
Returns the String value of the ' Final ' attribute list. |
java.lang.String |
getStringLexicalFinal()
Returns the String value of the ' Lexical Final ' attribute list. |
java.lang.String |
getStringProhibitedSubstitutions()
Returns the String value of the ' Prohibited Substitutions ' attribute list. |
XSDParticle |
getSyntheticParticle()
|
XSDWildcard |
getSyntheticWildcard()
|
protected void |
handleAnalysis()
|
protected XSDTypeDefinition |
handleNewBaseTypeDefinition(XSDTypeDefinition newBaseTypeDefinition)
|
protected void |
handleReconciliation(java.util.List newContents,
java.util.List remainingContents)
|
protected void |
handleUnreconciledElement(org.w3c.dom.Element child,
java.util.List newContents,
java.util.List remainingContents)
|
boolean |
isAbstract()
|
protected boolean |
isEmptyContent(XSDParticle xsdParticle)
|
boolean |
isMixed()
|
boolean |
isSetAbstract()
|
boolean |
isSetBlock()
|
boolean |
isSetDerivationMethod()
|
boolean |
isSetLexicalFinal()
|
boolean |
isSetMixed()
|
protected void |
orphanContent(org.eclipse.emf.ecore.EReference eReference,
XSDConcreteComponent xsdConcreteComponent)
|
protected void |
patch()
|
protected void |
reconcileAttributes(org.w3c.dom.Element changedElement)
|
void |
setAbstract(boolean newAbstract)
|
void |
setAttributeWildcard(XSDWildcard newAttributeWildcard)
|
void |
setAttributeWildcardContent(XSDWildcard newAttributeWildcardContent)
|
void |
setBaseTypeDefinition(XSDTypeDefinition newBaseTypeDefinition)
|
void |
setContent(XSDComplexTypeContent newContent)
|
void |
setContentAnnotation(XSDAnnotation newContentAnnotation)
|
void |
setContentType(XSDComplexTypeContent newContentType)
|
void |
setContentTypeCategory(XSDContentTypeCategory newContentTypeCategory)
|
void |
setDerivationMethod(XSDDerivationMethod newDerivationMethod)
|
void |
setMixed(boolean newMixed)
|
void |
setStringBlock(java.lang.String block)
Sets the String value of the ' Block ' attribute. |
void |
setStringLexicalFinal(java.lang.String finalDefault)
Sets the String value of the ' Lexical Final ' attribute. |
void |
setSyntheticParticle(XSDParticle newSyntheticParticle)
|
void |
setSyntheticWildcard(XSDWildcard newSyntheticWildcard)
|
java.lang.String |
toString()
|
void |
unsetAbstract()
|
void |
unsetBlock()
|
void |
unsetDerivationMethod()
|
void |
unsetLexicalFinal()
|
void |
unsetMixed()
|
void |
validate()
Validates whether this component conforms to the constraints defined in the XML Schema standard. |
static void |
validateAttributeGroup(XSDConcreteComponentImpl xsdConcreteComponent,
XSDWildcard containedWildcard,
org.eclipse.emf.common.util.EList baseXSDAttributeUses,
org.eclipse.emf.common.util.EList xsdAttributeUses,
XSDWildcard baseXSDWildcard,
XSDWildcard xsdWildcard)
|
Methods inherited from class org.eclipse.xsd.impl.XSDTypeDefinitionImpl |
analyze, basicSetAnnotation, basicSetDerivationAnnotation, createTypeDefinition, getAnnotation, getAnnotations, getDerivationAnnotation, getLowestCommonAncestor, isCircular, setAnnotation, setDerivationAnnotation |
Methods inherited from class org.eclipse.xsd.impl.XSDRedefinableComponentImpl |
getCircular |
Methods inherited from class org.eclipse.xsd.impl.XSDNamedComponentImpl |
addToSortedList, adoptBy, findInSortedList, getAliasName, getAliasURI, getName, getQName, getQName, getResolvedNamedComponent, getTargetNamespace, getURI, getURIReferenceLabel, hasNameAndTargetNamespace, hasSameNameAndTargetNamespace, hasURI, isNamedComponentReference, mergeToSortedList, patchTargetNamespaceAttribute, reconcileNameAttribute, setName, setTargetNamespace, sortNamedComponents |
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl |
eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicSetContainer, eClass, eContainer, eContainerFeatureID, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicFeatureID, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicIsSet, eDynamicSet, eDynamicUnset, eGet, eHasSettings, eInternalResource, eInverseAdd, eIsProxy, eProperties, eProxyURI, eResource, eSetClass, eSetProxyURI, eSetResource, eSetting, eSettingDelegate, eSettings, eStaticFeatureCount |
Methods inherited from class org.eclipse.emf.common.notify.impl.NotifierImpl |
eAdapters, eDeliver, eSetDeliver |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.eclipse.xsd.XSDTypeDefinition |
getAnnotation, getAnnotations, getDerivationAnnotation, setAnnotation, setDerivationAnnotation |
Methods inherited from interface org.eclipse.xsd.XSDRedefinableComponent |
isCircular |
Methods inherited from interface org.eclipse.xsd.XSDNamedComponent |
getAliasName, getAliasURI, getName, getQName, getQName, getTargetNamespace, getURI, hasNameAndTargetNamespace, hasSameNameAndTargetNamespace, hasURI, setName, setTargetNamespace |
Methods inherited from interface org.eclipse.emf.ecore.EObject |
eAllContents, eClass, eContainer, 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 XSDDerivationMethod DERIVATION_METHOD_EDEFAULT
Derivation Method
' attribute.
getDerivationMethod()
protected XSDDerivationMethod derivationMethod
Derivation Method
' attribute.
getDerivationMethod()
protected boolean derivationMethodESet
protected org.eclipse.emf.common.util.EList final_
Final
' attribute list.
getFinal()
protected static final boolean ABSTRACT_EDEFAULT
Abstract
' attribute.
isAbstract()
protected boolean abstract_
Abstract
' attribute.
isAbstract()
protected boolean abstractESet
protected static final XSDContentTypeCategory CONTENT_TYPE_CATEGORY_EDEFAULT
Content Type Category
' attribute.
getContentTypeCategory()
protected XSDContentTypeCategory contentTypeCategory
Content Type Category
' attribute.
getContentTypeCategory()
protected org.eclipse.emf.common.util.EList prohibitedSubstitutions
Prohibited Substitutions
' attribute list.
getProhibitedSubstitutions()
protected org.eclipse.emf.common.util.EList lexicalFinal
Lexical Final
' attribute list.
getLexicalFinal()
protected org.eclipse.emf.common.util.EList block
Block
' attribute list.
getBlock()
protected static final boolean MIXED_EDEFAULT
Mixed
' attribute.
isMixed()
protected boolean mixed
Mixed
' attribute.
isMixed()
protected boolean mixedESet
protected XSDAnnotation contentAnnotation
Content Annotation
' containment reference.
getContentAnnotation()
protected XSDTypeDefinition baseTypeDefinition
Base Type Definition
' reference.
getBaseTypeDefinition()
protected XSDComplexTypeContent content
Content
' containment reference.
getContent()
protected XSDComplexTypeContent contentType
Content Type
' reference.
getContentType()
protected org.eclipse.emf.common.util.EList attributeUses
Attribute Uses
' reference list.
getAttributeUses()
protected org.eclipse.emf.common.util.EList attributeContents
Attribute Contents
' containment reference list.
getAttributeContents()
protected XSDWildcard attributeWildcard
Attribute Wildcard
' reference.
getAttributeWildcard()
protected XSDWildcard attributeWildcardContent
Attribute Wildcard Content
' containment reference.
getAttributeWildcardContent()
protected XSDParticle syntheticParticle
Synthetic Particle
' containment reference.
getSyntheticParticle()
protected XSDWildcard syntheticWildcard
Synthetic Wildcard
' containment reference.
getSyntheticWildcard()
protected XSDParticle extensionParticle
protected XSDWildcardImpl effectiveWildcard
Constructor Detail |
protected XSDComplexTypeDefinitionImpl()
Method Detail |
public static XSDComplexTypeDefinition createComplexTypeDefinition(org.w3c.dom.Node node)
protected org.eclipse.emf.ecore.EClass eStaticClass()
eStaticClass
in class XSDTypeDefinitionImpl
public XSDDerivationMethod getDerivationMethod()
getDerivationMethod
in interface XSDComplexTypeDefinition
org.eclipse.xsd.XSDComplexTypeDefinition
XSDDerivationMethod
,
XSDComplexTypeDefinition.isSetDerivationMethod()
,
XSDComplexTypeDefinition.unsetDerivationMethod()
,
XSDComplexTypeDefinition.setDerivationMethod(XSDDerivationMethod)
,
XSDPackage.getXSDComplexTypeDefinition_DerivationMethod()
public void setDerivationMethod(XSDDerivationMethod newDerivationMethod)
setDerivationMethod
in interface XSDComplexTypeDefinition
org.eclipse.xsd.XSDComplexTypeDefinition
value
- the new value of the 'Derivation Method' attribute.XSDDerivationMethod
,
XSDComplexTypeDefinition.isSetDerivationMethod()
,
XSDComplexTypeDefinition.unsetDerivationMethod()
,
XSDComplexTypeDefinition.getDerivationMethod()
public void unsetDerivationMethod()
unsetDerivationMethod
in interface XSDComplexTypeDefinition
org.eclipse.xsd.XSDComplexTypeDefinition
XSDComplexTypeDefinition.isSetDerivationMethod()
,
XSDComplexTypeDefinition.getDerivationMethod()
,
XSDComplexTypeDefinition.setDerivationMethod(XSDDerivationMethod)
public boolean isSetDerivationMethod()
isSetDerivationMethod
in interface XSDComplexTypeDefinition
org.eclipse.xsd.XSDComplexTypeDefinition
XSDComplexTypeDefinition.unsetDerivationMethod()
,
XSDComplexTypeDefinition.getDerivationMethod()
,
XSDComplexTypeDefinition.setDerivationMethod(XSDDerivationMethod)
public org.eclipse.emf.common.util.EList getFinal()
getFinal
in interface XSDComplexTypeDefinition
org.eclipse.xsd.XSDComplexTypeDefinition
XSDComplexTypeDefinition.getStringFinal()
,
XSDComplexFinal
,
XSDPackage.getXSDComplexTypeDefinition_Final()
public boolean isAbstract()
isAbstract
in interface XSDComplexTypeDefinition
org.eclipse.xsd.XSDComplexTypeDefinition
XSDComplexTypeDefinition.isSetAbstract()
,
XSDComplexTypeDefinition.unsetAbstract()
,
XSDComplexTypeDefinition.setAbstract(boolean)
,
XSDPackage.getXSDComplexTypeDefinition_Abstract()
public void setAbstract(boolean newAbstract)
setAbstract
in interface XSDComplexTypeDefinition
org.eclipse.xsd.XSDComplexTypeDefinition
value
- the new value of the 'Abstract' attribute.XSDComplexTypeDefinition.isSetAbstract()
,
XSDComplexTypeDefinition.unsetAbstract()
,
XSDComplexTypeDefinition.isAbstract()
public void unsetAbstract()
unsetAbstract
in interface XSDComplexTypeDefinition
org.eclipse.xsd.XSDComplexTypeDefinition
XSDComplexTypeDefinition.isSetAbstract()
,
XSDComplexTypeDefinition.isAbstract()
,
XSDComplexTypeDefinition.setAbstract(boolean)
public boolean isSetAbstract()
isSetAbstract
in interface XSDComplexTypeDefinition
org.eclipse.xsd.XSDComplexTypeDefinition
XSDComplexTypeDefinition.unsetAbstract()
,
XSDComplexTypeDefinition.isAbstract()
,
XSDComplexTypeDefinition.setAbstract(boolean)
public XSDContentTypeCategory getContentTypeCategory()
getContentTypeCategory
in interface XSDComplexTypeDefinition
org.eclipse.xsd.XSDComplexTypeDefinition
XSDContentTypeCategory
,
XSDComplexTypeDefinition.setContentTypeCategory(XSDContentTypeCategory)
,
XSDPackage.getXSDComplexTypeDefinition_ContentTypeCategory()
public void setContentTypeCategory(XSDContentTypeCategory newContentTypeCategory)
setContentTypeCategory
in interface XSDComplexTypeDefinition
org.eclipse.xsd.XSDComplexTypeDefinition
value
- the new value of the 'Content Type Category' attribute.XSDContentTypeCategory
,
XSDComplexTypeDefinition.getContentTypeCategory()
public org.eclipse.emf.common.util.EList getProhibitedSubstitutions()
getProhibitedSubstitutions
in interface XSDComplexTypeDefinition
org.eclipse.xsd.XSDComplexTypeDefinition
XSDComplexTypeDefinition.getStringProhibitedSubstitutions()
,
XSDProhibitedSubstitutions
,
XSDPackage.getXSDComplexTypeDefinition_ProhibitedSubstitutions()
public org.eclipse.emf.common.util.EList getLexicalFinal()
getLexicalFinal
in interface XSDComplexTypeDefinition
org.eclipse.xsd.XSDComplexTypeDefinition
XSDComplexTypeDefinition.getStringLexicalFinal()
,
XSDComplexTypeDefinition.setStringLexicalFinal(java.lang.String)
,
XSDComplexFinal
,
XSDComplexTypeDefinition.isSetLexicalFinal()
,
XSDComplexTypeDefinition.unsetLexicalFinal()
,
XSDPackage.getXSDComplexTypeDefinition_LexicalFinal()
public void unsetLexicalFinal()
unsetLexicalFinal
in interface XSDComplexTypeDefinition
org.eclipse.xsd.XSDComplexTypeDefinition
XSDComplexTypeDefinition.isSetLexicalFinal()
,
XSDComplexTypeDefinition.getLexicalFinal()
public boolean isSetLexicalFinal()
isSetLexicalFinal
in interface XSDComplexTypeDefinition
org.eclipse.xsd.XSDComplexTypeDefinition
XSDComplexTypeDefinition.unsetLexicalFinal()
,
XSDComplexTypeDefinition.getLexicalFinal()
public org.eclipse.emf.common.util.EList getBlock()
getBlock
in interface XSDComplexTypeDefinition
org.eclipse.xsd.XSDComplexTypeDefinition
XSDComplexTypeDefinition.getStringBlock()
,
XSDComplexTypeDefinition.setStringBlock(java.lang.String)
,
XSDProhibitedSubstitutions
,
XSDComplexTypeDefinition.isSetBlock()
,
XSDComplexTypeDefinition.unsetBlock()
,
XSDPackage.getXSDComplexTypeDefinition_Block()
public void unsetBlock()
unsetBlock
in interface XSDComplexTypeDefinition
org.eclipse.xsd.XSDComplexTypeDefinition
XSDComplexTypeDefinition.isSetBlock()
,
XSDComplexTypeDefinition.getBlock()
public boolean isSetBlock()
isSetBlock
in interface XSDComplexTypeDefinition
org.eclipse.xsd.XSDComplexTypeDefinition
XSDComplexTypeDefinition.unsetBlock()
,
XSDComplexTypeDefinition.getBlock()
public boolean isMixed()
isMixed
in interface XSDComplexTypeDefinition
org.eclipse.xsd.XSDComplexTypeDefinition
XSDComplexTypeDefinition.isSetMixed()
,
XSDComplexTypeDefinition.unsetMixed()
,
XSDComplexTypeDefinition.setMixed(boolean)
,
XSDPackage.getXSDComplexTypeDefinition_Mixed()
public void setMixed(boolean newMixed)
setMixed
in interface XSDComplexTypeDefinition
org.eclipse.xsd.XSDComplexTypeDefinition
value
- the new value of the 'Mixed' attribute.XSDComplexTypeDefinition.isSetMixed()
,
XSDComplexTypeDefinition.unsetMixed()
,
XSDComplexTypeDefinition.isMixed()
public void unsetMixed()
unsetMixed
in interface XSDComplexTypeDefinition
org.eclipse.xsd.XSDComplexTypeDefinition
XSDComplexTypeDefinition.isSetMixed()
,
XSDComplexTypeDefinition.isMixed()
,
XSDComplexTypeDefinition.setMixed(boolean)
public boolean isSetMixed()
isSetMixed
in interface XSDComplexTypeDefinition
org.eclipse.xsd.XSDComplexTypeDefinition
XSDComplexTypeDefinition.unsetMixed()
,
XSDComplexTypeDefinition.isMixed()
,
XSDComplexTypeDefinition.setMixed(boolean)
public XSDAnnotation getContentAnnotation()
getContentAnnotation
in interface XSDComplexTypeDefinition
org.eclipse.xsd.XSDComplexTypeDefinition
XSDComplexTypeDefinition.setContentAnnotation(XSDAnnotation)
,
XSDPackage.getXSDComplexTypeDefinition_ContentAnnotation()
public void setContentAnnotation(XSDAnnotation newContentAnnotation)
setContentAnnotation
in interface XSDComplexTypeDefinition
org.eclipse.xsd.XSDComplexTypeDefinition
value
- the new value of the 'Content Annotation' containment reference.XSDComplexTypeDefinition.getContentAnnotation()
public org.eclipse.emf.common.notify.NotificationChain basicSetContentAnnotation(XSDAnnotation newContentAnnotation, org.eclipse.emf.common.notify.NotificationChain msgs)
public XSDTypeDefinition getBaseTypeDefinition()
getBaseTypeDefinition
in interface XSDComplexTypeDefinition
org.eclipse.xsd.XSDComplexTypeDefinition
XSDComplexTypeDefinition.setBaseTypeDefinition(XSDTypeDefinition)
,
XSDPackage.getXSDComplexTypeDefinition_BaseTypeDefinition()
public void setBaseTypeDefinition(XSDTypeDefinition newBaseTypeDefinition)
setBaseTypeDefinition
in interface XSDComplexTypeDefinition
org.eclipse.xsd.XSDComplexTypeDefinition
value
- the new value of the 'Base Type Definition' reference.XSDComplexTypeDefinition.getBaseTypeDefinition()
public XSDComplexTypeContent getContent()
getContent
in interface XSDComplexTypeDefinition
org.eclipse.xsd.XSDComplexTypeDefinition
XSDComplexTypeDefinition.setContent(XSDComplexTypeContent)
,
XSDPackage.getXSDComplexTypeDefinition_Content()
public void setContent(XSDComplexTypeContent newContent)
setContent
in interface XSDComplexTypeDefinition
org.eclipse.xsd.XSDComplexTypeDefinition
value
- the new value of the 'Content' containment reference.XSDComplexTypeDefinition.getContent()
public org.eclipse.emf.common.notify.NotificationChain basicSetContent(XSDComplexTypeContent newContent, org.eclipse.emf.common.notify.NotificationChain msgs)
public XSDComplexTypeContent getContentType()
getContentType
in interface XSDComplexTypeDefinition
org.eclipse.xsd.XSDComplexTypeDefinition
XSDComplexTypeDefinition.setContentType(XSDComplexTypeContent)
,
XSDPackage.getXSDComplexTypeDefinition_ContentType()
public XSDParticle getComplexType()
XSDTypeDefinition
This represents
the complex 'Content Type
' reference,
if it is complex
,
i.e., if it is a 'Particle
'.
getComplexType
in interface XSDTypeDefinition
getComplexType
in class XSDTypeDefinitionImpl
org.eclipse.xsd.XSDTypeDefinition
XSDPackage.getXSDTypeDefinition_ComplexType()
public void setContentType(XSDComplexTypeContent newContentType)
setContentType
in interface XSDComplexTypeDefinition
org.eclipse.xsd.XSDComplexTypeDefinition
value
- the new value of the 'Content Type' reference.XSDComplexTypeDefinition.getContentType()
public org.eclipse.emf.common.util.EList getAttributeUses()
getAttributeUses
in interface XSDComplexTypeDefinition
org.eclipse.xsd.XSDComplexTypeDefinition
XSDPackage.getXSDComplexTypeDefinition_AttributeUses()
public org.eclipse.emf.common.util.EList getAttributeContents()
getAttributeContents
in interface XSDComplexTypeDefinition
org.eclipse.xsd.XSDComplexTypeDefinition
XSDPackage.getXSDComplexTypeDefinition_AttributeContents()
public XSDWildcard getAttributeWildcard()
getAttributeWildcard
in interface XSDComplexTypeDefinition
org.eclipse.xsd.XSDComplexTypeDefinition
XSDComplexTypeDefinition.setAttributeWildcard(XSDWildcard)
,
XSDPackage.getXSDComplexTypeDefinition_AttributeWildcard()
public void setAttributeWildcard(XSDWildcard newAttributeWildcard)
setAttributeWildcard
in interface XSDComplexTypeDefinition
org.eclipse.xsd.XSDComplexTypeDefinition
value
- the new value of the 'Attribute Wildcard' reference.XSDComplexTypeDefinition.getAttributeWildcard()
public XSDWildcard getAttributeWildcardContent()
getAttributeWildcardContent
in interface XSDComplexTypeDefinition
org.eclipse.xsd.XSDComplexTypeDefinition
XSDComplexTypeDefinition.setAttributeWildcardContent(XSDWildcard)
,
XSDPackage.getXSDComplexTypeDefinition_AttributeWildcardContent()
public void setAttributeWildcardContent(XSDWildcard newAttributeWildcardContent)
setAttributeWildcardContent
in interface XSDComplexTypeDefinition
org.eclipse.xsd.XSDComplexTypeDefinition
value
- the new value of the 'Attribute Wildcard Content' containment reference.XSDComplexTypeDefinition.getAttributeWildcardContent()
public org.eclipse.emf.common.notify.NotificationChain basicSetAttributeWildcardContent(XSDWildcard newAttributeWildcardContent, org.eclipse.emf.common.notify.NotificationChain msgs)
public org.w3c.dom.Element createElement()
createElement
in class XSDConcreteComponentImpl
protected org.w3c.dom.Element[] createContentElementPair()
protected org.w3c.dom.Element createDerivationElement()
protected boolean considerAllContainsForBestConcreteComponent()
considerAllContainsForBestConcreteComponent
in class XSDConcreteComponentImpl
protected void patch()
patch
in class XSDTypeDefinitionImpl
protected void handleAnalysis()
handleAnalysis
in class XSDTypeDefinitionImpl
protected boolean isEmptyContent(XSDParticle xsdParticle)
public void validate()
XSDConcreteComponent
Diagnostics
are produced to report any problems.validate
in interface XSDConcreteComponent
validate
in class XSDConcreteComponentImpl
org.eclipse.xsd.XSDConcreteComponent
XSDConcreteComponent.getDiagnostics()
,
XSDConcreteComponent.clearDiagnostics()
protected static java.util.Map getProhibitedAttributeURIs(XSDComplexTypeDefinition xsdComplexTypeDefinition)
protected static java.util.Map getProhibitedAttributes(java.util.Collection xsdAttributeContents)
public static void validateAttributeGroup(XSDConcreteComponentImpl xsdConcreteComponent, XSDWildcard containedWildcard, org.eclipse.emf.common.util.EList baseXSDAttributeUses, org.eclipse.emf.common.util.EList xsdAttributeUses, XSDWildcard baseXSDWildcard, XSDWildcard xsdWildcard)
protected void reconcileAttributes(org.w3c.dom.Element changedElement)
reconcileAttributes
in class XSDNamedComponentImpl
protected XSDTypeDefinition handleNewBaseTypeDefinition(XSDTypeDefinition newBaseTypeDefinition)
protected org.w3c.dom.Node getAdoptionParentNode(org.eclipse.emf.ecore.EReference eReference)
getAdoptionParentNode
in class XSDConcreteComponentImpl
protected java.util.Collection getContentNodes(org.w3c.dom.Element changedElement)
getContentNodes
in class XSDConcreteComponentImpl
protected void handleUnreconciledElement(org.w3c.dom.Element child, java.util.List newContents, java.util.List remainingContents)
handleUnreconciledElement
in class XSDConcreteComponentImpl
protected void handleReconciliation(java.util.List newContents, java.util.List remainingContents)
handleReconciliation
in class XSDConcreteComponentImpl
protected void changeAttribute(org.eclipse.emf.ecore.EAttribute eAttribute)
changeAttribute
in class XSDNamedComponentImpl
protected void changeReference(org.eclipse.emf.ecore.EReference eReference)
changeReference
in class XSDConcreteComponentImpl
protected boolean abbreviate()
protected org.w3c.dom.Element[] findOrCreateContentElementPair()
protected org.w3c.dom.Element[] getContentElementPair()
protected void adoptContent(org.eclipse.emf.ecore.EReference eReference, XSDConcreteComponent xsdConcreteComponent)
adoptContent
in class XSDConcreteComponentImpl
protected void orphanContent(org.eclipse.emf.ecore.EReference eReference, XSDConcreteComponent xsdConcreteComponent)
orphanContent
in class XSDConcreteComponentImpl
public XSDTypeDefinition getBaseType()
XSDTypeDefinition
This represents the same result as either
the simple 'Base Type Definition
' reference or
the complex 'Base Type Definition
' reference.
getBaseType
in interface XSDTypeDefinition
getBaseType
in class XSDTypeDefinitionImpl
org.eclipse.xsd.XSDTypeDefinition
XSDPackage.getXSDTypeDefinition_BaseType()
public XSDTypeDefinition getRootType()
XSDTypeDefinition
This walks the base types
until it hits that one that has the ur-type definition as it's base type.
getRootType
in interface XSDTypeDefinition
getRootType
in class XSDTypeDefinitionImpl
org.eclipse.xsd.XSDTypeDefinition
XSDPackage.getXSDTypeDefinition_RootType()
public XSDTypeDefinition getRootTypeDefinition()
XSDComplexTypeDefinition
This walks the base type definitions
until it hits that one that has the ur-type definition as it's base type definition.
getRootTypeDefinition
in interface XSDComplexTypeDefinition
org.eclipse.xsd.XSDComplexTypeDefinition
XSDPackage.getXSDComplexTypeDefinition_RootTypeDefinition()
public XSDParticle getSyntheticParticle()
getSyntheticParticle
in interface XSDComplexTypeDefinition
org.eclipse.xsd.XSDComplexTypeDefinition
XSDComplexTypeDefinition.setSyntheticParticle(XSDParticle)
,
XSDPackage.getXSDComplexTypeDefinition_SyntheticParticle()
public org.eclipse.emf.common.notify.NotificationChain basicSetSyntheticParticle(XSDParticle newSyntheticParticle, org.eclipse.emf.common.notify.NotificationChain msgs)
public void setSyntheticParticle(XSDParticle newSyntheticParticle)
setSyntheticParticle
in interface XSDComplexTypeDefinition
org.eclipse.xsd.XSDComplexTypeDefinition
value
- the new value of the 'Synthetic Particle' containment reference.XSDComplexTypeDefinition.getSyntheticParticle()
public XSDWildcard getSyntheticWildcard()
getSyntheticWildcard
in interface XSDComplexTypeDefinition
org.eclipse.xsd.XSDComplexTypeDefinition
XSDComplexTypeDefinition.setSyntheticWildcard(XSDWildcard)
,
XSDPackage.getXSDComplexTypeDefinition_SyntheticWildcard()
public org.eclipse.emf.common.notify.NotificationChain basicSetSyntheticWildcard(XSDWildcard newSyntheticWildcard, org.eclipse.emf.common.notify.NotificationChain msgs)
public void setSyntheticWildcard(XSDWildcard newSyntheticWildcard)
setSyntheticWildcard
in interface XSDComplexTypeDefinition
org.eclipse.xsd.XSDComplexTypeDefinition
value
- the new value of the 'Synthetic Wildcard' containment reference.XSDComplexTypeDefinition.getSyntheticWildcard()
public org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, java.lang.Class baseClass, org.eclipse.emf.common.notify.NotificationChain msgs)
eInverseRemove
in class XSDTypeDefinitionImpl
public java.lang.Object eGet(org.eclipse.emf.ecore.EStructuralFeature eFeature, boolean resolve)
eGet
in interface org.eclipse.emf.ecore.EObject
eGet
in class XSDTypeDefinitionImpl
public void eSet(org.eclipse.emf.ecore.EStructuralFeature eFeature, java.lang.Object newValue)
eSet
in interface org.eclipse.emf.ecore.EObject
eSet
in class XSDTypeDefinitionImpl
public void eUnset(org.eclipse.emf.ecore.EStructuralFeature eFeature)
eUnset
in interface org.eclipse.emf.ecore.EObject
eUnset
in class XSDTypeDefinitionImpl
public boolean eIsSet(org.eclipse.emf.ecore.EStructuralFeature eFeature)
eIsSet
in interface org.eclipse.emf.ecore.EObject
eIsSet
in class XSDTypeDefinitionImpl
public java.lang.String toString()
toString
in class XSDNamedComponentImpl
public XSDSimpleTypeDefinition getSimpleType()
XSDTypeDefinition
This represents either
the 'Simple Type Definition
' itself or
the complex 'Content Type
' reference,
if it is simple
.
getSimpleType
in interface XSDTypeDefinition
getSimpleType
in class XSDTypeDefinitionImpl
org.eclipse.xsd.XSDTypeDefinition
XSDPackage.getXSDTypeDefinition_SimpleType()
public java.lang.String getStringLexicalFinal()
XSDComplexTypeDefinition
Lexical Final
' attribute list.
getStringLexicalFinal
in interface XSDComplexTypeDefinition
org.eclipse.xsd.XSDComplexTypeDefinition
XSDComplexTypeDefinition.getLexicalFinal()
,
XSDComplexTypeDefinition.setStringLexicalFinal(java.lang.String)
public void setStringLexicalFinal(java.lang.String finalDefault)
XSDComplexTypeDefinition
Lexical Final
' attribute.
setStringLexicalFinal
in interface XSDComplexTypeDefinition
org.eclipse.xsd.XSDComplexTypeDefinition
value
- the new value of the 'Lexical Final' attribute.XSDComplexTypeDefinition.getLexicalFinal()
,
XSDComplexTypeDefinition.getStringLexicalFinal()
public java.lang.String getStringFinal()
XSDComplexTypeDefinition
Final
' attribute list.
getStringFinal
in interface XSDComplexTypeDefinition
org.eclipse.xsd.XSDComplexTypeDefinition
XSDComplexTypeDefinition.getFinal()
public java.lang.String getStringBlock()
XSDComplexTypeDefinition
Block
' attribute list.
getStringBlock
in interface XSDComplexTypeDefinition
org.eclipse.xsd.XSDComplexTypeDefinition
XSDComplexTypeDefinition.getBlock()
,
XSDComplexTypeDefinition.setStringBlock(java.lang.String)
public void setStringBlock(java.lang.String block)
XSDComplexTypeDefinition
Block
' attribute.
setStringBlock
in interface XSDComplexTypeDefinition
org.eclipse.xsd.XSDComplexTypeDefinition
value
- the new value of the 'Block' attribute.XSDComplexTypeDefinition.getBlock()
,
XSDComplexTypeDefinition.getStringBlock()
public java.lang.String getStringProhibitedSubstitutions()
XSDComplexTypeDefinition
Prohibited Substitutions
' attribute list.
getStringProhibitedSubstitutions
in interface XSDComplexTypeDefinition
org.eclipse.xsd.XSDComplexTypeDefinition
XSDComplexTypeDefinition.getProhibitedSubstitutions()
public XSDTypeDefinition getBadTypeDerivation(XSDTypeDefinition xsdTypeDefinition, boolean extension, boolean restriction)
XSDTypeDefinition
null
if the derivation is valid;
the result is the UR-type
,
if this type is not related to the given type;
otherwise, the result is the base with the blocked derivation method.getBadTypeDerivation
in interface XSDTypeDefinition
getBadTypeDerivation
in class XSDTypeDefinitionImpl
org.eclipse.xsd.XSDTypeDefinition
public XSDConcreteComponent cloneConcreteComponent(boolean deep, boolean shareDOM)
XSDConcreteComponent
cloneConcreteComponent
in interface XSDConcreteComponent
cloneConcreteComponent
in class XSDConcreteComponentImpl
org.eclipse.xsd.XSDConcreteComponent
deep
- whether the clone should be deep.shareDOM
- whether the clone should share the original DOM
|
Copyright 2001-2003 IBM Corporation and others. All Rights Reserved. |
||||||||
PREV CLASS SOURCE NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |