|
||||||||||
| 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.XSDTypeDefinitionImpl
org.eclipse.xsd.impl.XSDComplexTypeDefinitionImpl
public class XSDComplexTypeDefinitionImpl
An implementation of the model object 'Complex Type Definition'.
The following features are implemented:
Derivation MethodFinalAbstractContent Type CategoryProhibited SubstitutionsLexical FinalBlockMixedContent AnnotationBase Type DefinitionContentContent TypeAttribute UsesAttribute ContentsAttribute WildcardAttribute Wildcard ContentRoot Type DefinitionSynthetic ParticleSynthetic 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 static boolean |
ABSTRACT_EDEFAULT
The default value of the ' Abstract' attribute |
protected static int |
ABSTRACT_EFLAG
The flag representing the value of the ' Abstract' attribute |
protected static int |
ABSTRACT_ESETFLAG
The flag representing whether the Abstract attribute has been set |
protected EList<XSDAttributeGroupContent> |
attributeContents
The cached value of the ' Attribute Contents' containment reference list |
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 XSDTypeDefinition |
baseTypeDefinition
The cached value of the ' Base Type Definition' reference |
protected EList<XSDProhibitedSubstitutions> |
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 static int |
DERIVATION_METHOD_ESETFLAG
The flag representing whether the Derivation Method attribute has been set |
protected XSDDerivationMethod |
derivationMethod
The cached value of the ' Derivation Method' attribute |
protected XSDWildcardImpl |
effectiveWildcard
|
protected XSDParticle |
extensionParticle
|
protected EList<XSDComplexFinal> |
final_
The cached value of the ' Final' attribute list |
protected EList<XSDComplexFinal> |
lexicalFinal
The cached value of the ' Lexical Final' attribute list |
protected static boolean |
MIXED_EDEFAULT
The default value of the ' Mixed' attribute |
protected static int |
MIXED_EFLAG
The flag representing the value of the ' Mixed' attribute |
protected static int |
MIXED_ESETFLAG
The flag representing whether the Mixed attribute has been set |
protected EList<XSDProhibitedSubstitutions> |
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.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 |
XSDComplexTypeDefinitionImpl()
|
| Method Summary | |
|---|---|
protected boolean |
abbreviate()
|
protected void |
adoptContent(EReference eReference,
XSDConcreteComponent xsdConcreteComponent)
|
NotificationChain |
basicSetAttributeWildcardContent(XSDWildcard newAttributeWildcardContent,
NotificationChain msgs)
|
NotificationChain |
basicSetContent(XSDComplexTypeContent newContent,
NotificationChain msgs)
|
NotificationChain |
basicSetContentAnnotation(XSDAnnotation newContentAnnotation,
NotificationChain msgs)
|
NotificationChain |
basicSetSyntheticParticle(XSDParticle newSyntheticParticle,
NotificationChain msgs)
|
NotificationChain |
basicSetSyntheticWildcard(XSDWildcard newSyntheticWildcard,
NotificationChain msgs)
|
protected void |
changeAttribute(EAttribute eAttribute)
|
protected void |
changeReference(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(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)
|
protected org.w3c.dom.Element[] |
findOrCreateContentElementPair()
|
protected org.w3c.dom.Node |
getAdoptionParentNode(EReference eReference)
|
EList<XSDAttributeGroupContent> |
getAttributeContents()
|
EList<XSDAttributeUse> |
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()
|
EList<XSDProhibitedSubstitutions> |
getBlock()
|
XSDParticle |
getComplexType()
|
XSDComplexTypeContent |
getContent()
|
XSDAnnotation |
getContentAnnotation()
|
protected org.w3c.dom.Element[] |
getContentElementPair()
|
protected java.util.Collection<org.w3c.dom.Element> |
getContentNodes(org.w3c.dom.Element changedElement)
|
XSDComplexTypeContent |
getContentType()
|
XSDContentTypeCategory |
getContentTypeCategory()
|
XSDDerivationMethod |
getDerivationMethod()
|
EList<XSDComplexFinal> |
getFinal()
|
EList<XSDComplexFinal> |
getLexicalFinal()
|
protected static java.util.Map<java.lang.String,XSDAttributeDeclaration> |
getProhibitedAttributes(java.util.Collection<XSDAttributeGroupContent> xsdAttributeContents)
|
protected static java.util.Map<java.lang.String,XSDAttributeDeclaration> |
getProhibitedAttributeURIs(XSDComplexTypeDefinition xsdComplexTypeDefinition)
|
EList<XSDProhibitedSubstitutions> |
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<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 |
isAbstract()
|
protected boolean |
isEmptyContent(XSDParticle xsdParticle)
|
boolean |
isMixed()
|
boolean |
isSetAbstract()
|
boolean |
isSetBlock()
|
boolean |
isSetDerivationMethod()
|
boolean |
isSetLexicalFinal()
|
boolean |
isSetMixed()
|
protected void |
orphanContent(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,
EList<XSDAttributeUse> baseXSDAttributeUses,
EList<XSDAttributeUse> 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.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.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, 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 XSDDerivationMethod DERIVATION_METHOD_EDEFAULT
Derivation Method' attribute.
getDerivationMethod()protected XSDDerivationMethod derivationMethod
Derivation Method' attribute.
getDerivationMethod()protected static final int DERIVATION_METHOD_ESETFLAG
protected EList<XSDComplexFinal> final_
Final' attribute list.
getFinal()protected static final boolean ABSTRACT_EDEFAULT
Abstract' attribute.
isAbstract(),
Constant Field Valuesprotected static final int ABSTRACT_EFLAG
Abstract' attribute.
isAbstract(),
Constant Field Valuesprotected static final int ABSTRACT_ESETFLAG
protected static final XSDContentTypeCategory CONTENT_TYPE_CATEGORY_EDEFAULT
Content Type Category' attribute.
getContentTypeCategory()protected XSDContentTypeCategory contentTypeCategory
Content Type Category' attribute.
getContentTypeCategory()protected EList<XSDProhibitedSubstitutions> prohibitedSubstitutions
Prohibited Substitutions' attribute list.
getProhibitedSubstitutions()protected EList<XSDComplexFinal> lexicalFinal
Lexical Final' attribute list.
getLexicalFinal()protected EList<XSDProhibitedSubstitutions> block
Block' attribute list.
getBlock()protected static final boolean MIXED_EDEFAULT
Mixed' attribute.
isMixed(),
Constant Field Valuesprotected static final int MIXED_EFLAG
Mixed' attribute.
isMixed(),
Constant Field Valuesprotected static final int MIXED_ESETFLAG
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 EList<XSDAttributeUse> attributeUses
Attribute Uses' reference list.
getAttributeUses()protected EList<XSDAttributeGroupContent> 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 EClass eStaticClass()
eStaticClass in class XSDTypeDefinitionImplpublic XSDDerivationMethod getDerivationMethod()
getDerivationMethod in interface XSDComplexTypeDefinitionXSDDerivationMethod,
XSDComplexTypeDefinition.isSetDerivationMethod(),
XSDComplexTypeDefinition.unsetDerivationMethod(),
XSDComplexTypeDefinition.setDerivationMethod(XSDDerivationMethod),
XSDPackage.getXSDComplexTypeDefinition_DerivationMethod()public void setDerivationMethod(XSDDerivationMethod newDerivationMethod)
setDerivationMethod in interface XSDComplexTypeDefinitionnewDerivationMethod - the new value of the 'Derivation Method' attribute.XSDDerivationMethod,
XSDComplexTypeDefinition.isSetDerivationMethod(),
XSDComplexTypeDefinition.unsetDerivationMethod(),
XSDComplexTypeDefinition.getDerivationMethod()public void unsetDerivationMethod()
unsetDerivationMethod in interface XSDComplexTypeDefinitionXSDComplexTypeDefinition.isSetDerivationMethod(),
XSDComplexTypeDefinition.getDerivationMethod(),
XSDComplexTypeDefinition.setDerivationMethod(XSDDerivationMethod)public boolean isSetDerivationMethod()
isSetDerivationMethod in interface XSDComplexTypeDefinitionXSDComplexTypeDefinition.unsetDerivationMethod(),
XSDComplexTypeDefinition.getDerivationMethod(),
XSDComplexTypeDefinition.setDerivationMethod(XSDDerivationMethod)public EList<XSDComplexFinal> getFinal()
getFinal in interface XSDComplexTypeDefinitionXSDComplexTypeDefinition.getStringFinal(),
XSDComplexFinal,
XSDPackage.getXSDComplexTypeDefinition_Final()public boolean isAbstract()
isAbstract in interface XSDComplexTypeDefinitionXSDComplexTypeDefinition.isSetAbstract(),
XSDComplexTypeDefinition.unsetAbstract(),
XSDComplexTypeDefinition.setAbstract(boolean),
XSDPackage.getXSDComplexTypeDefinition_Abstract()public void setAbstract(boolean newAbstract)
setAbstract in interface XSDComplexTypeDefinitionnewAbstract - the new value of the 'Abstract' attribute.XSDComplexTypeDefinition.isSetAbstract(),
XSDComplexTypeDefinition.unsetAbstract(),
XSDComplexTypeDefinition.isAbstract()public void unsetAbstract()
unsetAbstract in interface XSDComplexTypeDefinitionXSDComplexTypeDefinition.isSetAbstract(),
XSDComplexTypeDefinition.isAbstract(),
XSDComplexTypeDefinition.setAbstract(boolean)public boolean isSetAbstract()
isSetAbstract in interface XSDComplexTypeDefinitionXSDComplexTypeDefinition.unsetAbstract(),
XSDComplexTypeDefinition.isAbstract(),
XSDComplexTypeDefinition.setAbstract(boolean)public XSDContentTypeCategory getContentTypeCategory()
getContentTypeCategory in interface XSDComplexTypeDefinitionXSDContentTypeCategory,
XSDComplexTypeDefinition.setContentTypeCategory(XSDContentTypeCategory),
XSDPackage.getXSDComplexTypeDefinition_ContentTypeCategory()public void setContentTypeCategory(XSDContentTypeCategory newContentTypeCategory)
setContentTypeCategory in interface XSDComplexTypeDefinitionnewContentTypeCategory - the new value of the 'Content Type Category' attribute.XSDContentTypeCategory,
XSDComplexTypeDefinition.getContentTypeCategory()public EList<XSDProhibitedSubstitutions> getProhibitedSubstitutions()
getProhibitedSubstitutions in interface XSDComplexTypeDefinitionXSDComplexTypeDefinition.getStringProhibitedSubstitutions(),
XSDProhibitedSubstitutions,
XSDPackage.getXSDComplexTypeDefinition_ProhibitedSubstitutions()public EList<XSDComplexFinal> getLexicalFinal()
getLexicalFinal in interface XSDComplexTypeDefinitionXSDComplexTypeDefinition.getStringLexicalFinal(),
XSDComplexTypeDefinition.setStringLexicalFinal(java.lang.String),
XSDComplexFinal,
XSDComplexTypeDefinition.isSetLexicalFinal(),
XSDComplexTypeDefinition.unsetLexicalFinal(),
XSDPackage.getXSDComplexTypeDefinition_LexicalFinal()public void unsetLexicalFinal()
unsetLexicalFinal in interface XSDComplexTypeDefinitionXSDComplexTypeDefinition.isSetLexicalFinal(),
XSDComplexTypeDefinition.getLexicalFinal()public boolean isSetLexicalFinal()
isSetLexicalFinal in interface XSDComplexTypeDefinitionXSDComplexTypeDefinition.unsetLexicalFinal(),
XSDComplexTypeDefinition.getLexicalFinal()public EList<XSDProhibitedSubstitutions> getBlock()
getBlock in interface XSDComplexTypeDefinitionXSDComplexTypeDefinition.getStringBlock(),
XSDComplexTypeDefinition.setStringBlock(java.lang.String),
XSDProhibitedSubstitutions,
XSDComplexTypeDefinition.isSetBlock(),
XSDComplexTypeDefinition.unsetBlock(),
XSDPackage.getXSDComplexTypeDefinition_Block()public void unsetBlock()
unsetBlock in interface XSDComplexTypeDefinitionXSDComplexTypeDefinition.isSetBlock(),
XSDComplexTypeDefinition.getBlock()public boolean isSetBlock()
isSetBlock in interface XSDComplexTypeDefinitionXSDComplexTypeDefinition.unsetBlock(),
XSDComplexTypeDefinition.getBlock()public boolean isMixed()
isMixed in interface XSDComplexTypeDefinitionXSDComplexTypeDefinition.isSetMixed(),
XSDComplexTypeDefinition.unsetMixed(),
XSDComplexTypeDefinition.setMixed(boolean),
XSDPackage.getXSDComplexTypeDefinition_Mixed()public void setMixed(boolean newMixed)
setMixed in interface XSDComplexTypeDefinitionnewMixed - the new value of the 'Mixed' attribute.XSDComplexTypeDefinition.isSetMixed(),
XSDComplexTypeDefinition.unsetMixed(),
XSDComplexTypeDefinition.isMixed()public void unsetMixed()
unsetMixed in interface XSDComplexTypeDefinitionXSDComplexTypeDefinition.isSetMixed(),
XSDComplexTypeDefinition.isMixed(),
XSDComplexTypeDefinition.setMixed(boolean)public boolean isSetMixed()
isSetMixed in interface XSDComplexTypeDefinitionXSDComplexTypeDefinition.unsetMixed(),
XSDComplexTypeDefinition.isMixed(),
XSDComplexTypeDefinition.setMixed(boolean)public XSDAnnotation getContentAnnotation()
getContentAnnotation in interface XSDComplexTypeDefinitionXSDComplexTypeDefinition.setContentAnnotation(XSDAnnotation),
XSDPackage.getXSDComplexTypeDefinition_ContentAnnotation()public void setContentAnnotation(XSDAnnotation newContentAnnotation)
setContentAnnotation in interface XSDComplexTypeDefinitionnewContentAnnotation - the new value of the 'Content Annotation' containment reference.XSDComplexTypeDefinition.getContentAnnotation()
public NotificationChain basicSetContentAnnotation(XSDAnnotation newContentAnnotation,
NotificationChain msgs)
public XSDTypeDefinition getBaseTypeDefinition()
getBaseTypeDefinition in interface XSDComplexTypeDefinitionXSDComplexTypeDefinition.setBaseTypeDefinition(XSDTypeDefinition),
XSDPackage.getXSDComplexTypeDefinition_BaseTypeDefinition()public void setBaseTypeDefinition(XSDTypeDefinition newBaseTypeDefinition)
setBaseTypeDefinition in interface XSDComplexTypeDefinitionnewBaseTypeDefinition - the new value of the 'Base Type Definition' reference.XSDComplexTypeDefinition.getBaseTypeDefinition()public XSDComplexTypeContent getContent()
getContent in interface XSDComplexTypeDefinitionXSDComplexTypeDefinition.setContent(XSDComplexTypeContent),
XSDPackage.getXSDComplexTypeDefinition_Content()public void setContent(XSDComplexTypeContent newContent)
setContent in interface XSDComplexTypeDefinitionnewContent - the new value of the 'Content' containment reference.XSDComplexTypeDefinition.getContent()
public NotificationChain basicSetContent(XSDComplexTypeContent newContent,
NotificationChain msgs)
public XSDComplexTypeContent getContentType()
getContentType in interface XSDComplexTypeDefinitionXSDComplexTypeDefinition.setContentType(XSDComplexTypeContent),
XSDPackage.getXSDComplexTypeDefinition_ContentType()public XSDParticle getComplexType()
XSDTypeDefinitionImpl
getComplexType in interface XSDTypeDefinitiongetComplexType in class XSDTypeDefinitionImplXSDPackage.getXSDTypeDefinition_ComplexType()public void setContentType(XSDComplexTypeContent newContentType)
setContentType in interface XSDComplexTypeDefinitionnewContentType - the new value of the 'Content Type' reference.XSDComplexTypeDefinition.getContentType()public EList<XSDAttributeUse> getAttributeUses()
getAttributeUses in interface XSDComplexTypeDefinitionXSDPackage.getXSDComplexTypeDefinition_AttributeUses()public EList<XSDAttributeGroupContent> getAttributeContents()
getAttributeContents in interface XSDComplexTypeDefinitionXSDPackage.getXSDComplexTypeDefinition_AttributeContents()public XSDWildcard getAttributeWildcard()
getAttributeWildcard in interface XSDComplexTypeDefinitionXSDComplexTypeDefinition.setAttributeWildcard(XSDWildcard),
XSDPackage.getXSDComplexTypeDefinition_AttributeWildcard()public void setAttributeWildcard(XSDWildcard newAttributeWildcard)
setAttributeWildcard in interface XSDComplexTypeDefinitionnewAttributeWildcard - the new value of the 'Attribute Wildcard' reference.XSDComplexTypeDefinition.getAttributeWildcard()public XSDWildcard getAttributeWildcardContent()
getAttributeWildcardContent in interface XSDComplexTypeDefinitionXSDComplexTypeDefinition.setAttributeWildcardContent(XSDWildcard),
XSDPackage.getXSDComplexTypeDefinition_AttributeWildcardContent()public void setAttributeWildcardContent(XSDWildcard newAttributeWildcardContent)
setAttributeWildcardContent in interface XSDComplexTypeDefinitionnewAttributeWildcardContent - the new value of the 'Attribute Wildcard Content' containment reference.XSDComplexTypeDefinition.getAttributeWildcardContent()
public NotificationChain basicSetAttributeWildcardContent(XSDWildcard newAttributeWildcardContent,
NotificationChain msgs)
public org.w3c.dom.Element createElement()
createElement in class XSDConcreteComponentImplprotected org.w3c.dom.Element[] createContentElementPair()
protected org.w3c.dom.Element createDerivationElement()
protected boolean considerAllContainsForBestConcreteComponent()
considerAllContainsForBestConcreteComponent in class XSDConcreteComponentImplprotected void patch()
patch in class XSDTypeDefinitionImplprotected void handleAnalysis()
handleAnalysis in class XSDTypeDefinitionImplprotected boolean isEmptyContent(XSDParticle xsdParticle)
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()protected static java.util.Map<java.lang.String,XSDAttributeDeclaration> getProhibitedAttributeURIs(XSDComplexTypeDefinition xsdComplexTypeDefinition)
protected static java.util.Map<java.lang.String,XSDAttributeDeclaration> getProhibitedAttributes(java.util.Collection<XSDAttributeGroupContent> xsdAttributeContents)
public static void validateAttributeGroup(XSDConcreteComponentImpl xsdConcreteComponent,
XSDWildcard containedWildcard,
EList<XSDAttributeUse> baseXSDAttributeUses,
EList<XSDAttributeUse> xsdAttributeUses,
XSDWildcard baseXSDWildcard,
XSDWildcard xsdWildcard)
protected void reconcileAttributes(org.w3c.dom.Element changedElement)
reconcileAttributes in class XSDNamedComponentImplprotected XSDTypeDefinition handleNewBaseTypeDefinition(XSDTypeDefinition newBaseTypeDefinition)
protected org.w3c.dom.Node getAdoptionParentNode(EReference eReference)
getAdoptionParentNode in class XSDConcreteComponentImplprotected java.util.Collection<org.w3c.dom.Element> getContentNodes(org.w3c.dom.Element changedElement)
getContentNodes in class XSDConcreteComponentImpl
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 changeAttribute(EAttribute eAttribute)
changeAttribute in class XSDNamedComponentImplprotected void changeReference(EReference eReference)
changeReference in class XSDConcreteComponentImplprotected boolean abbreviate()
protected org.w3c.dom.Element[] findOrCreateContentElementPair()
protected org.w3c.dom.Element[] getContentElementPair()
protected void adoptContent(EReference eReference,
XSDConcreteComponent xsdConcreteComponent)
adoptContent in class XSDConcreteComponentImpl
protected void orphanContent(EReference eReference,
XSDConcreteComponent xsdConcreteComponent)
orphanContent in class XSDConcreteComponentImplpublic 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 XSDTypeDefinitiongetBaseType in class XSDTypeDefinitionImplXSDPackage.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 XSDTypeDefinitiongetRootType in class XSDTypeDefinitionImplXSDPackage.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 XSDComplexTypeDefinitionXSDPackage.getXSDComplexTypeDefinition_RootTypeDefinition()public XSDParticle getSyntheticParticle()
getSyntheticParticle in interface XSDComplexTypeDefinitionXSDComplexTypeDefinition.setSyntheticParticle(XSDParticle),
XSDPackage.getXSDComplexTypeDefinition_SyntheticParticle()
public NotificationChain basicSetSyntheticParticle(XSDParticle newSyntheticParticle,
NotificationChain msgs)
public void setSyntheticParticle(XSDParticle newSyntheticParticle)
setSyntheticParticle in interface XSDComplexTypeDefinitionnewSyntheticParticle - the new value of the 'Synthetic Particle' containment reference.XSDComplexTypeDefinition.getSyntheticParticle()public XSDWildcard getSyntheticWildcard()
getSyntheticWildcard in interface XSDComplexTypeDefinitionXSDComplexTypeDefinition.setSyntheticWildcard(XSDWildcard),
XSDPackage.getXSDComplexTypeDefinition_SyntheticWildcard()
public NotificationChain basicSetSyntheticWildcard(XSDWildcard newSyntheticWildcard,
NotificationChain msgs)
public void setSyntheticWildcard(XSDWildcard newSyntheticWildcard)
setSyntheticWildcard in interface XSDComplexTypeDefinitionnewSyntheticWildcard - the new value of the 'Synthetic Wildcard' containment reference.XSDComplexTypeDefinition.getSyntheticWildcard()
public NotificationChain eInverseRemove(InternalEObject otherEnd,
int featureID,
NotificationChain msgs)
eInverseRemove in class XSDTypeDefinitionImpl
public java.lang.Object eGet(int featureID,
boolean resolve,
boolean coreType)
eGet in interface InternalEObjecteGet in class XSDTypeDefinitionImpl
public void eSet(int featureID,
java.lang.Object newValue)
eSet in interface InternalEObjecteSet in class XSDTypeDefinitionImplpublic void eUnset(int featureID)
eUnset in interface InternalEObjecteUnset in class XSDTypeDefinitionImplpublic boolean eIsSet(int featureID)
eIsSet in interface InternalEObjecteIsSet in class XSDTypeDefinitionImplpublic java.lang.String toString()
toString in class XSDNamedComponentImplpublic XSDSimpleTypeDefinition getSimpleType()
XSDTypeDefinition
This represents either
the 'Simple Type Definition' itself or
the complex 'Content Type' reference,
if it is simple.
getSimpleType in interface XSDTypeDefinitiongetSimpleType in class XSDTypeDefinitionImplXSDPackage.getXSDTypeDefinition_SimpleType()public java.lang.String getStringLexicalFinal()
XSDComplexTypeDefinitionLexical Final' attribute list.
getStringLexicalFinal in interface XSDComplexTypeDefinitionXSDComplexTypeDefinition.getLexicalFinal(),
XSDComplexTypeDefinition.setStringLexicalFinal(java.lang.String)public void setStringLexicalFinal(java.lang.String finalDefault)
XSDComplexTypeDefinitionLexical Final' attribute.
setStringLexicalFinal in interface XSDComplexTypeDefinitionfinalDefault - the new value of the 'Lexical Final' attribute.XSDComplexTypeDefinition.getLexicalFinal(),
XSDComplexTypeDefinition.getStringLexicalFinal()public java.lang.String getStringFinal()
XSDComplexTypeDefinitionFinal' attribute list.
getStringFinal in interface XSDComplexTypeDefinitionXSDComplexTypeDefinition.getFinal()public java.lang.String getStringBlock()
XSDComplexTypeDefinitionBlock' attribute list.
getStringBlock in interface XSDComplexTypeDefinitionXSDComplexTypeDefinition.getBlock(),
XSDComplexTypeDefinition.setStringBlock(java.lang.String)public void setStringBlock(java.lang.String block)
XSDComplexTypeDefinitionBlock' attribute.
setStringBlock in interface XSDComplexTypeDefinitionblock - the new value of the 'Block' attribute.XSDComplexTypeDefinition.getBlock(),
XSDComplexTypeDefinition.getStringBlock()public java.lang.String getStringProhibitedSubstitutions()
XSDComplexTypeDefinitionProhibited Substitutions' attribute list.
getStringProhibitedSubstitutions in interface XSDComplexTypeDefinitionXSDComplexTypeDefinition.getProhibitedSubstitutions()
public XSDTypeDefinition getBadTypeDerivation(XSDTypeDefinition xsdTypeDefinition,
boolean extension,
boolean restriction)
XSDTypeDefinitionnull 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 XSDTypeDefinitiongetBadTypeDerivation in class XSDTypeDefinitionImpl
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 | |||||||||