|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.emf.common.notify.impl.BasicNotifierImpl org.eclipse.emf.ecore.impl.BasicEObjectImpl org.eclipse.emf.ecore.impl.EObjectImpl org.eclipse.xsd.impl.XSDConcreteComponentImpl
public abstract class XSDConcreteComponentImpl
An implementation of the model object 'Concrete Component'.
The following features are implemented:
Nested Class Summary | |
---|---|
static class |
XSDConcreteComponentImpl.XSDContentsEList
|
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl |
---|
BasicEObjectImpl.EPropertiesHolder, BasicEObjectImpl.EPropertiesHolderBaseImpl, BasicEObjectImpl.EPropertiesHolderImpl |
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl |
---|
BasicNotifierImpl.EAdapterList<E extends java.lang.Object & Adapter> |
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject |
---|
InternalEObject.EStore |
Field Summary | |
---|---|
protected int |
ANALYZED
|
protected int |
ANALYZING
|
protected int |
CIRCULAR
|
protected EList<XSDDiagnostic> |
diagnostics
The cached value of the ' Diagnostics ' containment reference list |
protected org.w3c.dom.Element |
element
The cached value of the ' Element ' attribute |
protected static org.w3c.dom.Element |
ELEMENT_EDEFAULT
The default value of the ' Element ' attribute |
protected static int |
ERROR
|
protected static int |
FATAL
|
protected boolean |
forceResolve
|
protected static int |
INFORMATION
|
protected boolean |
isReconciling
|
protected int |
UNANALYZED
|
protected boolean |
updatingDOM
|
protected static int |
WARNING
|
protected EList<XSDConcreteComponent> |
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 |
XSDConcreteComponentImpl()
|
Method Summary | ||
---|---|---|
protected void |
adoptBy(XSDSchema xsdSchema)
|
|
protected void |
adoptContent(EReference eReference,
XSDConcreteComponent xsdConcreteComponent)
|
|
protected void |
adoptDiagnostic(XSDDiagnostic xsdDiagnostic)
|
|
protected boolean |
analyze()
|
|
protected void |
changeAttribute(EAttribute eAttribute)
|
|
protected void |
changeReference(EReference eReference)
|
|
protected java.util.Collection<XSDDiagnostic> |
checkAttributes(java.lang.String part,
java.lang.String anchor,
org.w3c.dom.Element element,
java.lang.String[] allowedAttributeNames)
|
|
protected XSDDiagnostic |
checkAttributeTypeConstraint(java.lang.String builtInTypeName,
java.lang.String builtInAttributeName,
java.lang.String value,
java.lang.String part,
java.lang.String anchor,
org.w3c.dom.Element element,
java.lang.String attributeName,
boolean isRequired)
|
|
protected XSDDiagnostic |
checkAttributeTypeConstraint(XSDComplexTypeDefinition xsdComplexTypeDefinition,
java.lang.String builtInAttributeName,
java.lang.String value,
java.lang.String part,
java.lang.String anchor,
org.w3c.dom.Element element,
java.lang.String attributeName,
boolean isRequired)
|
|
protected XSDDiagnostic |
checkBuiltInTypeConstraint(java.lang.String builtInTypeName,
java.lang.String value,
java.lang.String part,
java.lang.String anchor,
org.w3c.dom.Element element,
java.lang.String attributeName,
boolean isRequired)
|
|
protected XSDDiagnostic |
checkComplexContent(java.lang.String builtInTypeName,
java.lang.String part,
java.lang.String anchor,
org.w3c.dom.Element element)
|
|
protected XSDDiagnostic |
checkComplexContent(XSDComplexTypeDefinition xsdComplexTypeDefinition,
java.lang.String part,
java.lang.String anchor,
org.w3c.dom.Element element)
|
|
protected XSDDiagnostic |
checkElementComplexContent(java.lang.String elementName,
java.lang.String part,
java.lang.String anchor,
org.w3c.dom.Element element)
|
|
protected XSDDiagnostic |
checkSimpleTypeConstraint(XSDSimpleTypeDefinition xsdTypeDefinition,
java.lang.String value,
java.lang.String part,
java.lang.String anchor,
org.w3c.dom.Element element,
java.lang.String attributeName,
boolean isRequired)
|
|
void |
clearDiagnostics()
Clears any diagnostics associated with the component and all those it contains. |
|
XSDConcreteComponent |
cloneConcreteComponent(boolean deep,
boolean shareDOM)
Creates a clone of the component. |
|
protected static
|
cloneConcreteComponents(java.util.List<T> xsdConcreteComponents,
boolean deep,
boolean shareDOM)
|
|
protected boolean |
considerAllContainsForBestConcreteComponent()
|
|
boolean |
contains(XSDConcreteComponent xsdConcreteComponent)
Returns whether the given component is contained by this component. |
|
protected XSDDiagnostic |
createDiagnostic(XSDDiagnosticSeverity severity,
java.lang.String key)
|
|
protected XSDDiagnostic |
createDiagnostic(XSDDiagnosticSeverity severity,
java.lang.String key,
java.lang.Object s1)
|
|
protected XSDDiagnostic |
createDiagnostic(XSDDiagnosticSeverity severity,
java.lang.String key,
java.lang.Object s1,
java.lang.Object s2)
|
|
protected XSDDiagnostic |
createDiagnostic(XSDDiagnosticSeverity severity,
java.lang.String key,
java.lang.Object s1,
java.lang.Object s2,
java.lang.Object s3)
|
|
org.w3c.dom.Element |
createElement()
|
|
protected org.w3c.dom.Element |
createElement(int nodeType)
|
|
protected XSDDiagnostic |
createRequiredAttributeDiagnostic(java.lang.String part,
java.lang.String anchor,
org.w3c.dom.Element element,
java.lang.String attributeName)
|
|
protected XSDAttributeDeclaration |
createUnresolvedAttributeDeclaration(java.lang.String namespace,
java.lang.String localName)
|
|
protected XSDAttributeGroupDefinition |
createUnresolvedAttributeGroupDefinition(java.lang.String namespace,
java.lang.String localName)
|
|
protected XSDComplexTypeDefinition |
createUnresolvedComplexTypeDefinition(java.lang.String namespace,
java.lang.String localName)
|
|
protected XSDElementDeclaration |
createUnresolvedElementDeclaration(java.lang.String namespace,
java.lang.String localName)
|
|
protected XSDIdentityConstraintDefinition |
createUnresolvedIdentityConstraintDefinition(java.lang.String namespace,
java.lang.String localName)
|
|
protected XSDModelGroupDefinition |
createUnresolvedModelGroupDefinition(java.lang.String namespace,
java.lang.String localName)
|
|
protected XSDNotationDeclaration |
createUnresolvedNotationDeclaration(java.lang.String namespace,
java.lang.String localName)
|
|
protected XSDSimpleTypeDefinition |
createUnresolvedSimpleTypeDefinition(java.lang.String namespace,
java.lang.String localName)
|
|
protected XSDTypeDefinition |
createUnresolvedTypeDefinition(java.lang.String namespace,
java.lang.String localName)
|
|
java.lang.Object |
eGet(int featureID,
boolean resolve,
boolean coreType)
|
|
NotificationChain |
eInverseRemove(InternalEObject otherEnd,
int featureID,
NotificationChain msgs)
|
|
boolean |
eIsSet(int featureID)
|
|
void |
elementAttributesChanged(org.w3c.dom.Element changedElement)
Called to indicate that the given element has changed attributes; the element should typically be the same as the one returned XSDConcreteComponent.getElement() . |
|
void |
elementChanged(org.w3c.dom.Element changedElement)
Called to indicate that the given element has changed; the element should typically be the same as the one returned XSDConcreteComponent.getElement() . |
|
void |
elementContentsChanged(org.w3c.dom.Element changedElement)
Called to indicate that the given element has changed contents; the element should typically be the same as the one returned XSDConcreteComponent.getElement() . |
|
boolean |
eNotificationRequired()
|
|
void |
eNotify(Notification msg)
|
|
EObject |
eObjectForURIFragmentSegment(java.lang.String uriFragmentSegment)
|
|
void |
eSet(int featureID,
java.lang.Object newValue)
|
|
protected EClass |
eStaticClass()
|
|
void |
eUnset(int featureID)
|
|
java.lang.String |
eURIFragmentSegment(EStructuralFeature eStructuralFeature,
EObject eObject)
|
|
void |
forceEngulf(org.w3c.dom.Element newElement,
org.w3c.dom.Element engulfingElement,
org.w3c.dom.Element referenceElement,
org.w3c.dom.Node referenceChild)
|
|
void |
forceEngulf(org.w3c.dom.Node firstAdoptee,
org.w3c.dom.Element engulfingElement,
org.w3c.dom.Node referenceChild)
|
|
void |
forceNiceInsertBefore(org.w3c.dom.Node parent,
org.w3c.dom.Node newChild,
org.w3c.dom.Node referenceChild)
|
|
void |
forceNiceRemoveChild(org.w3c.dom.Node parent,
org.w3c.dom.Node child)
|
|
void |
forceReplace(org.w3c.dom.Element replacementElement,
org.w3c.dom.Element referenceElement)
|
|
protected org.w3c.dom.Node |
getAdoptionParentNode(EReference eReference)
|
|
XSDConcreteComponent |
getBestConcreteComponent(java.util.List<org.w3c.dom.Element> elementPath)
|
|
java.util.Collection<XSDConcreteComponent> |
getComponentsWithApplicationInformation(java.lang.String sourceURI)
Returns the collection of components that have an annotation
containing an appinfo with given source URI. |
|
protected void |
getComponentsWithInformation(java.util.Collection<XSDConcreteComponent> result,
int nodeType,
java.lang.String sourceURI)
|
|
java.util.Collection<XSDConcreteComponent> |
getComponentsWithUserInformation(java.lang.String sourceURI)
Returns the collection of components that have an annotation
containing a documentation with given source URI. |
|
XSDConcreteComponent |
getContainer()
Returns the value of the 'Container' reference |
|
protected java.util.Collection<org.w3c.dom.Element> |
getContentNodes(org.w3c.dom.Element changedElement)
|
|
EList<XSDDiagnostic> |
getDiagnostics()
|
|
protected XSDConcreteComponentImpl |
getDiagnosticTarget(XSDConcreteComponent xsdConcreteComponent)
|
|
org.w3c.dom.Element |
getElement()
|
|
XSDConcreteComponent |
getRootContainer()
Returns the value of the 'Root Container' reference |
|
XSDSchema |
getSchema()
Returns the value of the 'Schema' reference |
|
protected java.lang.String |
getURIReferenceLabel()
|
|
protected EList<XSDConcreteComponentImpl> |
getXSDConcreteComponentImpls()
|
|
EList<XSDConcreteComponent> |
getXSDContents()
|
|
protected XSDFactory |
getXSDFactory()
|
|
protected XSDPackage |
getXSDPackage()
|
|
protected void |
handleAnnotationReconciliation(EReference eReference,
java.util.List<XSDConcreteComponent> newContents,
java.util.List<XSDConcreteComponent> remainingContents)
|
|
protected void |
handleElementForAdopt(EReference eReference,
XSDConcreteComponent xsdConcreteComponent)
|
|
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)
|
|
protected boolean |
isUpdatingDOM()
|
|
void |
moveContent(EReference eReference,
XSDConcreteComponent xsdConcreteComponent)
|
|
protected java.lang.String |
niceCreateNamespaceAttribute(java.lang.String namespace)
|
|
void |
niceInsertBefore(org.w3c.dom.Node parent,
org.w3c.dom.Node newChild,
org.w3c.dom.Node referenceChild)
|
|
void |
niceRemoveChild(org.w3c.dom.Node parent,
org.w3c.dom.Node child)
|
|
protected void |
niceSetAttribute(org.w3c.dom.Element element,
java.lang.String attribute,
java.lang.String value)
|
|
protected void |
niceSetAttributeURIValue(org.w3c.dom.Element element,
java.lang.String attribute,
java.lang.String uriList)
|
|
protected void |
orphanBy(XSDSchema xsdSchema)
|
|
protected void |
orphanContent(EReference eReference,
XSDConcreteComponent xsdConcreteComponent)
|
|
protected void |
orphanDiagnostic(XSDDiagnostic xsdDiagnostic)
|
|
protected void |
patch()
|
|
protected static java.lang.String |
populateDiagnostic(XSDDiagnostic xsdDiagnostic,
java.lang.String key,
java.lang.Object[] substitutions)
|
|
protected void |
printDFA(XSDParticle.DFA dfa)
|
|
protected void |
reconcile(org.w3c.dom.Element changedElement)
|
|
protected void |
reconcileAttributes(org.w3c.dom.Element changedElement)
|
|
protected void |
reconcileContents(org.w3c.dom.Element changedElement)
|
|
protected XSDDiagnostic |
reportConstraintViolation(java.lang.String part,
java.lang.String anchor,
org.w3c.dom.Element element,
java.lang.String attributeName,
java.lang.Object[] substitutions)
|
|
void |
reset()
|
|
XSDAttributeDeclaration |
resolveAttributeDeclaration(java.lang.String localName)
Returns the resolved attribute declaration of the given name
within the schema . |
|
XSDAttributeDeclaration |
resolveAttributeDeclaration(java.lang.String namespace,
java.lang.String localName)
Returns the resolved attribute declaration of the given namespace and name . |
|
XSDAttributeDeclaration |
resolveAttributeDeclarationURI(java.lang.String uri)
Returns the resolved attribute declaration of the given URI . |
|
XSDAttributeGroupDefinition |
resolveAttributeGroupDefinition(java.lang.String localName)
Returns the resolved attribute group definition of the given name
within the schema . |
|
XSDAttributeGroupDefinition |
resolveAttributeGroupDefinition(java.lang.String namespace,
java.lang.String localName)
Returns the resolved attribute group definition the given namespace and name . |
|
XSDAttributeGroupDefinition |
resolveAttributeGroupDefinitionURI(java.lang.String uri)
Returns the resolved attribute group definition of the given URI . |
|
XSDComplexTypeDefinition |
resolveComplexTypeDefinition(java.lang.String localName)
Returns the resolved complex type definition of the given name
within the schema . |
|
XSDComplexTypeDefinition |
resolveComplexTypeDefinition(java.lang.String namespace,
java.lang.String localName)
Returns the resolved complex type definition of the given namespace and name . |
|
XSDComplexTypeDefinition |
resolveComplexTypeDefinitionURI(java.lang.String uri)
Returns the resolved complex type definition of the given URI . |
|
XSDElementDeclaration |
resolveElementDeclaration(java.lang.String localName)
Returns the resolved element declaration of the given name
within the schema . |
|
XSDElementDeclaration |
resolveElementDeclaration(java.lang.String namespace,
java.lang.String localName)
Returns the resolved element declaration of the given namespace and name . |
|
XSDElementDeclaration |
resolveElementDeclarationURI(java.lang.String uri)
Returns the resolved element declaration of the given URI . |
|
XSDIdentityConstraintDefinition |
resolveIdentityConstraintDefinition(java.lang.String localName)
Returns the resolved identity constraint definition of the given name
within the schema . |
|
XSDIdentityConstraintDefinition |
resolveIdentityConstraintDefinition(java.lang.String namespace,
java.lang.String localName)
Returns the resolved identity constraint definition of the given namespace and name . |
|
XSDIdentityConstraintDefinition |
resolveIdentityConstraintDefinitionURI(java.lang.String uri)
Returns the resolved identity constraint definition of the given URI . |
|
XSDModelGroupDefinition |
resolveModelGroupDefinition(java.lang.String localName)
Returns the resolved model group definition of the given name
within the schema . |
|
XSDModelGroupDefinition |
resolveModelGroupDefinition(java.lang.String namespace,
java.lang.String localName)
Returns the resolved model group definition of the given namespace and name . |
|
XSDModelGroupDefinition |
resolveModelGroupDefinitionURI(java.lang.String uri)
Returns the resolved model group definition of the given URI . |
|
XSDNotationDeclaration |
resolveNotationDeclaration(java.lang.String localName)
Returns the resolved notation declaration the given name
within the schema . |
|
XSDNotationDeclaration |
resolveNotationDeclaration(java.lang.String namespace,
java.lang.String localName)
Returns the resolved notation declaration of the given namespace and name . |
|
XSDNotationDeclaration |
resolveNotationDeclarationURI(java.lang.String uri)
Returns the resolved notation declaration of the given URI . |
|
XSDSimpleTypeDefinition |
resolveSimpleTypeDefinition(java.lang.String localName)
Returns the resolved simple type definition of the given name
within the schema . |
|
XSDSimpleTypeDefinition |
resolveSimpleTypeDefinition(java.lang.String namespace,
java.lang.String localName)
Returns the resolved simple type definition of the given namespace and name . |
|
XSDSimpleTypeDefinition |
resolveSimpleTypeDefinitionURI(java.lang.String uri)
Returns the resolved simple type definition of the given URI . |
|
XSDTypeDefinition |
resolveTypeDefinition(java.lang.String localName)
Returns the resolved type definition of the given name
within the schema . |
|
XSDTypeDefinition |
resolveTypeDefinition(java.lang.String namespace,
java.lang.String localName)
Returns the resolved type definition of the given namespace and name . |
|
XSDTypeDefinition |
resolveTypeDefinitionURI(java.lang.String uri)
Returns the resolved type definition of the given URI . |
|
void |
setElement(org.w3c.dom.Element element)
Sets the value of the ' Element ' attribute |
|
void |
setElementGen(org.w3c.dom.Element newElement)
|
|
static
|
setListContentAndOrder(EList<T> targetList,
java.util.List<? extends T> prototypeList)
|
|
java.lang.String |
toString()
|
|
protected void |
traverseToRootForAnalysis()
|
|
protected void |
traverseToRootForPatching()
|
|
void |
updateElement()
Ensures that the underlying DOM element both exists and is up-to-date with respect to the model,
i.e., it serializes the component and maintains an association with that serialization. |
|
void |
updateElement(boolean deep)
Ensures that the underlying DOM element both exists and is up-to-date with respect to the model,
i.e., it serializes the component and maintains an association with that serialization. |
|
protected void |
updatePrefix(org.w3c.dom.Node node,
java.lang.String namespace,
java.lang.String oldPrefix,
java.lang.String newPrefix)
|
|
void |
validate()
Validates whether this component conforms to the constraints defined in the XML Schema standard. |
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.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, eSetDeliver |
Field Detail |
---|
protected static final org.w3c.dom.Element ELEMENT_EDEFAULT
Element
' attribute.
getElement()
protected org.w3c.dom.Element element
Element
' attribute.
getElement()
protected EList<XSDDiagnostic> diagnostics
Diagnostics
' containment reference list.
getDiagnostics()
protected static final int FATAL
protected static final int ERROR
protected static final int WARNING
protected static final int INFORMATION
protected boolean updatingDOM
protected boolean isReconciling
protected boolean forceResolve
protected EList<XSDConcreteComponent> xsdContents
protected final int UNANALYZED
protected final int ANALYZING
protected final int ANALYZED
protected final int CIRCULAR
Constructor Detail |
---|
protected XSDConcreteComponentImpl()
Method Detail |
---|
protected EClass eStaticClass()
eStaticClass
in class EObjectImpl
protected XSDFactory getXSDFactory()
protected XSDPackage getXSDPackage()
public EList<XSDConcreteComponent> getXSDContents()
protected EList<XSDConcreteComponentImpl> getXSDConcreteComponentImpls()
public void reset()
protected final org.w3c.dom.Element createElement(int nodeType)
public org.w3c.dom.Element createElement()
public void updateElement(boolean deep)
XSDConcreteComponent
element
both exists and is up-to-date with respect to the model,
i.e., it serializes the component and maintains an association with that serialization.
For deep == true
,
or when getElement()
== null
,
this does the same thing as XSDConcreteComponent.updateElement()
;
otherwise, it updates just the DOM element associated with this component to reflect the current state.
updateElement
in interface XSDConcreteComponent
XSDConcreteComponent.updateElement()
,
XSDConcreteComponent.getElement()
public void updateElement()
XSDConcreteComponent
element
both exists and is up-to-date with respect to the model,
i.e., it serializes the component and maintains an association with that serialization.
updateElement
in interface XSDConcreteComponent
XSDConcreteComponent.updateElement(boolean)
,
XSDConcreteComponent.getElement()
protected void updatePrefix(org.w3c.dom.Node node, java.lang.String namespace, java.lang.String oldPrefix, java.lang.String newPrefix)
protected boolean isUpdatingDOM()
public void elementChanged(org.w3c.dom.Element changedElement)
XSDConcreteComponent
XSDConcreteComponent.getElement()
.
It is expected that clients will not call this themselves
since the DOM event listeners attached to the underlying DOM will invoke these automatically.
elementChanged
in interface XSDConcreteComponent
public void elementAttributesChanged(org.w3c.dom.Element changedElement)
XSDConcreteComponent
XSDConcreteComponent.getElement()
.
It is expected that clients will not call this themselves
since the DOM event listeners attached to the underlying DOM will invoke these automatically.
elementAttributesChanged
in interface XSDConcreteComponent
public void elementContentsChanged(org.w3c.dom.Element changedElement)
XSDConcreteComponent
XSDConcreteComponent.getElement()
.
It is expected that clients will not call this themselves
since the DOM event listeners attached to the underlying DOM will invoke these automatically.
elementContentsChanged
in interface XSDConcreteComponent
protected void traverseToRootForPatching()
protected void traverseToRootForAnalysis()
protected void patch()
protected boolean analyze()
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
XSDConcreteComponent.getDiagnostics()
,
XSDConcreteComponent.clearDiagnostics()
public void clearDiagnostics()
XSDConcreteComponent
diagnostics
associated with the component and all those it contains.
clearDiagnostics
in interface XSDConcreteComponent
XSDConcreteComponent.validate()
,
XSDConcreteComponent.getDiagnostics()
protected XSDDiagnostic reportConstraintViolation(java.lang.String part, java.lang.String anchor, org.w3c.dom.Element element, java.lang.String attributeName, java.lang.Object[] substitutions)
protected XSDDiagnostic checkElementComplexContent(java.lang.String elementName, java.lang.String part, java.lang.String anchor, org.w3c.dom.Element element)
protected void printDFA(XSDParticle.DFA dfa)
protected XSDDiagnostic checkComplexContent(java.lang.String builtInTypeName, java.lang.String part, java.lang.String anchor, org.w3c.dom.Element element)
protected XSDDiagnostic checkComplexContent(XSDComplexTypeDefinition xsdComplexTypeDefinition, java.lang.String part, java.lang.String anchor, org.w3c.dom.Element element)
protected XSDDiagnostic checkAttributeTypeConstraint(java.lang.String builtInTypeName, java.lang.String builtInAttributeName, java.lang.String value, java.lang.String part, java.lang.String anchor, org.w3c.dom.Element element, java.lang.String attributeName, boolean isRequired)
protected XSDDiagnostic checkAttributeTypeConstraint(XSDComplexTypeDefinition xsdComplexTypeDefinition, java.lang.String builtInAttributeName, java.lang.String value, java.lang.String part, java.lang.String anchor, org.w3c.dom.Element element, java.lang.String attributeName, boolean isRequired)
protected XSDDiagnostic checkBuiltInTypeConstraint(java.lang.String builtInTypeName, java.lang.String value, java.lang.String part, java.lang.String anchor, org.w3c.dom.Element element, java.lang.String attributeName, boolean isRequired)
protected XSDDiagnostic checkSimpleTypeConstraint(XSDSimpleTypeDefinition xsdTypeDefinition, java.lang.String value, java.lang.String part, java.lang.String anchor, org.w3c.dom.Element element, java.lang.String attributeName, boolean isRequired)
protected java.util.Collection<XSDDiagnostic> checkAttributes(java.lang.String part, java.lang.String anchor, org.w3c.dom.Element element, java.lang.String[] allowedAttributeNames)
protected XSDDiagnostic createRequiredAttributeDiagnostic(java.lang.String part, java.lang.String anchor, org.w3c.dom.Element element, java.lang.String attributeName)
protected XSDConcreteComponentImpl getDiagnosticTarget(XSDConcreteComponent xsdConcreteComponent)
protected XSDDiagnostic createDiagnostic(XSDDiagnosticSeverity severity, java.lang.String key)
protected XSDDiagnostic createDiagnostic(XSDDiagnosticSeverity severity, java.lang.String key, java.lang.Object s1)
protected XSDDiagnostic createDiagnostic(XSDDiagnosticSeverity severity, java.lang.String key, java.lang.Object s1, java.lang.Object s2)
protected XSDDiagnostic createDiagnostic(XSDDiagnosticSeverity severity, java.lang.String key, java.lang.Object s1, java.lang.Object s2, java.lang.Object s3)
protected static java.lang.String populateDiagnostic(XSDDiagnostic xsdDiagnostic, java.lang.String key, java.lang.Object[] substitutions)
protected void reconcile(org.w3c.dom.Element changedElement)
protected void reconcileAttributes(org.w3c.dom.Element changedElement)
protected java.util.Collection<org.w3c.dom.Element> getContentNodes(org.w3c.dom.Element changedElement)
protected void reconcileContents(org.w3c.dom.Element changedElement)
protected void handleUnreconciledElement(org.w3c.dom.Element child, java.util.List<XSDConcreteComponent> newContents, java.util.List<XSDConcreteComponent> remainingContents)
protected void handleReconciliation(java.util.List<XSDConcreteComponent> newContents, java.util.List<XSDConcreteComponent> remainingContents)
protected void handleAnnotationReconciliation(EReference eReference, java.util.List<XSDConcreteComponent> newContents, java.util.List<XSDConcreteComponent> remainingContents)
public void eNotify(Notification msg)
eNotify
in interface Notifier
eNotify
in class BasicNotifierImpl
protected void changeAttribute(EAttribute eAttribute)
protected void changeReference(EReference eReference)
protected org.w3c.dom.Node getAdoptionParentNode(EReference eReference)
protected void handleElementForAdopt(EReference eReference, XSDConcreteComponent xsdConcreteComponent)
protected void adoptContent(EReference eReference, XSDConcreteComponent xsdConcreteComponent)
protected void adoptBy(XSDSchema xsdSchema)
protected void adoptDiagnostic(XSDDiagnostic xsdDiagnostic)
protected void orphanContent(EReference eReference, XSDConcreteComponent xsdConcreteComponent)
protected void orphanBy(XSDSchema xsdSchema)
protected void orphanDiagnostic(XSDDiagnostic xsdDiagnostic)
public void moveContent(EReference eReference, XSDConcreteComponent xsdConcreteComponent)
public void niceInsertBefore(org.w3c.dom.Node parent, org.w3c.dom.Node newChild, org.w3c.dom.Node referenceChild)
public void forceNiceInsertBefore(org.w3c.dom.Node parent, org.w3c.dom.Node newChild, org.w3c.dom.Node referenceChild)
public void niceRemoveChild(org.w3c.dom.Node parent, org.w3c.dom.Node child)
public void forceNiceRemoveChild(org.w3c.dom.Node parent, org.w3c.dom.Node child)
public void forceReplace(org.w3c.dom.Element replacementElement, org.w3c.dom.Element referenceElement)
public void forceEngulf(org.w3c.dom.Element newElement, org.w3c.dom.Element engulfingElement, org.w3c.dom.Element referenceElement, org.w3c.dom.Node referenceChild)
public void forceEngulf(org.w3c.dom.Node firstAdoptee, org.w3c.dom.Element engulfingElement, org.w3c.dom.Node referenceChild)
protected void niceSetAttribute(org.w3c.dom.Element element, java.lang.String attribute, java.lang.String value)
protected java.lang.String niceCreateNamespaceAttribute(java.lang.String namespace)
protected void niceSetAttributeURIValue(org.w3c.dom.Element element, java.lang.String attribute, java.lang.String uriList)
public XSDConcreteComponent getContainer()
XSDConcreteComponent
This represents the concrete container of this component, i.e., the inverse of the black diamond relations in the UML model.
getContainer
in interface XSDConcreteComponent
XSDPackage.getXSDConcreteComponent_Container()
public XSDConcreteComponent getRootContainer()
XSDConcreteComponent
This walks the containers
until it hits one that has no container.
getRootContainer
in interface XSDConcreteComponent
XSDPackage.getXSDConcreteComponent_RootContainer()
public boolean contains(XSDConcreteComponent xsdConcreteComponent)
XSDConcreteComponent
contains
in interface XSDConcreteComponent
xsdConcreteComponent
- a component.
public XSDSchema getSchema()
XSDConcreteComponent
This walks the containers
until it reaches a schema.
getSchema
in interface XSDConcreteComponent
XSDPackage.getXSDConcreteComponent_Schema()
public EList<XSDDiagnostic> getDiagnostics()
getDiagnostics
in interface XSDConcreteComponent
XSDPackage.getXSDConcreteComponent_Diagnostics()
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
eInverseRemove
in class BasicEObjectImpl
public java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in interface InternalEObject
eGet
in class BasicEObjectImpl
public void eSet(int featureID, java.lang.Object newValue)
eSet
in interface InternalEObject
eSet
in class BasicEObjectImpl
public void eUnset(int featureID)
eUnset
in interface InternalEObject
eUnset
in class BasicEObjectImpl
public boolean eIsSet(int featureID)
eIsSet
in interface InternalEObject
eIsSet
in class BasicEObjectImpl
public java.lang.String toString()
toString
in class BasicEObjectImpl
public XSDConcreteComponent getBestConcreteComponent(java.util.List<org.w3c.dom.Element> elementPath)
protected boolean considerAllContainsForBestConcreteComponent()
public static <T> void setListContentAndOrder(EList<T> targetList, java.util.List<? extends T> prototypeList)
protected java.lang.String getURIReferenceLabel()
public java.lang.String eURIFragmentSegment(EStructuralFeature eStructuralFeature, EObject eObject)
eURIFragmentSegment
in interface InternalEObject
eURIFragmentSegment
in class BasicEObjectImpl
public EObject eObjectForURIFragmentSegment(java.lang.String uriFragmentSegment)
eObjectForURIFragmentSegment
in interface InternalEObject
eObjectForURIFragmentSegment
in class BasicEObjectImpl
public XSDTypeDefinition resolveTypeDefinitionURI(java.lang.String uri)
XSDConcreteComponent
URI
.
An unresolved instance is synthesized to hold the namespace and name if an existing instance cannot be found.
resolveTypeDefinitionURI
in interface XSDConcreteComponent
uri
- the URI to resolve.
XSDConcreteComponent.resolveTypeDefinition(java.lang.String, java.lang.String)
,
XSDConcreteComponent.resolveTypeDefinition(java.lang.String)
,
XSDNamedComponent.getURI()
public XSDTypeDefinition resolveTypeDefinition(java.lang.String localName)
XSDConcreteComponent
name
within the schema
.
An unresolved instance is synthesized to hold the namespace and name if an existing instance cannot be found.
resolveTypeDefinition
in interface XSDConcreteComponent
localName
- the name to resolve.
XSDConcreteComponent.getSchema()
,
XSDSchema.getTargetNamespace()
,
XSDConcreteComponent.resolveTypeDefinitionURI(java.lang.String)
,
XSDConcreteComponent.resolveTypeDefinition(java.lang.String, java.lang.String)
,
XSDNamedComponent.getName()
public XSDTypeDefinition resolveTypeDefinition(java.lang.String namespace, java.lang.String localName)
XSDConcreteComponent
namespace
and name
.
An unresolved instance is synthesized to hold the namespace and name if an existing instance cannot be found.
resolveTypeDefinition
in interface XSDConcreteComponent
namespace
- the namespace to resolve.localName
- the name to resolve.
XSDConcreteComponent.resolveTypeDefinitionURI(java.lang.String)
,
XSDConcreteComponent.resolveTypeDefinition(java.lang.String)
,
XSDNamedComponent.getTargetNamespace()
,
XSDNamedComponent.getName()
protected XSDTypeDefinition createUnresolvedTypeDefinition(java.lang.String namespace, java.lang.String localName)
public XSDSimpleTypeDefinition resolveSimpleTypeDefinitionURI(java.lang.String uri)
XSDConcreteComponent
URI
.
An unresolved instance is synthesized to hold the namespace and name if an existing instance cannot be found.
resolveSimpleTypeDefinitionURI
in interface XSDConcreteComponent
uri
- the URI to resolve.
XSDConcreteComponent.resolveSimpleTypeDefinition(java.lang.String, java.lang.String)
,
XSDConcreteComponent.resolveSimpleTypeDefinition(java.lang.String)
,
XSDNamedComponent.getURI()
public XSDSimpleTypeDefinition resolveSimpleTypeDefinition(java.lang.String localName)
XSDConcreteComponent
name
within the schema
.
An unresolved instance is synthesized to hold the namespace and name if an existing instance cannot be found.
resolveSimpleTypeDefinition
in interface XSDConcreteComponent
localName
- the name to resolve.
XSDConcreteComponent.getSchema()
,
XSDSchema.getTargetNamespace()
,
XSDConcreteComponent.resolveSimpleTypeDefinitionURI(java.lang.String)
,
XSDConcreteComponent.resolveSimpleTypeDefinition(java.lang.String, java.lang.String)
,
XSDNamedComponent.getName()
public XSDSimpleTypeDefinition resolveSimpleTypeDefinition(java.lang.String namespace, java.lang.String localName)
XSDConcreteComponent
namespace
and name
.
An unresolved instance is synthesized to hold the namespace and name if an existing instance cannot be found.
resolveSimpleTypeDefinition
in interface XSDConcreteComponent
namespace
- the namespace to resolve.localName
- the name to resolve.
XSDConcreteComponent.resolveSimpleTypeDefinitionURI(java.lang.String)
,
XSDConcreteComponent.resolveSimpleTypeDefinition(java.lang.String)
,
XSDNamedComponent.getTargetNamespace()
,
XSDNamedComponent.getName()
protected XSDSimpleTypeDefinition createUnresolvedSimpleTypeDefinition(java.lang.String namespace, java.lang.String localName)
public XSDComplexTypeDefinition resolveComplexTypeDefinitionURI(java.lang.String uri)
XSDConcreteComponent
URI
.
An unresolved instance is synthesized to hold the namespace and name if an existing instance cannot be found.
resolveComplexTypeDefinitionURI
in interface XSDConcreteComponent
uri
- the URI to resolve.
XSDConcreteComponent.resolveComplexTypeDefinition(java.lang.String, java.lang.String)
,
XSDConcreteComponent.resolveComplexTypeDefinition(java.lang.String)
,
XSDNamedComponent.getURI()
public XSDComplexTypeDefinition resolveComplexTypeDefinition(java.lang.String localName)
XSDConcreteComponent
name
within the schema
.
An unresolved instance is synthesized to hold the namespace and name if an existing instance cannot be found.
resolveComplexTypeDefinition
in interface XSDConcreteComponent
localName
- the name to resolve.
XSDConcreteComponent.getSchema()
,
XSDSchema.getTargetNamespace()
,
XSDConcreteComponent.resolveComplexTypeDefinitionURI(java.lang.String)
,
XSDConcreteComponent.resolveComplexTypeDefinition(java.lang.String, java.lang.String)
,
XSDNamedComponent.getName()
public XSDComplexTypeDefinition resolveComplexTypeDefinition(java.lang.String namespace, java.lang.String localName)
XSDConcreteComponent
namespace
and name
.
An unresolved instance is synthesized to hold the namespace and name if an existing instance cannot be found.
resolveComplexTypeDefinition
in interface XSDConcreteComponent
namespace
- the namespace to resolve.localName
- the name to resolve.
XSDConcreteComponent.resolveComplexTypeDefinitionURI(java.lang.String)
,
XSDConcreteComponent.resolveComplexTypeDefinition(java.lang.String)
,
XSDNamedComponent.getTargetNamespace()
,
XSDNamedComponent.getName()
protected XSDComplexTypeDefinition createUnresolvedComplexTypeDefinition(java.lang.String namespace, java.lang.String localName)
public XSDAttributeDeclaration resolveAttributeDeclarationURI(java.lang.String uri)
XSDConcreteComponent
URI
.
An unresolved instance is synthesized to hold the namespace and name if an existing instance cannot be found.
resolveAttributeDeclarationURI
in interface XSDConcreteComponent
uri
- the URI to resolve.
XSDConcreteComponent.resolveAttributeDeclaration(java.lang.String, java.lang.String)
,
XSDConcreteComponent.resolveAttributeDeclaration(java.lang.String)
,
XSDNamedComponent.getURI()
public XSDAttributeDeclaration resolveAttributeDeclaration(java.lang.String localName)
XSDConcreteComponent
name
within the schema
.
An unresolved instance is synthesized to hold the namespace and name if an existing instance cannot be found.
resolveAttributeDeclaration
in interface XSDConcreteComponent
localName
- the name to resolve.
XSDConcreteComponent.getSchema()
,
XSDSchema.getTargetNamespace()
,
XSDConcreteComponent.resolveAttributeDeclarationURI(java.lang.String)
,
XSDConcreteComponent.resolveAttributeDeclaration(java.lang.String, java.lang.String)
,
XSDNamedComponent.getName()
public XSDAttributeDeclaration resolveAttributeDeclaration(java.lang.String namespace, java.lang.String localName)
XSDConcreteComponent
namespace
and name
.
An unresolved instance is synthesized to hold the namespace and name if an existing instance cannot be found.
resolveAttributeDeclaration
in interface XSDConcreteComponent
namespace
- the namespace to resolve.localName
- the name to resolve.
XSDConcreteComponent.resolveAttributeDeclarationURI(java.lang.String)
,
XSDConcreteComponent.resolveAttributeDeclaration(java.lang.String)
,
XSDNamedComponent.getTargetNamespace()
,
XSDNamedComponent.getName()
protected XSDAttributeDeclaration createUnresolvedAttributeDeclaration(java.lang.String namespace, java.lang.String localName)
public XSDElementDeclaration resolveElementDeclarationURI(java.lang.String uri)
XSDConcreteComponent
URI
.
An unresolved instance is synthesized to hold the namespace and name if an existing instance cannot be found.
resolveElementDeclarationURI
in interface XSDConcreteComponent
uri
- the URI to resolve.
XSDConcreteComponent.resolveElementDeclaration(java.lang.String, java.lang.String)
,
XSDConcreteComponent.resolveElementDeclaration(java.lang.String)
,
XSDNamedComponent.getURI()
public XSDElementDeclaration resolveElementDeclaration(java.lang.String localName)
XSDConcreteComponent
name
within the schema
.
An unresolved instance is synthesized to hold the namespace and name if an existing instance cannot be found.
resolveElementDeclaration
in interface XSDConcreteComponent
localName
- the name to resolve.
XSDConcreteComponent.getSchema()
,
XSDSchema.getTargetNamespace()
,
XSDConcreteComponent.resolveElementDeclarationURI(java.lang.String)
,
XSDConcreteComponent.resolveElementDeclaration(java.lang.String, java.lang.String)
,
XSDNamedComponent.getName()
public XSDElementDeclaration resolveElementDeclaration(java.lang.String namespace, java.lang.String localName)
XSDConcreteComponent
namespace
and name
.
An unresolved instance is synthesized to hold the namespace and name if an existing instance cannot be found.
resolveElementDeclaration
in interface XSDConcreteComponent
namespace
- the namespace to resolve.localName
- the name to resolve.
XSDConcreteComponent.resolveElementDeclarationURI(java.lang.String)
,
XSDConcreteComponent.resolveElementDeclaration(java.lang.String)
,
XSDNamedComponent.getTargetNamespace()
,
XSDNamedComponent.getName()
protected XSDElementDeclaration createUnresolvedElementDeclaration(java.lang.String namespace, java.lang.String localName)
public XSDAttributeGroupDefinition resolveAttributeGroupDefinitionURI(java.lang.String uri)
XSDConcreteComponent
URI
.
An unresolved instance is synthesized to hold the namespace and name if an existing instance cannot be found.
resolveAttributeGroupDefinitionURI
in interface XSDConcreteComponent
uri
- the URI to resolve.
XSDConcreteComponent.resolveAttributeGroupDefinition(java.lang.String, java.lang.String)
,
XSDConcreteComponent.resolveAttributeGroupDefinition(java.lang.String)
,
XSDNamedComponent.getURI()
public XSDAttributeGroupDefinition resolveAttributeGroupDefinition(java.lang.String localName)
XSDConcreteComponent
name
within the schema
.
An unresolved instance is synthesized to hold the namespace and name if an existing instance cannot be found.
resolveAttributeGroupDefinition
in interface XSDConcreteComponent
localName
- the name to resolve.
XSDConcreteComponent.getSchema()
,
XSDSchema.getTargetNamespace()
,
XSDConcreteComponent.resolveAttributeGroupDefinitionURI(java.lang.String)
,
XSDConcreteComponent.resolveAttributeGroupDefinition(java.lang.String, java.lang.String)
,
XSDNamedComponent.getName()
public XSDAttributeGroupDefinition resolveAttributeGroupDefinition(java.lang.String namespace, java.lang.String localName)
XSDConcreteComponent
namespace
and name
.
An unresolved instance is synthesized to hold the namespace and name if an existing instance cannot be found.
resolveAttributeGroupDefinition
in interface XSDConcreteComponent
namespace
- the namespace to resolve.localName
- the name to resolve.
XSDConcreteComponent.resolveAttributeGroupDefinitionURI(java.lang.String)
,
XSDConcreteComponent.resolveAttributeGroupDefinition(java.lang.String)
,
XSDNamedComponent.getTargetNamespace()
,
XSDNamedComponent.getName()
protected XSDAttributeGroupDefinition createUnresolvedAttributeGroupDefinition(java.lang.String namespace, java.lang.String localName)
public XSDModelGroupDefinition resolveModelGroupDefinitionURI(java.lang.String uri)
XSDConcreteComponent
URI
.
An unresolved instance is synthesized to hold the namespace and name if an existing instance cannot be found.
resolveModelGroupDefinitionURI
in interface XSDConcreteComponent
uri
- the URI to resolve.
XSDConcreteComponent.resolveModelGroupDefinition(java.lang.String, java.lang.String)
,
XSDConcreteComponent.resolveModelGroupDefinition(java.lang.String)
,
XSDNamedComponent.getURI()
public XSDModelGroupDefinition resolveModelGroupDefinition(java.lang.String localName)
XSDConcreteComponent
name
within the schema
.
An unresolved instance is synthesized to hold the namespace and name if an existing instance cannot be found.
resolveModelGroupDefinition
in interface XSDConcreteComponent
localName
- the name to resolve.
XSDConcreteComponent.getSchema()
,
XSDSchema.getTargetNamespace()
,
XSDConcreteComponent.resolveModelGroupDefinitionURI(java.lang.String)
,
XSDConcreteComponent.resolveModelGroupDefinition(java.lang.String, java.lang.String)
,
XSDNamedComponent.getName()
public XSDModelGroupDefinition resolveModelGroupDefinition(java.lang.String namespace, java.lang.String localName)
XSDConcreteComponent
namespace
and name
.
An unresolved instance is synthesized to hold the namespace and name if an existing instance cannot be found.
resolveModelGroupDefinition
in interface XSDConcreteComponent
namespace
- the namespace to resolve.localName
- the name to resolve.
XSDConcreteComponent.resolveModelGroupDefinitionURI(java.lang.String)
,
XSDConcreteComponent.resolveModelGroupDefinition(java.lang.String)
,
XSDNamedComponent.getTargetNamespace()
,
XSDNamedComponent.getName()
protected XSDModelGroupDefinition createUnresolvedModelGroupDefinition(java.lang.String namespace, java.lang.String localName)
public XSDIdentityConstraintDefinition resolveIdentityConstraintDefinitionURI(java.lang.String uri)
XSDConcreteComponent
URI
.
An unresolved instance is synthesized to hold the namespace and name if an existing instance cannot be found.
resolveIdentityConstraintDefinitionURI
in interface XSDConcreteComponent
uri
- the URI to resolve.
XSDConcreteComponent.resolveIdentityConstraintDefinition(java.lang.String, java.lang.String)
,
XSDConcreteComponent.resolveIdentityConstraintDefinition(java.lang.String)
,
XSDNamedComponent.getURI()
public XSDIdentityConstraintDefinition resolveIdentityConstraintDefinition(java.lang.String localName)
XSDConcreteComponent
name
within the schema
.
An unresolved instance is synthesized to hold the namespace and name if an existing instance cannot be found.
resolveIdentityConstraintDefinition
in interface XSDConcreteComponent
localName
- the name to resolve.
XSDConcreteComponent.getSchema()
,
XSDSchema.getTargetNamespace()
,
XSDConcreteComponent.resolveIdentityConstraintDefinitionURI(java.lang.String)
,
XSDConcreteComponent.resolveIdentityConstraintDefinition(java.lang.String, java.lang.String)
,
XSDNamedComponent.getName()
public XSDIdentityConstraintDefinition resolveIdentityConstraintDefinition(java.lang.String namespace, java.lang.String localName)
XSDConcreteComponent
namespace
and name
.
An unresolved instance is synthesized to hold the namespace and name if an existing instance cannot be found.
resolveIdentityConstraintDefinition
in interface XSDConcreteComponent
namespace
- the namespace to resolve.localName
- the name to resolve.
XSDConcreteComponent.resolveIdentityConstraintDefinitionURI(java.lang.String)
,
XSDConcreteComponent.resolveIdentityConstraintDefinition(java.lang.String)
,
XSDNamedComponent.getTargetNamespace()
,
XSDNamedComponent.getName()
protected XSDIdentityConstraintDefinition createUnresolvedIdentityConstraintDefinition(java.lang.String namespace, java.lang.String localName)
public XSDNotationDeclaration resolveNotationDeclarationURI(java.lang.String uri)
XSDConcreteComponent
URI
.
An unresolved instance is synthesized to hold the namespace and name if an existing instance cannot be found.
resolveNotationDeclarationURI
in interface XSDConcreteComponent
uri
- the URI to resolve.
XSDConcreteComponent.resolveNotationDeclaration(java.lang.String, java.lang.String)
,
XSDConcreteComponent.resolveNotationDeclaration(java.lang.String)
,
XSDNamedComponent.getURI()
public XSDNotationDeclaration resolveNotationDeclaration(java.lang.String localName)
XSDConcreteComponent
name
within the schema
.
An unresolved instance is synthesized to hold the namespace and name if an existing instance cannot be found.
resolveNotationDeclaration
in interface XSDConcreteComponent
localName
- the name to resolve.
XSDConcreteComponent.getSchema()
,
XSDSchema.getTargetNamespace()
,
XSDConcreteComponent.resolveNotationDeclarationURI(java.lang.String)
,
XSDConcreteComponent.resolveNotationDeclaration(java.lang.String, java.lang.String)
,
XSDNamedComponent.getName()
public XSDNotationDeclaration resolveNotationDeclaration(java.lang.String namespace, java.lang.String localName)
XSDConcreteComponent
namespace
and name
.
An unresolved instance is synthesized to hold the namespace and name if an existing instance cannot be found.
resolveNotationDeclaration
in interface XSDConcreteComponent
namespace
- the namespace to resolve.localName
- the name to resolve.
XSDConcreteComponent.resolveNotationDeclarationURI(java.lang.String)
,
XSDConcreteComponent.resolveNotationDeclaration(java.lang.String)
,
XSDNamedComponent.getTargetNamespace()
,
XSDNamedComponent.getName()
protected XSDNotationDeclaration createUnresolvedNotationDeclaration(java.lang.String namespace, java.lang.String localName)
public java.util.Collection<XSDConcreteComponent> getComponentsWithApplicationInformation(java.lang.String sourceURI)
XSDConcreteComponent
annotation
containing an appinfo
with given source URI.
getComponentsWithApplicationInformation
in interface XSDConcreteComponent
sourceURI
- the source URI to match.
XSDAnnotation.getApplicationInformationSources()
public java.util.Collection<XSDConcreteComponent> getComponentsWithUserInformation(java.lang.String sourceURI)
XSDConcreteComponent
annotation
containing a documentation
with given source URI.
getComponentsWithUserInformation
in interface XSDConcreteComponent
sourceURI
- the source URI to match.
XSDAnnotation.getApplicationInformationSources()
protected void getComponentsWithInformation(java.util.Collection<XSDConcreteComponent> result, int nodeType, java.lang.String sourceURI)
public org.w3c.dom.Element getElement()
getElement
in interface XSDConcreteComponent
XSDConcreteComponent.setElement(Element)
,
XSDPackage.getXSDConcreteComponent_Element()
public void setElementGen(org.w3c.dom.Element newElement)
public void setElement(org.w3c.dom.Element element)
XSDConcreteComponent
Element
' attribute.
setElement
in interface XSDConcreteComponent
element
- the new value of the 'Element' attribute.XSDConcreteComponent.getElement()
public XSDConcreteComponent cloneConcreteComponent(boolean deep, boolean shareDOM)
XSDConcreteComponent
cloneConcreteComponent
in interface XSDConcreteComponent
deep
- whether the clone should be deep.shareDOM
- whether the clone should share the original DOM
protected static <T extends XSDConcreteComponent> java.util.List<T> cloneConcreteComponents(java.util.List<T> xsdConcreteComponents, boolean deep, boolean shareDOM)
public boolean eNotificationRequired()
eNotificationRequired
in interface InternalEObject
eNotificationRequired
in class BasicNotifierImpl
|
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 |