|
|||||||||||
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
An implementation of the model object 'Concrete Component'.
The following features are implemented:
Nested Class Summary | |
static class |
XSDConcreteComponentImpl.XSDContentsEList
|
Nested classes inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl |
BasicEObjectImpl.EPropertiesHolder, BasicEObjectImpl.EPropertiesHolderBaseImpl, BasicEObjectImpl.EPropertiesHolderImpl |
Nested classes inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl |
BasicNotifierImpl.EAdapterList |
Nested classes inherited from class org.eclipse.emf.ecore.InternalEObject |
InternalEObject.EStore |
Field Summary | |
protected int |
ANALYZED
|
protected int |
ANALYZING
|
protected int |
CIRCULAR
|
protected EList |
diagnostics
The cached value of the ' Diagnostics ' containment reference list |
protected Element |
element
The cached value of the ' Element ' attribute |
protected static 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 |
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 Collection |
checkAttributes(String part,
String anchor,
Element element,
String[] allowedAttributeNames)
|
protected XSDDiagnostic |
checkAttributeTypeConstraint(String builtInTypeName,
String builtInAttributeName,
String value,
String part,
String anchor,
Element element,
String attributeName,
boolean isRequired)
|
protected XSDDiagnostic |
checkAttributeTypeConstraint(XSDComplexTypeDefinition xsdComplexTypeDefinition,
String builtInAttributeName,
String value,
String part,
String anchor,
Element element,
String attributeName,
boolean isRequired)
|
protected XSDDiagnostic |
checkBuiltInTypeConstraint(String builtInTypeName,
String value,
String part,
String anchor,
Element element,
String attributeName,
boolean isRequired)
|
protected XSDDiagnostic |
checkComplexContent(String builtInTypeName,
String part,
String anchor,
Element element)
|
protected XSDDiagnostic |
checkComplexContent(XSDComplexTypeDefinition xsdComplexTypeDefinition,
String part,
String anchor,
Element element)
|
protected XSDDiagnostic |
checkElementComplexContent(String elementName,
String part,
String anchor,
Element element)
|
protected XSDDiagnostic |
checkSimpleTypeConstraint(XSDSimpleTypeDefinition xsdTypeDefinition,
String value,
String part,
String anchor,
Element element,
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 List |
cloneConcreteComponents(List 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,
String key)
|
protected XSDDiagnostic |
createDiagnostic(XSDDiagnosticSeverity severity,
String key,
Object s1)
|
protected XSDDiagnostic |
createDiagnostic(XSDDiagnosticSeverity severity,
String key,
Object s1,
Object s2)
|
protected XSDDiagnostic |
createDiagnostic(XSDDiagnosticSeverity severity,
String key,
Object s1,
Object s2,
Object s3)
|
Element |
createElement()
|
protected Element |
createElement(int nodeType)
|
protected XSDDiagnostic |
createRequiredAttributeDiagnostic(String part,
String anchor,
Element element,
String attributeName)
|
protected XSDAttributeDeclaration |
createUnresolvedAttributeDeclaration(String namespace,
String localName)
|
protected XSDAttributeGroupDefinition |
createUnresolvedAttributeGroupDefinition(String namespace,
String localName)
|
protected XSDComplexTypeDefinition |
createUnresolvedComplexTypeDefinition(String namespace,
String localName)
|
protected XSDElementDeclaration |
createUnresolvedElementDeclaration(String namespace,
String localName)
|
protected XSDIdentityConstraintDefinition |
createUnresolvedIdentityConstraintDefinition(String namespace,
String localName)
|
protected XSDModelGroupDefinition |
createUnresolvedModelGroupDefinition(String namespace,
String localName)
|
protected XSDNotationDeclaration |
createUnresolvedNotationDeclaration(String namespace,
String localName)
|
protected XSDSimpleTypeDefinition |
createUnresolvedSimpleTypeDefinition(String namespace,
String localName)
|
protected XSDTypeDefinition |
createUnresolvedTypeDefinition(String namespace,
String localName)
|
Object |
eGet(int featureID,
boolean resolve,
boolean coreType)
|
NotificationChain |
eInverseRemove(InternalEObject otherEnd,
int featureID,
NotificationChain msgs)
|
boolean |
eIsSet(int featureID)
|
void |
elementAttributesChanged(Element changedElement)
Called to indicate that the given element has changed attributes; the element should typically be the same as the one returned getElement() .
|
void |
elementChanged(Element changedElement)
Called to indicate that the given element has changed; the element should typically be the same as the one returned getElement() .
|
void |
elementContentsChanged(Element changedElement)
Called to indicate that the given element has changed contents; the element should typically be the same as the one returned getElement() .
|
boolean |
eNotificationRequired()
|
void |
eNotify(Notification msg)
|
EObject |
eObjectForURIFragmentSegment(String uriFragmentSegment)
|
void |
eSet(int featureID,
Object newValue)
|
protected EClass |
eStaticClass()
|
void |
eUnset(int featureID)
|
String |
eURIFragmentSegment(EStructuralFeature eStructuralFeature,
EObject eObject)
|
void |
forceEngulf(Element newElement,
Element engulfingElement,
Element referenceElement,
Node referenceChild)
|
void |
forceEngulf(Node firstAdoptee,
Element engulfingElement,
Node referenceChild)
|
void |
forceNiceInsertBefore(Node parent,
Node newChild,
Node referenceChild)
|
void |
forceNiceRemoveChild(Node parent,
Node child)
|
void |
forceReplace(Element replacementElement,
Element referenceElement)
|
protected Node |
getAdoptionParentNode(EReference eReference)
|
XSDConcreteComponent |
getBestConcreteComponent(List elementPath)
|
Collection |
getComponentsWithApplicationInformation(String sourceURI)
Returns the collection of components that have an annotation
containing an appinfo with given source URI. |
protected void |
getComponentsWithInformation(Collection result,
int nodeType,
String sourceURI)
|
Collection |
getComponentsWithUserInformation(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 Collection |
getContentNodes(Element changedElement)
|
EList |
getDiagnostics()
|
protected XSDConcreteComponentImpl |
getDiagnosticTarget(XSDConcreteComponent xsdConcreteComponent)
|
Element |
getElement()
|
XSDConcreteComponent |
getRootContainer()
Returns the value of the 'Root Container' reference |
XSDSchema |
getSchema()
Returns the value of the 'Schema' reference |
protected String |
getURIReferenceLabel()
|
EList |
getXSDContents()
|
protected XSDFactory |
getXSDFactory()
|
protected XSDPackage |
getXSDPackage()
|
protected void |
handleAnnotationReconciliation(EReference eReference,
List newContents,
List remainingContents)
|
protected void |
handleElementForAdopt(EReference eReference,
XSDConcreteComponent xsdConcreteComponent)
|
protected void |
handleReconciliation(List newContents,
List remainingContents)
|
protected void |
handleUnreconciledElement(Element child,
List newContents,
List remainingContents)
|
protected boolean |
isUpdatingDOM()
|
void |
moveContent(EReference eReference,
XSDConcreteComponent xsdConcreteComponent)
|
protected String |
niceCreateNamespaceAttribute(String namespace)
|
void |
niceInsertBefore(Node parent,
Node newChild,
Node referenceChild)
|
void |
niceRemoveChild(Node parent,
Node child)
|
protected void |
niceSetAttribute(Element element,
String attribute,
String value)
|
protected void |
niceSetAttributeURIValue(Element element,
String attribute,
String uriList)
|
protected void |
orphanBy(XSDSchema xsdSchema)
|
protected void |
orphanContent(EReference eReference,
XSDConcreteComponent xsdConcreteComponent)
|
protected void |
orphanDiagnostic(XSDDiagnostic xsdDiagnostic)
|
protected void |
patch()
|
protected static String |
populateDiagnostic(XSDDiagnostic xsdDiagnostic,
String key,
Object[] substitutions)
|
protected void |
printDFA(XSDParticle.DFA dfa)
|
protected void |
reconcile(Element changedElement)
|
protected void |
reconcileAttributes(Element changedElement)
|
protected void |
reconcileContents(Element changedElement)
|
protected XSDDiagnostic |
reportConstraintViolation(String part,
String anchor,
Element element,
String attributeName,
Object[] substitutions)
|
void |
reset()
|
XSDAttributeDeclaration |
resolveAttributeDeclaration(String localName)
Returns the resolved attribute declaration of the given name
within the schema .
|
XSDAttributeDeclaration |
resolveAttributeDeclaration(String namespace,
String localName)
Returns the resolved attribute declaration of the given namespace and name .
|
XSDAttributeDeclaration |
resolveAttributeDeclarationURI(String uri)
Returns the resolved attribute declaration of the given URI .
|
XSDAttributeGroupDefinition |
resolveAttributeGroupDefinition(String localName)
Returns the resolved attribute group definition of the given name
within the schema .
|
XSDAttributeGroupDefinition |
resolveAttributeGroupDefinition(String namespace,
String localName)
Returns the resolved attribute group definition the given namespace and name .
|
XSDAttributeGroupDefinition |
resolveAttributeGroupDefinitionURI(String uri)
Returns the resolved attribute group definition of the given URI .
|
XSDComplexTypeDefinition |
resolveComplexTypeDefinition(String localName)
Returns the resolved complex type definition of the given name
within the schema .
|
XSDComplexTypeDefinition |
resolveComplexTypeDefinition(String namespace,
String localName)
Returns the resolved complex type definition of the given namespace and name .
|
XSDComplexTypeDefinition |
resolveComplexTypeDefinitionURI(String uri)
Returns the resolved complex type definition of the given URI .
|
XSDElementDeclaration |
resolveElementDeclaration(String localName)
Returns the resolved element declaration of the given name
within the schema .
|
XSDElementDeclaration |
resolveElementDeclaration(String namespace,
String localName)
Returns the resolved element declaration of the given namespace and name .
|
XSDElementDeclaration |
resolveElementDeclarationURI(String uri)
Returns the resolved element declaration of the given URI .
|
XSDIdentityConstraintDefinition |
resolveIdentityConstraintDefinition(String localName)
Returns the resolved identity constraint definition of the given name
within the schema .
|
XSDIdentityConstraintDefinition |
resolveIdentityConstraintDefinition(String namespace,
String localName)
Returns the resolved identity constraint definition of the given namespace and name .
|
XSDIdentityConstraintDefinition |
resolveIdentityConstraintDefinitionURI(String uri)
Returns the resolved identity constraint definition of the given URI .
|
XSDModelGroupDefinition |
resolveModelGroupDefinition(String localName)
Returns the resolved model group definition of the given name
within the schema .
|
XSDModelGroupDefinition |
resolveModelGroupDefinition(String namespace,
String localName)
Returns the resolved model group definition of the given namespace and name .
|
XSDModelGroupDefinition |
resolveModelGroupDefinitionURI(String uri)
Returns the resolved model group definition of the given URI .
|
XSDNotationDeclaration |
resolveNotationDeclaration(String localName)
Returns the resolved notation declaration the given name
within the schema .
|
XSDNotationDeclaration |
resolveNotationDeclaration(String namespace,
String localName)
Returns the resolved notation declaration of the given namespace and name .
|
XSDNotationDeclaration |
resolveNotationDeclarationURI(String uri)
Returns the resolved notation declaration of the given URI .
|
XSDSimpleTypeDefinition |
resolveSimpleTypeDefinition(String localName)
Returns the resolved simple type definition of the given name
within the schema .
|
XSDSimpleTypeDefinition |
resolveSimpleTypeDefinition(String namespace,
String localName)
Returns the resolved simple type definition of the given namespace and name .
|
XSDSimpleTypeDefinition |
resolveSimpleTypeDefinitionURI(String uri)
Returns the resolved simple type definition of the given URI .
|
XSDTypeDefinition |
resolveTypeDefinition(String localName)
Returns the resolved type definition of the given name
within the schema .
|
XSDTypeDefinition |
resolveTypeDefinition(String namespace,
String localName)
Returns the resolved type definition of the given namespace and name .
|
XSDTypeDefinition |
resolveTypeDefinitionURI(String uri)
Returns the resolved type definition of the given URI .
|
void |
setElement(Element element)
Sets the value of the ' Element ' attribute |
void |
setElementGen(Element newElement)
|
static void |
setListContentAndOrder(EList targetList,
List prototypeList)
|
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(Node node,
String namespace,
String oldPrefix,
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 Element ELEMENT_EDEFAULT
Element
' attribute.
getElement()
protected Element element
Element
' attribute.
getElement()
protected EList 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 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()
protected XSDFactory getXSDFactory()
protected XSDPackage getXSDPackage()
public EList getXSDContents()
public void reset()
protected final Element createElement(int nodeType)
public 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(Node node, String namespace, String oldPrefix, String newPrefix)
protected boolean isUpdatingDOM()
public void elementChanged(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(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(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(String part, String anchor, Element element, String attributeName, Object[] substitutions)
protected XSDDiagnostic checkElementComplexContent(String elementName, String part, String anchor, Element element)
protected void printDFA(XSDParticle.DFA dfa)
protected XSDDiagnostic checkComplexContent(String builtInTypeName, String part, String anchor, Element element)
protected XSDDiagnostic checkComplexContent(XSDComplexTypeDefinition xsdComplexTypeDefinition, String part, String anchor, Element element)
protected XSDDiagnostic checkAttributeTypeConstraint(String builtInTypeName, String builtInAttributeName, String value, String part, String anchor, Element element, String attributeName, boolean isRequired)
protected XSDDiagnostic checkAttributeTypeConstraint(XSDComplexTypeDefinition xsdComplexTypeDefinition, String builtInAttributeName, String value, String part, String anchor, Element element, String attributeName, boolean isRequired)
protected XSDDiagnostic checkBuiltInTypeConstraint(String builtInTypeName, String value, String part, String anchor, Element element, String attributeName, boolean isRequired)
protected XSDDiagnostic checkSimpleTypeConstraint(XSDSimpleTypeDefinition xsdTypeDefinition, String value, String part, String anchor, Element element, String attributeName, boolean isRequired)
protected Collection checkAttributes(String part, String anchor, Element element, String[] allowedAttributeNames)
protected XSDDiagnostic createRequiredAttributeDiagnostic(String part, String anchor, Element element, String attributeName)
protected XSDConcreteComponentImpl getDiagnosticTarget(XSDConcreteComponent xsdConcreteComponent)
protected XSDDiagnostic createDiagnostic(XSDDiagnosticSeverity severity, String key)
protected XSDDiagnostic createDiagnostic(XSDDiagnosticSeverity severity, String key, Object s1)
protected XSDDiagnostic createDiagnostic(XSDDiagnosticSeverity severity, String key, Object s1, Object s2)
protected XSDDiagnostic createDiagnostic(XSDDiagnosticSeverity severity, String key, Object s1, Object s2, Object s3)
protected static String populateDiagnostic(XSDDiagnostic xsdDiagnostic, String key, Object[] substitutions)
protected void reconcile(Element changedElement)
protected void reconcileAttributes(Element changedElement)
protected Collection getContentNodes(Element changedElement)
protected void reconcileContents(Element changedElement)
protected void handleUnreconciledElement(Element child, List newContents, List remainingContents)
protected void handleReconciliation(List newContents, List remainingContents)
protected void handleAnnotationReconciliation(EReference eReference, List newContents, List remainingContents)
public void eNotify(Notification msg)
eNotify
in interface Notifier
protected void changeAttribute(EAttribute eAttribute)
protected void changeReference(EReference eReference)
protected 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(Node parent, Node newChild, Node referenceChild)
public void forceNiceInsertBefore(Node parent, Node newChild, Node referenceChild)
public void niceRemoveChild(Node parent, Node child)
public void forceNiceRemoveChild(Node parent, Node child)
public void forceReplace(Element replacementElement, Element referenceElement)
public void forceEngulf(Element newElement, Element engulfingElement, Element referenceElement, Node referenceChild)
public void forceEngulf(Node firstAdoptee, Element engulfingElement, Node referenceChild)
protected void niceSetAttribute(Element element, String attribute, String value)
protected String niceCreateNamespaceAttribute(String namespace)
protected void niceSetAttributeURIValue(Element element, String attribute, 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 getDiagnostics()
getDiagnostics
in interface XSDConcreteComponent
XSDPackage.getXSDConcreteComponent_Diagnostics()
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
public Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in interface InternalEObject
public void eSet(int featureID, Object newValue)
eSet
in interface InternalEObject
public void eUnset(int featureID)
eUnset
in interface InternalEObject
public boolean eIsSet(int featureID)
eIsSet
in interface InternalEObject
public String toString()
public XSDConcreteComponent getBestConcreteComponent(List elementPath)
protected boolean considerAllContainsForBestConcreteComponent()
public static void setListContentAndOrder(EList targetList, List prototypeList)
protected String getURIReferenceLabel()
public String eURIFragmentSegment(EStructuralFeature eStructuralFeature, EObject eObject)
eURIFragmentSegment
in interface InternalEObject
public EObject eObjectForURIFragmentSegment(String uriFragmentSegment)
eObjectForURIFragmentSegment
in interface InternalEObject
public XSDTypeDefinition resolveTypeDefinitionURI(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(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(String namespace, 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(String namespace, String localName)
public XSDSimpleTypeDefinition resolveSimpleTypeDefinitionURI(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(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(String namespace, 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(String namespace, String localName)
public XSDComplexTypeDefinition resolveComplexTypeDefinitionURI(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(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(String namespace, 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(String namespace, String localName)
public XSDAttributeDeclaration resolveAttributeDeclarationURI(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(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(String namespace, 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(String namespace, String localName)
public XSDElementDeclaration resolveElementDeclarationURI(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(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(String namespace, 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(String namespace, String localName)
public XSDAttributeGroupDefinition resolveAttributeGroupDefinitionURI(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(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(String namespace, 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(String namespace, String localName)
public XSDModelGroupDefinition resolveModelGroupDefinitionURI(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(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(String namespace, 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(String namespace, String localName)
public XSDIdentityConstraintDefinition resolveIdentityConstraintDefinitionURI(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(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(String namespace, 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(String namespace, String localName)
public XSDNotationDeclaration resolveNotationDeclarationURI(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(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(String namespace, 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(String namespace, String localName)
public Collection getComponentsWithApplicationInformation(String sourceURI)
XSDConcreteComponent
annotation
containing an appinfo
with given source URI.
getComponentsWithApplicationInformation
in interface XSDConcreteComponent
sourceURI
- the source URI to match.
XSDAnnotation.getApplicationInformationSources()
public Collection getComponentsWithUserInformation(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(Collection result, int nodeType, String sourceURI)
public Element getElement()
getElement
in interface XSDConcreteComponent
XSDConcreteComponent.setElement(Element)
,
XSDPackage.getXSDConcreteComponent_Element()
public void setElementGen(Element newElement)
public void setElement(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 List cloneConcreteComponents(List xsdConcreteComponents, boolean deep, boolean shareDOM)
public boolean eNotificationRequired()
eNotificationRequired
in interface InternalEObject
|
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 |