|
||||||||||
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 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
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.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 |
---|
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 XSDTypeDefinitionImpl
public XSDDerivationMethod getDerivationMethod()
getDerivationMethod
in interface XSDComplexTypeDefinition
XSDDerivationMethod
,
XSDComplexTypeDefinition.isSetDerivationMethod()
,
XSDComplexTypeDefinition.unsetDerivationMethod()
,
XSDComplexTypeDefinition.setDerivationMethod(XSDDerivationMethod)
,
XSDPackage.getXSDComplexTypeDefinition_DerivationMethod()
public void setDerivationMethod(XSDDerivationMethod newDerivationMethod)
setDerivationMethod
in interface XSDComplexTypeDefinition
newDerivationMethod
- the new value of the 'Derivation Method' attribute.XSDDerivationMethod
,
XSDComplexTypeDefinition.isSetDerivationMethod()
,
XSDComplexTypeDefinition.unsetDerivationMethod()
,
XSDComplexTypeDefinition.getDerivationMethod()
public void unsetDerivationMethod()
unsetDerivationMethod
in interface XSDComplexTypeDefinition
XSDComplexTypeDefinition.isSetDerivationMethod()
,
XSDComplexTypeDefinition.getDerivationMethod()
,
XSDComplexTypeDefinition.setDerivationMethod(XSDDerivationMethod)
public boolean isSetDerivationMethod()
isSetDerivationMethod
in interface XSDComplexTypeDefinition
XSDComplexTypeDefinition.unsetDerivationMethod()
,
XSDComplexTypeDefinition.getDerivationMethod()
,
XSDComplexTypeDefinition.setDerivationMethod(XSDDerivationMethod)
public EList<XSDComplexFinal> getFinal()
getFinal
in interface XSDComplexTypeDefinition
XSDComplexTypeDefinition.getStringFinal()
,
XSDComplexFinal
,
XSDPackage.getXSDComplexTypeDefinition_Final()
public boolean isAbstract()
isAbstract
in interface XSDComplexTypeDefinition
XSDComplexTypeDefinition.isSetAbstract()
,
XSDComplexTypeDefinition.unsetAbstract()
,
XSDComplexTypeDefinition.setAbstract(boolean)
,
XSDPackage.getXSDComplexTypeDefinition_Abstract()
public void setAbstract(boolean newAbstract)
setAbstract
in interface XSDComplexTypeDefinition
newAbstract
- the new value of the 'Abstract' attribute.XSDComplexTypeDefinition.isSetAbstract()
,
XSDComplexTypeDefinition.unsetAbstract()
,
XSDComplexTypeDefinition.isAbstract()
public void unsetAbstract()
unsetAbstract
in interface XSDComplexTypeDefinition
XSDComplexTypeDefinition.isSetAbstract()
,
XSDComplexTypeDefinition.isAbstract()
,
XSDComplexTypeDefinition.setAbstract(boolean)
public boolean isSetAbstract()
isSetAbstract
in interface XSDComplexTypeDefinition
XSDComplexTypeDefinition.unsetAbstract()
,
XSDComplexTypeDefinition.isAbstract()
,
XSDComplexTypeDefinition.setAbstract(boolean)
public XSDContentTypeCategory getContentTypeCategory()
getContentTypeCategory
in interface XSDComplexTypeDefinition
XSDContentTypeCategory
,
XSDComplexTypeDefinition.setContentTypeCategory(XSDContentTypeCategory)
,
XSDPackage.getXSDComplexTypeDefinition_ContentTypeCategory()
public void setContentTypeCategory(XSDContentTypeCategory newContentTypeCategory)
setContentTypeCategory
in interface XSDComplexTypeDefinition
newContentTypeCategory
- the new value of the 'Content Type Category' attribute.XSDContentTypeCategory
,
XSDComplexTypeDefinition.getContentTypeCategory()
public EList<XSDProhibitedSubstitutions> getProhibitedSubstitutions()
getProhibitedSubstitutions
in interface XSDComplexTypeDefinition
XSDComplexTypeDefinition.getStringProhibitedSubstitutions()
,
XSDProhibitedSubstitutions
,
XSDPackage.getXSDComplexTypeDefinition_ProhibitedSubstitutions()
public EList<XSDComplexFinal> getLexicalFinal()
getLexicalFinal
in interface XSDComplexTypeDefinition
XSDComplexTypeDefinition.getStringLexicalFinal()
,
XSDComplexTypeDefinition.setStringLexicalFinal(java.lang.String)
,
XSDComplexFinal
,
XSDComplexTypeDefinition.isSetLexicalFinal()
,
XSDComplexTypeDefinition.unsetLexicalFinal()
,
XSDPackage.getXSDComplexTypeDefinition_LexicalFinal()
public void unsetLexicalFinal()
unsetLexicalFinal
in interface XSDComplexTypeDefinition
XSDComplexTypeDefinition.isSetLexicalFinal()
,
XSDComplexTypeDefinition.getLexicalFinal()
public boolean isSetLexicalFinal()
isSetLexicalFinal
in interface XSDComplexTypeDefinition
XSDComplexTypeDefinition.unsetLexicalFinal()
,
XSDComplexTypeDefinition.getLexicalFinal()
public EList<XSDProhibitedSubstitutions> getBlock()
getBlock
in interface XSDComplexTypeDefinition
XSDComplexTypeDefinition.getStringBlock()
,
XSDComplexTypeDefinition.setStringBlock(java.lang.String)
,
XSDProhibitedSubstitutions
,
XSDComplexTypeDefinition.isSetBlock()
,
XSDComplexTypeDefinition.unsetBlock()
,
XSDPackage.getXSDComplexTypeDefinition_Block()
public void unsetBlock()
unsetBlock
in interface XSDComplexTypeDefinition
XSDComplexTypeDefinition.isSetBlock()
,
XSDComplexTypeDefinition.getBlock()
public boolean isSetBlock()
isSetBlock
in interface XSDComplexTypeDefinition
XSDComplexTypeDefinition.unsetBlock()
,
XSDComplexTypeDefinition.getBlock()
public boolean isMixed()
isMixed
in interface XSDComplexTypeDefinition
XSDComplexTypeDefinition.isSetMixed()
,
XSDComplexTypeDefinition.unsetMixed()
,
XSDComplexTypeDefinition.setMixed(boolean)
,
XSDPackage.getXSDComplexTypeDefinition_Mixed()
public void setMixed(boolean newMixed)
setMixed
in interface XSDComplexTypeDefinition
newMixed
- the new value of the 'Mixed' attribute.XSDComplexTypeDefinition.isSetMixed()
,
XSDComplexTypeDefinition.unsetMixed()
,
XSDComplexTypeDefinition.isMixed()
public void unsetMixed()
unsetMixed
in interface XSDComplexTypeDefinition
XSDComplexTypeDefinition.isSetMixed()
,
XSDComplexTypeDefinition.isMixed()
,
XSDComplexTypeDefinition.setMixed(boolean)
public boolean isSetMixed()
isSetMixed
in interface XSDComplexTypeDefinition
XSDComplexTypeDefinition.unsetMixed()
,
XSDComplexTypeDefinition.isMixed()
,
XSDComplexTypeDefinition.setMixed(boolean)
public XSDAnnotation getContentAnnotation()
getContentAnnotation
in interface XSDComplexTypeDefinition
XSDComplexTypeDefinition.setContentAnnotation(XSDAnnotation)
,
XSDPackage.getXSDComplexTypeDefinition_ContentAnnotation()
public void setContentAnnotation(XSDAnnotation newContentAnnotation)
setContentAnnotation
in interface XSDComplexTypeDefinition
newContentAnnotation
- the new value of the 'Content Annotation' containment reference.XSDComplexTypeDefinition.getContentAnnotation()
public NotificationChain basicSetContentAnnotation(XSDAnnotation newContentAnnotation, NotificationChain msgs)
public XSDTypeDefinition getBaseTypeDefinition()
getBaseTypeDefinition
in interface XSDComplexTypeDefinition
XSDComplexTypeDefinition.setBaseTypeDefinition(XSDTypeDefinition)
,
XSDPackage.getXSDComplexTypeDefinition_BaseTypeDefinition()
public void setBaseTypeDefinition(XSDTypeDefinition newBaseTypeDefinition)
setBaseTypeDefinition
in interface XSDComplexTypeDefinition
newBaseTypeDefinition
- the new value of the 'Base Type Definition' reference.XSDComplexTypeDefinition.getBaseTypeDefinition()
public XSDComplexTypeContent getContent()
getContent
in interface XSDComplexTypeDefinition
XSDComplexTypeDefinition.setContent(XSDComplexTypeContent)
,
XSDPackage.getXSDComplexTypeDefinition_Content()
public void setContent(XSDComplexTypeContent newContent)
setContent
in interface XSDComplexTypeDefinition
newContent
- the new value of the 'Content' containment reference.XSDComplexTypeDefinition.getContent()
public NotificationChain basicSetContent(XSDComplexTypeContent newContent, NotificationChain msgs)
public XSDComplexTypeContent getContentType()
getContentType
in interface XSDComplexTypeDefinition
XSDComplexTypeDefinition.setContentType(XSDComplexTypeContent)
,
XSDPackage.getXSDComplexTypeDefinition_ContentType()
public XSDParticle getComplexType()
XSDTypeDefinitionImpl
getComplexType
in interface XSDTypeDefinition
getComplexType
in class XSDTypeDefinitionImpl
XSDPackage.getXSDTypeDefinition_ComplexType()
public void setContentType(XSDComplexTypeContent newContentType)
setContentType
in interface XSDComplexTypeDefinition
newContentType
- the new value of the 'Content Type' reference.XSDComplexTypeDefinition.getContentType()
public EList<XSDAttributeUse> getAttributeUses()
getAttributeUses
in interface XSDComplexTypeDefinition
XSDPackage.getXSDComplexTypeDefinition_AttributeUses()
public EList<XSDAttributeGroupContent> getAttributeContents()
getAttributeContents
in interface XSDComplexTypeDefinition
XSDPackage.getXSDComplexTypeDefinition_AttributeContents()
public XSDWildcard getAttributeWildcard()
getAttributeWildcard
in interface XSDComplexTypeDefinition
XSDComplexTypeDefinition.setAttributeWildcard(XSDWildcard)
,
XSDPackage.getXSDComplexTypeDefinition_AttributeWildcard()
public void setAttributeWildcard(XSDWildcard newAttributeWildcard)
setAttributeWildcard
in interface XSDComplexTypeDefinition
newAttributeWildcard
- the new value of the 'Attribute Wildcard' reference.XSDComplexTypeDefinition.getAttributeWildcard()
public XSDWildcard getAttributeWildcardContent()
getAttributeWildcardContent
in interface XSDComplexTypeDefinition
XSDComplexTypeDefinition.setAttributeWildcardContent(XSDWildcard)
,
XSDPackage.getXSDComplexTypeDefinition_AttributeWildcardContent()
public void setAttributeWildcardContent(XSDWildcard newAttributeWildcardContent)
setAttributeWildcardContent
in interface XSDComplexTypeDefinition
newAttributeWildcardContent
- 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 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.
The effect of calling this for a component not directly or indirectly contained by a schema
is undefined, and is likely to result in null pointer exceptions.
validate
in interface XSDConcreteComponent
validate
in class XSDConcreteComponentImpl
XSDConcreteComponent.getDiagnostics()
,
XSDConcreteComponent.clearDiagnostics()
protected 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 XSDNamedComponentImpl
protected XSDTypeDefinition handleNewBaseTypeDefinition(XSDTypeDefinition newBaseTypeDefinition)
protected org.w3c.dom.Node getAdoptionParentNode(EReference eReference)
getAdoptionParentNode
in class XSDConcreteComponentImpl
protected 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 XSDConcreteComponentImpl
protected void changeAttribute(EAttribute eAttribute)
changeAttribute
in class XSDNamedComponentImpl
protected void changeReference(EReference eReference)
changeReference
in class XSDConcreteComponentImpl
protected 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 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
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
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
XSDPackage.getXSDComplexTypeDefinition_RootTypeDefinition()
public XSDParticle getSyntheticParticle()
getSyntheticParticle
in interface XSDComplexTypeDefinition
XSDComplexTypeDefinition.setSyntheticParticle(XSDParticle)
,
XSDPackage.getXSDComplexTypeDefinition_SyntheticParticle()
public NotificationChain basicSetSyntheticParticle(XSDParticle newSyntheticParticle, NotificationChain msgs)
public void setSyntheticParticle(XSDParticle newSyntheticParticle)
setSyntheticParticle
in interface XSDComplexTypeDefinition
newSyntheticParticle
- the new value of the 'Synthetic Particle' containment reference.XSDComplexTypeDefinition.getSyntheticParticle()
public XSDWildcard getSyntheticWildcard()
getSyntheticWildcard
in interface XSDComplexTypeDefinition
XSDComplexTypeDefinition.setSyntheticWildcard(XSDWildcard)
,
XSDPackage.getXSDComplexTypeDefinition_SyntheticWildcard()
public NotificationChain basicSetSyntheticWildcard(XSDWildcard newSyntheticWildcard, NotificationChain msgs)
public void setSyntheticWildcard(XSDWildcard newSyntheticWildcard)
setSyntheticWildcard
in interface XSDComplexTypeDefinition
newSyntheticWildcard
- 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 InternalEObject
eGet
in class XSDTypeDefinitionImpl
public void eSet(int featureID, java.lang.Object newValue)
eSet
in interface InternalEObject
eSet
in class XSDTypeDefinitionImpl
public void eUnset(int featureID)
eUnset
in interface InternalEObject
eUnset
in class XSDTypeDefinitionImpl
public boolean eIsSet(int featureID)
eIsSet
in interface InternalEObject
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
XSDPackage.getXSDTypeDefinition_SimpleType()
public java.lang.String getStringLexicalFinal()
XSDComplexTypeDefinition
Lexical Final
' attribute list.
getStringLexicalFinal
in interface XSDComplexTypeDefinition
XSDComplexTypeDefinition.getLexicalFinal()
,
XSDComplexTypeDefinition.setStringLexicalFinal(java.lang.String)
public void setStringLexicalFinal(java.lang.String finalDefault)
XSDComplexTypeDefinition
Lexical Final
' attribute.
setStringLexicalFinal
in interface XSDComplexTypeDefinition
finalDefault
- 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
XSDComplexTypeDefinition.getFinal()
public java.lang.String getStringBlock()
XSDComplexTypeDefinition
Block
' attribute list.
getStringBlock
in interface XSDComplexTypeDefinition
XSDComplexTypeDefinition.getBlock()
,
XSDComplexTypeDefinition.setStringBlock(java.lang.String)
public void setStringBlock(java.lang.String block)
XSDComplexTypeDefinition
Block
' attribute.
setStringBlock
in interface XSDComplexTypeDefinition
block
- 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
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
public XSDConcreteComponent cloneConcreteComponent(boolean deep, boolean shareDOM)
XSDConcreteComponent
cloneConcreteComponent
in interface XSDConcreteComponent
cloneConcreteComponent
in class XSDConcreteComponentImpl
deep
- whether the clone should be deep.shareDOM
- whether the clone should share the original DOM
|
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 |