public class XSDElementDeclarationImpl extends XSDFeatureImpl implements XSDElementDeclaration
The following features are implemented:
XSDNamedComponentImpl.Comparator, XSDNamedComponentImpl.StringPairComparator, XSDNamedComponentImpl.XSDNamedComponentList<E extends java.lang.Object & XSDNamedComponent>
XSDConcreteComponentImpl.XSDContentsEList
BasicEObjectImpl.EPropertiesHolder, BasicEObjectImpl.EPropertiesHolderBaseImpl, BasicEObjectImpl.EPropertiesHolderImpl
BasicNotifierImpl.EAdapterList<E extends java.lang.Object & Adapter>, BasicNotifierImpl.EObservableAdapterList
InternalEObject.EStore
Modifier and Type | Field and Description |
---|---|
protected 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 int |
analysisState |
protected XSDAnnotation |
annotation
The cached value of the '
Annotation ' containment reference. |
protected XSDTypeDefinition |
anonymousTypeDefinition
The cached value of the '
Anonymous Type Definition ' containment reference. |
protected EList<XSDDisallowedSubstitutions> |
block
The cached value of the '
Block ' attribute list. |
protected static boolean |
CIRCULAR_EDEFAULT
The default value of the '
Circular ' attribute. |
protected EList<XSDDisallowedSubstitutions> |
disallowedSubstitutions
The cached value of the '
Disallowed Substitutions ' attribute list. |
protected static boolean |
ELEMENT_DECLARATION_REFERENCE_EDEFAULT
The default value of the '
Element Declaration Reference ' attribute. |
protected EList<XSDIdentityConstraintDefinition> |
identityConstraintDefinitions
The cached value of the '
Identity Constraint Definitions ' containment reference list. |
protected boolean |
isTypeExplicit |
protected EList<XSDProhibitedSubstitutions> |
lexicalFinal
The cached value of the '
Lexical Final ' attribute list. |
protected static boolean |
NILLABLE_EDEFAULT
The default value of the '
Nillable ' attribute. |
protected static int |
NILLABLE_EFLAG
The flag representing the value of the '
Nillable ' attribute. |
protected static int |
NILLABLE_ESETFLAG
The flag representing whether the Nillable attribute has been set.
|
protected XSDElementDeclaration |
resolvedElementDeclaration
The cached value of the '
Resolved Element Declaration ' reference. |
protected EList<XSDElementDeclaration> |
substitutionGroup
The cached value of the '
Substitution Group ' reference list. |
protected XSDElementDeclaration |
substitutionGroupAffiliation
The cached value of the '
Substitution Group Affiliation ' reference. |
protected EList<XSDSubstitutionGroupExclusions> |
substitutionGroupExclusions
The cached value of the '
Substitution Group Exclusions ' attribute list. |
protected XSDTypeDefinition |
typeDefinition
The cached value of the '
Type Definition ' reference. |
CONSTRAINT_EDEFAULT, CONSTRAINT_EFLAG, CONSTRAINT_EFLAG_DEFAULT, CONSTRAINT_EFLAG_OFFSET, CONSTRAINT_ESETFLAG, FEATURE_REFERENCE_EDEFAULT, FORM_EDEFAULT, FORM_EFLAG, FORM_EFLAG_DEFAULT, FORM_EFLAG_OFFSET, FORM_ESETFLAG, GLOBAL_EDEFAULT, LEXICAL_VALUE_EDEFAULT, lexicalValue, value, VALUE_EDEFAULT
ALIAS_NAME_EDEFAULT, ALIAS_URI_EDEFAULT, name, NAME_EDEFAULT, QNAME_EDEFAULT, TARGET_NAMESPACE_EDEFAULT, targetNamespace, URI_EDEFAULT
ANALYZED, ANALYZING, CIRCULAR, diagnostics, element, ELEMENT_EDEFAULT, ERROR, FATAL, forceResolve, INFORMATION, isReconciling, UNANALYZED, updatingDOM, WARNING, xsdContents
eAdapters, eContainer, eContainerFeatureID, EDELIVER, EDYNAMIC_CLASS, eFlags, ELAST_EOBJECT_FLAG, ELAST_NOTIFIER_FLAG, eProperties, EPROXY
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET
EOPPOSITE_FEATURE_BASE
Modifier | Constructor and Description |
---|---|
protected |
XSDElementDeclarationImpl() |
Modifier and Type | Method and Description |
---|---|
protected void |
adoptContent(EReference eReference,
XSDConcreteComponent xsdConcreteComponent) |
protected boolean |
analyze() |
NotificationChain |
basicSetAnnotation(XSDAnnotation newAnnotation,
NotificationChain msgs) |
NotificationChain |
basicSetAnonymousTypeDefinition(XSDTypeDefinition newAnonymousTypeDefinition,
NotificationChain msgs) |
protected void |
changeAttribute(EAttribute eAttribute) |
protected void |
changeReference(EReference eReference) |
XSDConcreteComponent |
cloneConcreteComponent(boolean deep,
boolean shareDOM)
Creates a clone of the component.
|
org.w3c.dom.Element |
createElement() |
static XSDElementDeclaration |
createElementDeclaration(org.w3c.dom.Node node) |
protected void |
eBasicSetContainer(InternalEObject newContainer,
int newContainerFeatureID) |
java.lang.Object |
eGet(int featureID,
boolean resolve,
boolean coreType) |
NotificationChain |
eInverseRemove(InternalEObject otherEnd,
int featureID,
NotificationChain msgs) |
boolean |
eIsSet(int featureID) |
void |
eNotify(Notification msg)
Notifies a change to a feature of this notifier as described by the notification.
|
void |
eSet(int featureID,
java.lang.Object newValue) |
protected EClass |
eStaticClass() |
void |
eUnset(int featureID) |
XSDAnnotation |
getAnnotation() |
XSDTypeDefinition |
getAnonymousTypeDefinition() |
EList<XSDDisallowedSubstitutions> |
getBlock() |
java.lang.Boolean |
getCircular() |
EList<XSDDisallowedSubstitutions> |
getDisallowedSubstitutions() |
java.lang.Boolean |
getElementDeclarationReference() |
EList<XSDIdentityConstraintDefinition> |
getIdentityConstraintDefinitions() |
EList<XSDProhibitedSubstitutions> |
getLexicalFinal() |
java.lang.String |
getQName()
Returns the value of the 'QName' attribute.
|
XSDElementDeclaration |
getResolvedElementDeclaration() |
XSDFeature |
getResolvedFeature()
Returns the value of the 'Resolved Feature' reference.
|
XSDNamedComponent |
getResolvedNamedComponent() |
java.lang.String |
getStringBlock()
Returns the String value of the '
Block ' attribute list. |
java.lang.String |
getStringDisallowedSubstitutions()
Returns the String value of the '
Disallowed Substitutions ' attribute list. |
java.lang.String |
getStringLexicalFinal()
Returns the String value of the '
Lexical Final ' attribute list. |
java.lang.String |
getStringSubstitutionGroupExclusions()
Returns the value of the 'Substitution Group Exclusions' attribute list.
|
EList<XSDElementDeclaration> |
getSubstitutionGroup() |
XSDElementDeclaration |
getSubstitutionGroupAffiliation() |
EList<XSDSubstitutionGroupExclusions> |
getSubstitutionGroupExclusions() |
XSDTypeDefinition |
getType()
Returns the value of the 'Type' reference.
|
XSDTypeDefinition |
getTypeDefinition() |
protected void |
handleAnalysis() |
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() |
boolean |
isCircular()
Returns the value of the 'Circular' attribute.
|
boolean |
isElementDeclarationReference()
Returns the value of the 'Element Declaration Reference' attribute.
|
boolean |
isFeatureReference()
Returns the value of the 'Feature Reference' attribute.
|
boolean |
isNamedComponentReference() |
boolean |
isNillable() |
boolean |
isSetAbstract() |
boolean |
isSetBlock() |
boolean |
isSetLexicalFinal() |
boolean |
isSetNillable() |
protected void |
orphanContent(EReference eReference,
XSDConcreteComponent xsdConcreteComponent) |
protected void |
patch() |
protected void |
patchTargetNamespaceAttribute() |
protected void |
patchTargetNamespaceAttribute(XSDSchema xsdSchema) |
protected void |
patchTargetNamespaceAttributeHelper(XSDSchema xsdSchema) |
protected void |
reconcileAttributes(org.w3c.dom.Element changedElement) |
protected void |
reconcileContents(org.w3c.dom.Element changedElement) |
protected void |
reconcileNameAttribute() |
void |
setAbstract(boolean newAbstract) |
void |
setAnnotation(XSDAnnotation newAnnotation) |
void |
setAnonymousTypeDefinition(XSDTypeDefinition newAnonymousTypeDefinition) |
void |
setNillable(boolean newNillable) |
void |
setResolvedElementDeclaration(XSDElementDeclaration newResolvedElementDeclaration) |
void |
setStringBlock(java.lang.String block)
Set the String value of the '
Block ' attribute list. |
void |
setStringLexicalFinal(java.lang.String finalDefault)
Sets the String value of the '
Lexical Final ' attribute list. |
void |
setSubstitutionGroupAffiliation(XSDElementDeclaration newSubstitutionGroupAffiliation) |
void |
setTypeDefinition(XSDTypeDefinition newTypeDefinition)
Sets the value of the '
Type Definition ' reference. |
void |
setTypeDefinitionGen(XSDTypeDefinition newTypeDefinition) |
java.lang.String |
toString() |
protected void |
traverseToRootForAnalysis() |
void |
unsetAbstract() |
void |
unsetBlock() |
void |
unsetLexicalFinal() |
void |
unsetNillable() |
void |
validate()
Validates whether this component conforms to the constraints defined in the XML Schema standard.
|
getConstraint, getFeatureReference, getForm, getGlobal, getLexicalValue, getScope, getValue, isGlobal, isSetConstraint, isSetForm, isUpdatingDOM, setConstraint, setForm, setLexicalValue, setValue, unsetConstraint, unsetForm
addToSortedList, adoptBy, findInSortedList, getAliasName, getAliasURI, getName, getQName, getTargetNamespace, getURI, getURIReferenceLabel, hasNameAndTargetNamespace, hasSameNameAndTargetNamespace, hasURI, mergeToSortedList, setName, setTargetNamespace, sortNamedComponents
adoptDiagnostic, checkAttributes, checkAttributeTypeConstraint, checkAttributeTypeConstraint, checkBuiltInTypeConstraint, checkComplexContent, checkComplexContent, checkElementComplexContent, checkSimpleTypeConstraint, clearDiagnostics, cloneConcreteComponents, considerAllContainsForBestConcreteComponent, contains, convertToBoolean, createDiagnostic, createDiagnostic, createDiagnostic, createDiagnostic, createElement, createRequiredAttributeDiagnostic, createUnresolvedAttributeDeclaration, createUnresolvedAttributeGroupDefinition, createUnresolvedComplexTypeDefinition, createUnresolvedElementDeclaration, createUnresolvedIdentityConstraintDefinition, createUnresolvedModelGroupDefinition, createUnresolvedNotationDeclaration, createUnresolvedSimpleTypeDefinition, createUnresolvedTypeDefinition, elementAttributesChanged, elementChanged, elementContentsChanged, eNotificationRequired, eObjectForURIFragmentSegment, eURIFragmentSegment, forceEngulf, forceEngulf, forceNiceInsertBefore, forceNiceRemoveChild, forceReplace, getAdoptionParentNode, getBestConcreteComponent, getComponentsWithApplicationInformation, getComponentsWithInformation, getComponentsWithUserInformation, getContainer, getContentNodes, getDiagnostics, getDiagnosticTarget, getElement, getRootContainer, getSchema, getXSDConcreteComponentImpls, getXSDContents, getXSDFactory, getXSDPackage, handleAnnotationReconciliation, handleElementForAdopt, moveContent, niceCreateNamespaceAttribute, niceInsertBefore, niceRemoveChild, niceSetAttribute, niceSetAttributeURIValue, orphanBy, orphanDiagnostic, populateDiagnostic, printDFA, reconcile, reportConstraintViolation, reset, resolveAttributeDeclaration, resolveAttributeDeclaration, resolveAttributeDeclarationURI, resolveAttributeGroupDefinition, resolveAttributeGroupDefinition, resolveAttributeGroupDefinitionURI, resolveComplexTypeDefinition, resolveComplexTypeDefinition, resolveComplexTypeDefinitionURI, resolveElementDeclaration, resolveElementDeclaration, resolveElementDeclarationURI, resolveIdentityConstraintDefinition, resolveIdentityConstraintDefinition, resolveIdentityConstraintDefinitionURI, resolveModelGroupDefinition, resolveModelGroupDefinition, resolveModelGroupDefinitionURI, resolveNotationDeclaration, resolveNotationDeclaration, resolveNotationDeclarationURI, resolveSimpleTypeDefinition, resolveSimpleTypeDefinition, resolveSimpleTypeDefinitionURI, resolveTypeDefinition, resolveTypeDefinition, resolveTypeDefinitionURI, setElement, setElementGen, setListContentAndOrder, traverseToRootForPatching, updateElement, updateElement, updatePrefix
eAdapters, eBasicAdapters, eBasicProperties, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURI
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicClass, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicInvoke, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eHasSettings, eInternalResource, eInverseAdd, eInverseAdd, eInverseRemove, eInvocationDelegate, eInvoke, eIsSet, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetDirectResource, eSetResource, eSetStore, eSetting, eSettingDelegate, eSettings, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStaticOperationCount, eStore, eUnset, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValues
eBasicAdapterArray, eBasicHasAdapters
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getConstraint, getForm, getLexicalValue, getScope, getValue, isGlobal, isSetConstraint, isSetForm, setConstraint, setForm, setLexicalValue, setValue, unsetConstraint, unsetForm
getAliasName, getAliasURI, getName, getQName, getTargetNamespace, getURI, hasNameAndTargetNamespace, hasSameNameAndTargetNamespace, hasURI, setName, setTargetNamespace
clearDiagnostics, contains, elementAttributesChanged, elementChanged, elementContentsChanged, getComponentsWithApplicationInformation, getComponentsWithUserInformation, getContainer, getDiagnostics, getElement, getRootContainer, getSchema, resolveAttributeDeclaration, resolveAttributeDeclaration, resolveAttributeDeclarationURI, resolveAttributeGroupDefinition, resolveAttributeGroupDefinition, resolveAttributeGroupDefinitionURI, resolveComplexTypeDefinition, resolveComplexTypeDefinition, resolveComplexTypeDefinitionURI, resolveElementDeclaration, resolveElementDeclaration, resolveElementDeclarationURI, resolveIdentityConstraintDefinition, resolveIdentityConstraintDefinition, resolveIdentityConstraintDefinitionURI, resolveModelGroupDefinition, resolveModelGroupDefinition, resolveModelGroupDefinitionURI, resolveNotationDeclaration, resolveNotationDeclaration, resolveNotationDeclarationURI, resolveSimpleTypeDefinition, resolveSimpleTypeDefinition, resolveSimpleTypeDefinitionURI, resolveTypeDefinition, resolveTypeDefinition, resolveTypeDefinitionURI, setElement, updateElement, updateElement
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
eAdapters, eDeliver, eSetDeliver
protected static final boolean NILLABLE_EDEFAULT
Nillable
' attribute.
isNillable()
,
Constant Field Valuesprotected static final int NILLABLE_EFLAG
Nillable
' attribute.
isNillable()
,
Constant Field Valuesprotected static final int NILLABLE_ESETFLAG
protected EList<XSDDisallowedSubstitutions> disallowedSubstitutions
Disallowed Substitutions
' attribute list.
getDisallowedSubstitutions()
protected EList<XSDSubstitutionGroupExclusions> substitutionGroupExclusions
Substitution Group Exclusions
' attribute list.
getSubstitutionGroupExclusions()
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 EList<XSDProhibitedSubstitutions> lexicalFinal
Lexical Final
' attribute list.
getLexicalFinal()
protected EList<XSDDisallowedSubstitutions> block
Block
' attribute list.
getBlock()
protected static final boolean ELEMENT_DECLARATION_REFERENCE_EDEFAULT
Element Declaration Reference
' attribute.
protected static final boolean CIRCULAR_EDEFAULT
Circular
' attribute.
isCircular()
,
Constant Field Valuesprotected XSDAnnotation annotation
Annotation
' containment reference.
getAnnotation()
protected XSDTypeDefinition anonymousTypeDefinition
Anonymous Type Definition
' containment reference.
getAnonymousTypeDefinition()
protected XSDTypeDefinition typeDefinition
Type Definition
' reference.
getTypeDefinition()
protected EList<XSDIdentityConstraintDefinition> identityConstraintDefinitions
Identity Constraint Definitions
' containment reference list.
getIdentityConstraintDefinitions()
protected XSDElementDeclaration resolvedElementDeclaration
Resolved Element Declaration
' reference.
getResolvedElementDeclaration()
protected XSDElementDeclaration substitutionGroupAffiliation
Substitution Group Affiliation
' reference.
getSubstitutionGroupAffiliation()
protected EList<XSDElementDeclaration> substitutionGroup
Substitution Group
' reference list.
getSubstitutionGroup()
protected int analysisState
protected boolean isTypeExplicit
public static XSDElementDeclaration createElementDeclaration(org.w3c.dom.Node node)
protected EClass eStaticClass()
eStaticClass
in class XSDFeatureImpl
public boolean isNillable()
isNillable
in interface XSDElementDeclaration
XSDElementDeclaration.isSetNillable()
,
XSDElementDeclaration.unsetNillable()
,
XSDElementDeclaration.setNillable(boolean)
,
XSDPackage.getXSDElementDeclaration_Nillable()
public void setNillable(boolean newNillable)
setNillable
in interface XSDElementDeclaration
newNillable
- the new value of the 'Nillable' attribute.XSDElementDeclaration.isSetNillable()
,
XSDElementDeclaration.unsetNillable()
,
XSDElementDeclaration.isNillable()
public void unsetNillable()
unsetNillable
in interface XSDElementDeclaration
XSDElementDeclaration.isSetNillable()
,
XSDElementDeclaration.isNillable()
,
XSDElementDeclaration.setNillable(boolean)
public boolean isSetNillable()
isSetNillable
in interface XSDElementDeclaration
XSDElementDeclaration.unsetNillable()
,
XSDElementDeclaration.isNillable()
,
XSDElementDeclaration.setNillable(boolean)
public EList<XSDDisallowedSubstitutions> getDisallowedSubstitutions()
getDisallowedSubstitutions
in interface XSDElementDeclaration
XSDElementDeclaration.getStringDisallowedSubstitutions()
,
XSDDisallowedSubstitutions
,
XSDPackage.getXSDElementDeclaration_DisallowedSubstitutions()
public EList<XSDSubstitutionGroupExclusions> getSubstitutionGroupExclusions()
getSubstitutionGroupExclusions
in interface XSDElementDeclaration
XSDElementDeclaration.getStringSubstitutionGroupExclusions()
,
XSDSubstitutionGroupExclusions
,
XSDPackage.getXSDElementDeclaration_SubstitutionGroupExclusions()
public boolean isAbstract()
isAbstract
in interface XSDElementDeclaration
XSDElementDeclaration.isSetAbstract()
,
XSDElementDeclaration.unsetAbstract()
,
XSDElementDeclaration.setAbstract(boolean)
,
XSDPackage.getXSDElementDeclaration_Abstract()
public void setAbstract(boolean newAbstract)
setAbstract
in interface XSDElementDeclaration
newAbstract
- the new value of the 'Abstract' attribute.XSDElementDeclaration.isSetAbstract()
,
XSDElementDeclaration.unsetAbstract()
,
XSDElementDeclaration.isAbstract()
public void unsetAbstract()
unsetAbstract
in interface XSDElementDeclaration
XSDElementDeclaration.isSetAbstract()
,
XSDElementDeclaration.isAbstract()
,
XSDElementDeclaration.setAbstract(boolean)
public boolean isSetAbstract()
isSetAbstract
in interface XSDElementDeclaration
XSDElementDeclaration.unsetAbstract()
,
XSDElementDeclaration.isAbstract()
,
XSDElementDeclaration.setAbstract(boolean)
public EList<XSDProhibitedSubstitutions> getLexicalFinal()
getLexicalFinal
in interface XSDElementDeclaration
XSDElementDeclaration.getStringLexicalFinal()
,
XSDElementDeclaration.setStringLexicalFinal(java.lang.String)
,
XSDProhibitedSubstitutions
,
XSDElementDeclaration.isSetLexicalFinal()
,
XSDElementDeclaration.unsetLexicalFinal()
,
XSDPackage.getXSDElementDeclaration_LexicalFinal()
public void unsetLexicalFinal()
unsetLexicalFinal
in interface XSDElementDeclaration
XSDElementDeclaration.isSetLexicalFinal()
,
XSDElementDeclaration.getLexicalFinal()
public boolean isSetLexicalFinal()
isSetLexicalFinal
in interface XSDElementDeclaration
XSDElementDeclaration.unsetLexicalFinal()
,
XSDElementDeclaration.getLexicalFinal()
public EList<XSDDisallowedSubstitutions> getBlock()
getBlock
in interface XSDElementDeclaration
XSDElementDeclaration.getStringBlock()
,
XSDElementDeclaration.setStringBlock(java.lang.String)
,
XSDDisallowedSubstitutions
,
XSDElementDeclaration.isSetBlock()
,
XSDElementDeclaration.unsetBlock()
,
XSDPackage.getXSDElementDeclaration_Block()
public void unsetBlock()
unsetBlock
in interface XSDElementDeclaration
XSDElementDeclaration.isSetBlock()
,
XSDElementDeclaration.getBlock()
public boolean isSetBlock()
isSetBlock
in interface XSDElementDeclaration
XSDElementDeclaration.unsetBlock()
,
XSDElementDeclaration.getBlock()
public java.lang.Boolean getElementDeclarationReference()
public org.w3c.dom.Element createElement()
createElement
in class XSDConcreteComponentImpl
protected void patch()
patch
in class XSDNamedComponentImpl
protected void traverseToRootForAnalysis()
traverseToRootForAnalysis
in class XSDConcreteComponentImpl
protected boolean analyze()
analyze
in class XSDFeatureImpl
protected void handleAnalysis()
protected void patchTargetNamespaceAttribute()
patchTargetNamespaceAttribute
in class XSDNamedComponentImpl
protected void patchTargetNamespaceAttribute(XSDSchema xsdSchema)
patchTargetNamespaceAttribute
in class XSDNamedComponentImpl
protected void patchTargetNamespaceAttributeHelper(XSDSchema xsdSchema)
public void validate()
XSDConcreteComponent
Diagnostics
are produced to report any problems.
The effect of calling this for a component not directly or indirectly contained by a schema
is undefined, and is likely to result in null pointer exceptions.validate
in interface XSDConcreteComponent
validate
in class XSDConcreteComponentImpl
XSDConcreteComponent.getDiagnostics()
,
XSDConcreteComponent.clearDiagnostics()
protected void reconcileAttributes(org.w3c.dom.Element changedElement)
reconcileAttributes
in class XSDFeatureImpl
protected void reconcileNameAttribute()
reconcileNameAttribute
in class XSDNamedComponentImpl
protected void reconcileContents(org.w3c.dom.Element changedElement)
reconcileContents
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 XSDFeatureImpl
public void eNotify(Notification msg)
Notifier
delivered
to the adapters
via Adapter.notifyChanged
.eNotify
in interface Notifier
eNotify
in class XSDConcreteComponentImpl
msg
- a description of the change.protected void eBasicSetContainer(InternalEObject newContainer, int newContainerFeatureID)
eBasicSetContainer
in class EObjectImpl
protected void changeReference(EReference eReference)
changeReference
in class XSDConcreteComponentImpl
protected void adoptContent(EReference eReference, XSDConcreteComponent xsdConcreteComponent)
adoptContent
in class XSDConcreteComponentImpl
protected void orphanContent(EReference eReference, XSDConcreteComponent xsdConcreteComponent)
orphanContent
in class XSDConcreteComponentImpl
public boolean isElementDeclarationReference()
XSDElementDeclaration
This concrete attribute is equivalent to
xsdElementDeclaration != xsdElementDeclaration.getResolvedElementDeclaration
()
An infoset feature will never return an instance for which this is the true
since this is a concrete attribute that is used to represent an element declaration
with a ref attribute.
isElementDeclarationReference
in interface XSDElementDeclaration
XSDPackage.getXSDElementDeclaration_ElementDeclarationReference()
public java.lang.Boolean getCircular()
public java.lang.String getQName()
XSDNamedComponent
This concrete attribute is equivalent to
xsdNamedComponent.getQName
(xsdNamedComponent)
getQName
in interface XSDNamedComponent
getQName
in class XSDNamedComponentImpl
XSDNamedComponent.getQName(org.eclipse.xsd.XSDConcreteComponent)
,
XSDPackage.getXSDNamedComponent_QName()
public boolean isNamedComponentReference()
isNamedComponentReference
in class XSDNamedComponentImpl
public XSDNamedComponent getResolvedNamedComponent()
getResolvedNamedComponent
in class XSDNamedComponentImpl
public boolean isFeatureReference()
XSDFeature
This is the same result as either
the 'Element Reference
' attribute or
the 'Attribute Reference
' attribute.
isFeatureReference
in interface XSDFeature
isFeatureReference
in class XSDFeatureImpl
XSDPackage.getXSDFeature_FeatureReference()
public XSDFeature getResolvedFeature()
XSDFeature
This is the same result as either
the 'Resolved Element Declaration
' reference or
the 'Resolved Attribute Declaration
' reference.
getResolvedFeature
in interface XSDFeature
getResolvedFeature
in class XSDFeatureImpl
XSDPackage.getXSDFeature_ResolvedFeature()
public XSDTypeDefinition getType()
XSDFeature
This is the same result as either
the element 'Type Definition
' reference or
the attribute 'Type Definition
' reference.
getType
in interface XSDFeature
getType
in class XSDFeatureImpl
XSDPackage.getXSDFeature_Type()
public java.lang.String getStringLexicalFinal()
XSDElementDeclaration
Lexical Final
' attribute list.
getStringLexicalFinal
in interface XSDElementDeclaration
XSDElementDeclaration.getStringLexicalFinal()
,
XSDElementDeclaration.setStringLexicalFinal(java.lang.String)
public void setStringLexicalFinal(java.lang.String finalDefault)
XSDElementDeclaration
Lexical Final
' attribute list.
setStringLexicalFinal
in interface XSDElementDeclaration
finalDefault
- the new value of the 'Lexical Final' attribute list.XSDElementDeclaration.getLexicalFinal()
,
XSDElementDeclaration.getStringLexicalFinal()
public java.lang.String getStringBlock()
XSDElementDeclaration
Block
' attribute list.
getStringBlock
in interface XSDElementDeclaration
XSDElementDeclaration.getBlock()
,
XSDElementDeclaration.setStringBlock(java.lang.String)
public void setStringBlock(java.lang.String block)
XSDElementDeclaration
Block
' attribute list.
setStringBlock
in interface XSDElementDeclaration
block
- the new value of the 'Block' attribute list.XSDElementDeclaration.getBlock()
,
XSDElementDeclaration.getStringBlock()
public java.lang.String getStringDisallowedSubstitutions()
XSDElementDeclaration
Disallowed Substitutions
' attribute list.
getStringDisallowedSubstitutions
in interface XSDElementDeclaration
XSDElementDeclaration.getDisallowedSubstitutions()
public java.lang.String getStringSubstitutionGroupExclusions()
XSDElementDeclaration
getStringSubstitutionGroupExclusions
in interface XSDElementDeclaration
XSDElementDeclaration.getSubstitutionGroupExclusions()
,
XSDPackage.getXSDElementDeclaration_SubstitutionGroupExclusions()
public boolean isCircular()
XSDElementDeclaration
This indicates that the element declaration is part of an invalid circular substitution group.
isCircular
in interface XSDElementDeclaration
XSDPackage.getXSDElementDeclaration_Circular()
public XSDAnnotation getAnnotation()
getAnnotation
in interface XSDElementDeclaration
XSDElementDeclaration.setAnnotation(XSDAnnotation)
,
XSDPackage.getXSDElementDeclaration_Annotation()
public void setAnnotation(XSDAnnotation newAnnotation)
setAnnotation
in interface XSDElementDeclaration
newAnnotation
- the new value of the 'Annotation' containment reference.XSDElementDeclaration.getAnnotation()
public NotificationChain basicSetAnnotation(XSDAnnotation newAnnotation, NotificationChain msgs)
public XSDTypeDefinition getAnonymousTypeDefinition()
getAnonymousTypeDefinition
in interface XSDElementDeclaration
XSDElementDeclaration.setAnonymousTypeDefinition(XSDTypeDefinition)
,
XSDPackage.getXSDElementDeclaration_AnonymousTypeDefinition()
public void setAnonymousTypeDefinition(XSDTypeDefinition newAnonymousTypeDefinition)
setAnonymousTypeDefinition
in interface XSDElementDeclaration
newAnonymousTypeDefinition
- the new value of the 'Anonymous Type Definition' containment reference.XSDElementDeclaration.getAnonymousTypeDefinition()
public NotificationChain basicSetAnonymousTypeDefinition(XSDTypeDefinition newAnonymousTypeDefinition, NotificationChain msgs)
public XSDTypeDefinition getTypeDefinition()
getTypeDefinition
in interface XSDElementDeclaration
XSDElementDeclaration.setTypeDefinition(XSDTypeDefinition)
,
XSDPackage.getXSDElementDeclaration_TypeDefinition()
public void setTypeDefinitionGen(XSDTypeDefinition newTypeDefinition)
public void setTypeDefinition(XSDTypeDefinition newTypeDefinition)
XSDElementDeclaration
Type Definition
' reference.
setTypeDefinition
in interface XSDElementDeclaration
newTypeDefinition
- the new value of the 'Type Definition' reference.XSDElementDeclaration.getTypeDefinition()
public EList<XSDIdentityConstraintDefinition> getIdentityConstraintDefinitions()
getIdentityConstraintDefinitions
in interface XSDElementDeclaration
XSDPackage.getXSDElementDeclaration_IdentityConstraintDefinitions()
public XSDElementDeclaration getResolvedElementDeclaration()
getResolvedElementDeclaration
in interface XSDElementDeclaration
XSDElementDeclaration.setResolvedElementDeclaration(XSDElementDeclaration)
,
XSDPackage.getXSDElementDeclaration_ResolvedElementDeclaration()
public void setResolvedElementDeclaration(XSDElementDeclaration newResolvedElementDeclaration)
setResolvedElementDeclaration
in interface XSDElementDeclaration
newResolvedElementDeclaration
- the new value of the 'Resolved Element Declaration' reference.XSDElementDeclaration.getResolvedElementDeclaration()
public XSDElementDeclaration getSubstitutionGroupAffiliation()
getSubstitutionGroupAffiliation
in interface XSDElementDeclaration
XSDElementDeclaration.setSubstitutionGroupAffiliation(XSDElementDeclaration)
,
XSDPackage.getXSDElementDeclaration_SubstitutionGroupAffiliation()
public void setSubstitutionGroupAffiliation(XSDElementDeclaration newSubstitutionGroupAffiliation)
setSubstitutionGroupAffiliation
in interface XSDElementDeclaration
newSubstitutionGroupAffiliation
- the new value of the 'Substitution Group Affiliation' reference.XSDElementDeclaration.getSubstitutionGroupAffiliation()
public EList<XSDElementDeclaration> getSubstitutionGroup()
getSubstitutionGroup
in interface XSDElementDeclaration
XSDPackage.getXSDElementDeclaration_SubstitutionGroup()
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
eInverseRemove
in class XSDConcreteComponentImpl
public java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in interface InternalEObject
eGet
in class XSDFeatureImpl
InternalEObject.eGet(EStructuralFeature, boolean, boolean)
public void eSet(int featureID, java.lang.Object newValue)
eSet
in interface InternalEObject
eSet
in class XSDFeatureImpl
EObject.eSet(EStructuralFeature, Object)
public void eUnset(int featureID)
eUnset
in interface InternalEObject
eUnset
in class XSDFeatureImpl
EObject.eUnset(EStructuralFeature)
public boolean eIsSet(int featureID)
eIsSet
in interface InternalEObject
eIsSet
in class XSDFeatureImpl
EObject.eIsSet(EStructuralFeature)
public java.lang.String toString()
toString
in class XSDFeatureImpl
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