|
|||||||||
| PREV CLASS SOURCE NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--com.ibm.etools.emf.notify.impl.NotifierImpl
|
+--com.ibm.etools.emf.ref.impl.RefBaseObjectImpl
|
+--com.ibm.etools.emf.ref.impl.RefObjectImpl
|
+--com.ibm.etools.xsd.impl.XSDConcreteComponentImpl
| Field Summary | |
protected int |
ANALYZED
|
protected int |
ANALYZING
|
protected int |
CIRCULAR
|
static java.lang.String |
copyright
|
protected com.ibm.etools.emf.ref.EList |
diagnostics
The cached value of the ' Diagnostics' reference list. |
protected Element |
element
The cached value of the ' Element' attribute. |
protected static int |
ERROR
|
protected static int |
FATAL
|
protected static int |
INFORMATION
|
protected boolean |
isReconciling
|
protected XSDConcreteComponent |
owner
The cached value of the ' Owner' reference. |
protected XSDConcreteComponent |
rootOwner
The cached value of the ' Root Owner' reference. |
protected XSDSchema |
schema
The cached value of the ' Schema' reference. |
protected int |
UNANALYZED
|
protected boolean |
updatingDOM
|
protected static int |
WARNING
|
| Fields inherited from class com.ibm.etools.emf.ref.impl.RefObjectImpl |
refDelegateOwner |
| Fields inherited from class com.ibm.etools.emf.ref.impl.RefBaseObjectImpl |
helper |
| Fields inherited from class com.ibm.etools.emf.notify.impl.NotifierImpl |
debug, isOn, isOnAll |
| Fields inherited from interface com.ibm.etools.emf.notify.Notifier |
ADD, ADD_MANY, CREATE, MOVE, NO_INDEX, REMOVE, REMOVE_MANY, REMOVING_ADAPTER, SET, TOUCH, UNSET |
| Constructor Summary | |
protected |
XSDConcreteComponentImpl()
|
| Method Summary | |
protected void |
adoptBy(XSDSchema xsdSchema)
|
protected void |
adoptContent(com.ibm.etools.emf.ref.RefReference refReference,
XSDConcreteComponent xsdConcreteComponent)
|
protected void |
adoptDiagnostic(XSDDiagnostic xsdDiagnostic)
|
protected boolean |
analyze()
|
protected void |
changeAttribute(com.ibm.etools.emf.ref.RefAttribute refAttribute)
|
protected void |
changeReference(com.ibm.etools.emf.ref.RefReference refReference)
|
protected java.util.Collection |
checkAttributes(java.lang.String part,
java.lang.String anchor,
Element element,
java.lang.String[] attributeNames)
|
protected XSDDiagnostic |
checkBuiltInTypeConstraint(java.lang.String builtInTypeName,
java.lang.String value,
java.lang.String part,
java.lang.String anchor,
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,
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 java.util.List |
cloneConcreteComponents(java.util.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(int severity,
java.lang.String key,
java.lang.String s1)
|
protected XSDDiagnostic |
createDiagnostic(int severity,
java.lang.String key,
java.lang.String s1,
java.lang.String s2)
|
Element |
createElement()
|
protected Element |
createElement(int nodeType)
|
protected XSDDiagnostic |
createRequiredAttributeDiagnostic(java.lang.String part,
java.lang.String anchor,
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)
|
com.ibm.etools.emf.ecore.EClass |
eClassXSDConcreteComponent()
|
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(). |
XSDPackage |
ePackageXSD()
|
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(com.ibm.etools.emf.ref.RefReference refReference)
|
protected XSDConcreteComponent |
getBestConcreteComponent(java.util.List elementPath)
|
java.util.Collection |
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 result,
int nodeType,
java.lang.String sourceURI)
|
java.util.Collection |
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 |
getContentNodes(Element changedElement)
|
com.ibm.etools.emf.ref.EList |
getDiagnostics()
|
Element |
getElement()
|
XSDConcreteComponent |
getOwner()
Returns the value of the 'Owner' reference. |
XSDConcreteComponent |
getOwnerGen()
|
XSDConcreteComponent |
getRootContainer()
Returns the value of the 'Root Container' reference. |
XSDConcreteComponent |
getRootOwner()
|
XSDSchema |
getSchema()
Returns the value of the 'Schema' reference. |
protected java.lang.String |
getURIReferenceLabel()
|
java.lang.String |
getURIReferencePath()
Returns the value of the 'URI Reference Path' attribute. |
protected XSDFactory |
getXSDFactory()
|
protected XSDPackage |
getXSDPackage()
|
protected void |
handleAnnotationReconciliation(com.ibm.etools.emf.ref.RefReference refReference,
java.util.List newContents,
java.util.List remainingContents)
|
protected void |
handleElementForAdopt(com.ibm.etools.emf.ref.RefReference refReference,
XSDConcreteComponent xsdConcreteComponent)
|
protected void |
handleReconciliation(java.util.List newContents,
java.util.List remainingContents)
|
protected void |
handleUnreconciledElement(Element child,
java.util.List newContents,
java.util.List remainingContents)
|
com.ibm.etools.emf.ref.RefObject |
initInstance()
|
void |
internalNotify(com.ibm.etools.emf.notify.Notification msg)
|
boolean |
isSetElement()
|
boolean |
isSetOwner()
|
boolean |
isSetRootOwner()
|
boolean |
isSetSchema()
|
protected boolean |
isUpdatingDOM()
|
void |
moveContent(com.ibm.etools.emf.ref.RefReference refReference,
XSDConcreteComponent xsdConcreteComponent)
|
protected java.lang.String |
niceCreateNamespaceAttribute(java.lang.String namespace)
|
void |
niceInsertBefore(Node parent,
Node newChild,
Node referenceChild)
|
void |
niceRemoveChild(Node parent,
Node child)
|
protected void |
niceSetAttribute(Element element,
java.lang.String attribute,
java.lang.String value)
|
protected void |
niceSetAttributeURIValue(Element element,
java.lang.String attribute,
java.lang.String uriList)
|
protected void |
orphanBy(XSDSchema xsdSchema)
|
protected void |
orphanContent(com.ibm.etools.emf.ref.RefReference refReference,
XSDConcreteComponent xsdConcreteComponent)
|
protected void |
orphanDiagnostic(XSDDiagnostic xsdDiagnostic)
|
protected void |
patch()
|
protected void |
reconcile(Element changedElement)
|
protected void |
reconcileAttributes(Element changedElement)
|
protected void |
reconcileContents(Element changedElement)
|
com.ibm.etools.emf.notify.Notification |
refBasicSetValue(com.ibm.etools.emf.ref.RefStructuralFeature feature,
java.lang.Object newValue)
|
com.ibm.etools.emf.notify.Notification |
refBasicUnsetValue(com.ibm.etools.emf.ref.RefStructuralFeature feature)
|
java.lang.Object |
refBasicValue(com.ibm.etools.emf.ref.RefStructuralFeature feature)
|
boolean |
refIsSet(com.ibm.etools.emf.ref.RefStructuralFeature feature)
|
void |
refSetValue(com.ibm.etools.emf.ref.RefStructuralFeature feature,
java.lang.Object newValue)
|
void |
refUnsetValue(com.ibm.etools.emf.ref.RefStructuralFeature feature)
|
java.lang.Object |
refValue(com.ibm.etools.emf.ref.RefStructuralFeature feature)
|
protected XSDDiagnostic |
reportConstraintViolation(java.lang.String part,
java.lang.String anchor,
Element element,
java.lang.String attributeName,
java.lang.Object[] substitutions)
|
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(Element element)
Sets the value of the ' Element' attribute. |
void |
setElementGen(Element value)
|
static void |
setListContentAndOrder(com.ibm.etools.emf.ref.EList targetList,
java.util.List prototypeList)
|
void |
setOwner(XSDConcreteComponent value)
|
void |
setRootOwner(XSDConcreteComponent value)
|
void |
setSchema(XSDSchema value)
|
java.lang.String |
toString()
|
protected void |
traverseToRootForAnalysis()
|
protected void |
traverseToRootForPatching()
|
void |
unsetElement()
Unsets the value of the ' Element' attribute. |
void |
unsetElementGen()
|
void |
unsetOwner()
|
void |
unsetRootOwner()
|
void |
unsetSchema()
|
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. |
void |
validate()
Validates whether this component conforms to the constraints defined in the XML Schema standard. |
| Methods inherited from class com.ibm.etools.emf.ref.impl.RefObjectImpl |
getAdapter, initInstanceDelegates, newCollection, newCollection, newCollection, notify, notify, refAddValue, refAddValueAt, refAddValueBefore, refBasicContains, refBasicRemoveContent, refBasicRemoveValue, refBasicValues, refContainer, refContains, refCurrentValues, refDelegateOwner, refDelete, refGetDefaultValues, refIsDelegate, refModifyValue, refModifyValueAt, refRemoveContent, refRemoveValue, refRemoveValueAt, refResource, refSetDelegateOwner, refSetValueForContainMVReference, refSetValueForContainSVReference, refSetValueForEnumAttribute, refSetValueForMVReference, refSetValueForRefObjectSF, refSetValueForSimpleSF, refSetValueForSVReference, refUnsetValueForContainReference, refUnsetValueForMVReference, refUnsetValueForRefObjectSF, refUnsetValueForSimpleSF, refUnsetValueForSVReference |
| Methods inherited from class com.ibm.etools.emf.ref.impl.RefBaseObjectImpl |
getImplementationHelper, getRegisteredAdapterFactory, getResourceSet, initDelegates, metaObject, refAttributes, refBasicContainsExtent, refBasicSetContainer, refContainerExtent, refContainerSF, refContainments, refContainments, refContains, refContainsExtent, refContainsNested, refCreateProxy, refDefiningPackage, refExtent, refFindUnloadedObjectsContains, refGetProxyURI, refHref, refID, refImmediatePackage, refIsContainer, refIsDeleted, refIsProxy, refItself, refMetaObject, refMofId, refName, refOutermostPackage, refPackage, refReferences, refSetContainer, refSetContainer, refSetExtent, refSetID, refSetID, refSetIDContains, refSetMetaObject, refSetProxyURI, refSetUUID, refSetUUID, refSetUUID, resolve, resolve, resolved, resolveDelete |
| Methods inherited from class com.ibm.etools.emf.notify.impl.NotifierImpl |
addAdapter, ensureAdapterSpace, getAdapters, getExistingAdapter, isDelivery, isDeliveryAll, removeAdapter, removeAllAdapters, setDelivery, setDeliveryAll |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.ibm.etools.emf.ref.RefObject |
refAddValue, refAddValueAt, refAddValueBefore, refCurrentValues, refDelegateOwner, refGetDefaultValues, refModifyValue, refModifyValueAt, refRemoveValue, refRemoveValueAt, refSetDelegateOwner |
| Methods inherited from interface com.ibm.etools.emf.ref.RefBaseObject |
metaObject, refAttributes, refContainer, refContainerExtent, refContainerSF, refContainments, refContainments, refContains, refContains, refContainsExtent, refContainsNested, refDelete, refExtent, refID, refImmediatePackage, refIsContainer, refItself, refMetaObject, refMofId, refName, refOutermostPackage, refPackage, refReferences, refRemoveContent, refResource, refSetExtent, refSetID, refSetID, refSetIDContains, refSetMetaObject, refSetUUID, refSetUUID, refSetUUID |
| Methods inherited from interface com.ibm.etools.emf.notify.Notifier |
addAdapter, getAdapter, getAdapters, getExistingAdapter, isDelivery, isDeliveryAll, notify, notify, removeAdapter, removeAllAdapters, setDelivery, setDeliveryAll |
| Methods inherited from interface com.ibm.etools.emf.resource.ResourceSetReference |
getResourceSet |
| Methods inherited from interface com.ibm.etools.emf.ref.Internals |
refBasicContainsExtent, refBasicSetContainer, refSetContainer, refSetContainer |
| Field Detail |
public static final java.lang.String copyright
protected Element element
Element' attribute.
getElement()protected XSDConcreteComponent owner
Owner' reference.
getOwner()protected XSDConcreteComponent rootOwner
Root Owner' reference.
getRootOwner()protected XSDSchema schema
Schema' reference.
getSchema()protected com.ibm.etools.emf.ref.EList diagnostics
Diagnostics' 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 final int UNANALYZED
protected final int ANALYZING
protected final int ANALYZED
protected final int CIRCULAR
| Constructor Detail |
protected XSDConcreteComponentImpl()
| Method Detail |
public XSDPackage ePackageXSD()
ePackageXSD in interface XSDConcreteComponentcom.ibm.etools.xsd.XSDConcreteComponentXSDConcreteComponent.public com.ibm.etools.emf.ecore.EClass eClassXSDConcreteComponent()
eClassXSDConcreteComponent in interface XSDConcreteComponentcom.ibm.etools.xsd.XSDConcreteComponentXSDPackage.getXSDConcreteComponent(),
XSDConcreteComponent.ePackageXSD()public com.ibm.etools.emf.ref.RefObject initInstance()
initInstance in interface com.ibm.etools.emf.ref.RefObjectinitInstance in class com.ibm.etools.emf.ref.impl.RefObjectImplprotected XSDFactory getXSDFactory()
protected XSDPackage getXSDPackage()
protected final Element createElement(int nodeType)
public Element createElement()
public void updateElement(boolean deep)
XSDConcreteComponentelement 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 XSDConcreteComponentcom.ibm.etools.xsd.XSDConcreteComponentXSDConcreteComponent.updateElement(),
XSDConcreteComponent.getElement()public void updateElement()
XSDConcreteComponentelement 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 XSDConcreteComponentcom.ibm.etools.xsd.XSDConcreteComponentXSDConcreteComponent.updateElement(boolean),
XSDConcreteComponent.getElement()protected boolean isUpdatingDOM()
public void elementChanged(Element changedElement)
XSDConcreteComponentXSDConcreteComponent.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 XSDConcreteComponentpublic void elementAttributesChanged(Element changedElement)
XSDConcreteComponentXSDConcreteComponent.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 XSDConcreteComponentpublic void elementContentsChanged(Element changedElement)
XSDConcreteComponentXSDConcreteComponent.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 XSDConcreteComponentprotected void traverseToRootForPatching()
protected void traverseToRootForAnalysis()
protected void patch()
protected boolean analyze()
public void validate()
XSDConcreteComponentDiagnostics are produced to report any problems.validate in interface XSDConcreteComponentcom.ibm.etools.xsd.XSDConcreteComponentXSDConcreteComponent.getDiagnostics(),
XSDConcreteComponent.clearDiagnostics()public void clearDiagnostics()
XSDConcreteComponentdiagnostics associated with the component and all those it contains.clearDiagnostics in interface XSDConcreteComponentcom.ibm.etools.xsd.XSDConcreteComponentXSDConcreteComponent.validate(),
XSDConcreteComponent.getDiagnostics()
protected XSDDiagnostic reportConstraintViolation(java.lang.String part,
java.lang.String anchor,
Element element,
java.lang.String attributeName,
java.lang.Object[] substitutions)
protected XSDDiagnostic checkBuiltInTypeConstraint(java.lang.String builtInTypeName,
java.lang.String value,
java.lang.String part,
java.lang.String anchor,
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,
Element element,
java.lang.String attributeName,
boolean isRequired)
protected XSDDiagnostic createRequiredAttributeDiagnostic(java.lang.String part,
java.lang.String anchor,
Element element,
java.lang.String attributeName)
protected java.util.Collection checkAttributes(java.lang.String part,
java.lang.String anchor,
Element element,
java.lang.String[] attributeNames)
protected XSDDiagnostic createDiagnostic(int severity,
java.lang.String key,
java.lang.String s1,
java.lang.String s2)
protected XSDDiagnostic createDiagnostic(int severity,
java.lang.String key,
java.lang.String s1)
protected void reconcile(Element changedElement)
protected void reconcileAttributes(Element changedElement)
protected java.util.Collection getContentNodes(Element changedElement)
protected void reconcileContents(Element changedElement)
protected void handleUnreconciledElement(Element child,
java.util.List newContents,
java.util.List remainingContents)
protected void handleReconciliation(java.util.List newContents,
java.util.List remainingContents)
protected void handleAnnotationReconciliation(com.ibm.etools.emf.ref.RefReference refReference,
java.util.List newContents,
java.util.List remainingContents)
public void internalNotify(com.ibm.etools.emf.notify.Notification msg)
internalNotify in class com.ibm.etools.emf.ref.impl.RefBaseObjectImplprotected void changeAttribute(com.ibm.etools.emf.ref.RefAttribute refAttribute)
protected void changeReference(com.ibm.etools.emf.ref.RefReference refReference)
protected Node getAdoptionParentNode(com.ibm.etools.emf.ref.RefReference refReference)
protected void handleElementForAdopt(com.ibm.etools.emf.ref.RefReference refReference,
XSDConcreteComponent xsdConcreteComponent)
protected void adoptContent(com.ibm.etools.emf.ref.RefReference refReference,
XSDConcreteComponent xsdConcreteComponent)
protected void adoptBy(XSDSchema xsdSchema)
protected void adoptDiagnostic(XSDDiagnostic xsdDiagnostic)
protected void orphanContent(com.ibm.etools.emf.ref.RefReference refReference,
XSDConcreteComponent xsdConcreteComponent)
protected void orphanBy(XSDSchema xsdSchema)
protected void orphanDiagnostic(XSDDiagnostic xsdDiagnostic)
public void moveContent(com.ibm.etools.emf.ref.RefReference refReference,
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,
java.lang.String attribute,
java.lang.String value)
protected java.lang.String niceCreateNamespaceAttribute(java.lang.String namespace)
protected void niceSetAttributeURIValue(Element element,
java.lang.String attribute,
java.lang.String uriList)
public XSDConcreteComponent getContainer()
XSDConcreteComponentThis represents the concrete container of this component, i.e., the inverse of the black diamond relations in the UML model.
getContainer in interface XSDConcreteComponentcom.ibm.etools.xsd.XSDConcreteComponentXSDPackage.getXSDConcreteComponent_Container()public XSDConcreteComponent getRootContainer()
XSDConcreteComponent
This walks the containers
until it hits one that has no container.
getRootContainer in interface XSDConcreteComponentcom.ibm.etools.xsd.XSDConcreteComponentXSDPackage.getXSDConcreteComponent_RootContainer()public XSDConcreteComponent getOwnerGen()
public XSDConcreteComponent getOwner()
XSDConcreteComponent
This provides the infoset equivalent of the container.
If there is a container,
that is it's value,
i.e., the inverse of the black diamond relations in the UML model.
Otherwise, if the component is synthesized by the infoset model,
the logical container is it's value,
i.e., the inverse of a white diamond relation in the URL model.
getOwner in interface XSDConcreteComponentcom.ibm.etools.xsd.XSDConcreteComponentXSDConcreteComponent.isSetOwner(),
XSDConcreteComponent.unsetOwner(),
XSDConcreteComponent.setOwner(XSDConcreteComponent),
XSDPackage.getXSDConcreteComponent_Owner()public void setOwner(XSDConcreteComponent value)
setOwner in interface XSDConcreteComponentcom.ibm.etools.xsd.XSDConcreteComponentvalue - the new value of the 'Owner' reference.XSDConcreteComponent.isSetOwner(),
XSDConcreteComponent.unsetOwner(),
XSDConcreteComponent.getOwner()public void unsetOwner()
unsetOwner in interface XSDConcreteComponentcom.ibm.etools.xsd.XSDConcreteComponentXSDConcreteComponent.isSetOwner(),
XSDConcreteComponent.getOwner(),
XSDConcreteComponent.setOwner(XSDConcreteComponent)public boolean isSetOwner()
isSetOwner in interface XSDConcreteComponentcom.ibm.etools.xsd.XSDConcreteComponentXSDConcreteComponent.unsetOwner(),
XSDConcreteComponent.getOwner(),
XSDConcreteComponent.setOwner(XSDConcreteComponent)public XSDConcreteComponent getRootOwner()
getRootOwner in interface XSDConcreteComponentcom.ibm.etools.xsd.XSDConcreteComponentXSDConcreteComponent.isSetRootOwner(),
XSDConcreteComponent.unsetRootOwner(),
XSDConcreteComponent.setRootOwner(XSDConcreteComponent),
XSDPackage.getXSDConcreteComponent_RootOwner()public void setRootOwner(XSDConcreteComponent value)
setRootOwner in interface XSDConcreteComponentcom.ibm.etools.xsd.XSDConcreteComponentvalue - the new value of the 'Root Owner' reference.XSDConcreteComponent.isSetRootOwner(),
XSDConcreteComponent.unsetRootOwner(),
XSDConcreteComponent.getRootOwner()public void unsetRootOwner()
unsetRootOwner in interface XSDConcreteComponentcom.ibm.etools.xsd.XSDConcreteComponentXSDConcreteComponent.isSetRootOwner(),
XSDConcreteComponent.getRootOwner(),
XSDConcreteComponent.setRootOwner(XSDConcreteComponent)public boolean isSetRootOwner()
isSetRootOwner in interface XSDConcreteComponentcom.ibm.etools.xsd.XSDConcreteComponentXSDConcreteComponent.unsetRootOwner(),
XSDConcreteComponent.getRootOwner(),
XSDConcreteComponent.setRootOwner(XSDConcreteComponent)public boolean contains(XSDConcreteComponent xsdConcreteComponent)
XSDConcreteComponentcontains in interface XSDConcreteComponentcom.ibm.etools.xsd.XSDConcreteComponentxsdConcreteComponent - a component.public XSDSchema getSchema()
XSDConcreteComponent
This walks the containers/owners
until it reaches a schema.
getSchema in interface XSDConcreteComponentcom.ibm.etools.xsd.XSDConcreteComponentXSDConcreteComponent.isSetSchema(),
XSDConcreteComponent.unsetSchema(),
XSDConcreteComponent.setSchema(XSDSchema),
XSDPackage.getXSDConcreteComponent_Schema()public void setSchema(XSDSchema value)
setSchema in interface XSDConcreteComponentcom.ibm.etools.xsd.XSDConcreteComponentvalue - the new value of the 'Schema' reference.XSDConcreteComponent.isSetSchema(),
XSDConcreteComponent.unsetSchema(),
XSDConcreteComponent.getSchema()public void unsetSchema()
unsetSchema in interface XSDConcreteComponentcom.ibm.etools.xsd.XSDConcreteComponentXSDConcreteComponent.isSetSchema(),
XSDConcreteComponent.getSchema(),
XSDConcreteComponent.setSchema(XSDSchema)public boolean isSetSchema()
isSetSchema in interface XSDConcreteComponentcom.ibm.etools.xsd.XSDConcreteComponentXSDConcreteComponent.unsetSchema(),
XSDConcreteComponent.getSchema(),
XSDConcreteComponent.setSchema(XSDSchema)public com.ibm.etools.emf.ref.EList getDiagnostics()
getDiagnostics in interface XSDConcreteComponentcom.ibm.etools.xsd.XSDConcreteComponentXSDPackage.getXSDConcreteComponent_Diagnostics()public java.lang.Object refValue(com.ibm.etools.emf.ref.RefStructuralFeature feature)
refValue in interface com.ibm.etools.emf.ref.RefObjectrefValue in class com.ibm.etools.emf.ref.impl.RefObjectImplpublic java.lang.Object refBasicValue(com.ibm.etools.emf.ref.RefStructuralFeature feature)
refBasicValue in class com.ibm.etools.emf.ref.impl.RefObjectImplpublic boolean refIsSet(com.ibm.etools.emf.ref.RefStructuralFeature feature)
refIsSet in interface com.ibm.etools.emf.ref.RefObjectrefIsSet in class com.ibm.etools.emf.ref.impl.RefObjectImpl
public void refSetValue(com.ibm.etools.emf.ref.RefStructuralFeature feature,
java.lang.Object newValue)
refSetValue in interface com.ibm.etools.emf.ref.RefObjectrefSetValue in class com.ibm.etools.emf.ref.impl.RefObjectImpl
public com.ibm.etools.emf.notify.Notification refBasicSetValue(com.ibm.etools.emf.ref.RefStructuralFeature feature,
java.lang.Object newValue)
refBasicSetValue in class com.ibm.etools.emf.ref.impl.RefObjectImplpublic void refUnsetValue(com.ibm.etools.emf.ref.RefStructuralFeature feature)
refUnsetValue in interface com.ibm.etools.emf.ref.RefObjectrefUnsetValue in class com.ibm.etools.emf.ref.impl.RefObjectImplpublic com.ibm.etools.emf.notify.Notification refBasicUnsetValue(com.ibm.etools.emf.ref.RefStructuralFeature feature)
refBasicUnsetValue in class com.ibm.etools.emf.ref.impl.RefObjectImplpublic java.lang.String toString()
toString in class com.ibm.etools.emf.ref.impl.RefBaseObjectImplprotected XSDConcreteComponent getBestConcreteComponent(java.util.List elementPath)
protected boolean considerAllContainsForBestConcreteComponent()
public static void setListContentAndOrder(com.ibm.etools.emf.ref.EList targetList,
java.util.List prototypeList)
protected java.lang.String getURIReferenceLabel()
public java.lang.String getURIReferencePath()
XSDConcreteComponent
This represents a path encoding that can be walked by
XSDSchema.getComponentForURIReferencePath(java.lang.String)
to reach this component.
getURIReferencePath in interface XSDConcreteComponentcom.ibm.etools.xsd.XSDConcreteComponentXSDPackage.getXSDConcreteComponent_URIReferencePath()public XSDTypeDefinition resolveTypeDefinitionURI(java.lang.String uri)
XSDConcreteComponentURI.
An unresolved instance is synthesized to hold the namespace and name if an existing instance cannot be found.resolveTypeDefinitionURI in interface XSDConcreteComponentcom.ibm.etools.xsd.XSDConcreteComponenturi - 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)
XSDConcreteComponentname
within the schema.
An unresolved instance is synthesized to hold the namespace and name if an existing instance cannot be found.resolveTypeDefinition in interface XSDConcreteComponentcom.ibm.etools.xsd.XSDConcreteComponentlocalName - 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)
XSDConcreteComponentnamespace and name.
An unresolved instance is synthesized to hold the namespace and name if an existing instance cannot be found.resolveTypeDefinition in interface XSDConcreteComponentcom.ibm.etools.xsd.XSDConcreteComponentnamespace - 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)
XSDConcreteComponentURI.
An unresolved instance is synthesized to hold the namespace and name if an existing instance cannot be found.resolveSimpleTypeDefinitionURI in interface XSDConcreteComponentcom.ibm.etools.xsd.XSDConcreteComponenturi - 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)
XSDConcreteComponentname
within the schema.
An unresolved instance is synthesized to hold the namespace and name if an existing instance cannot be found.resolveSimpleTypeDefinition in interface XSDConcreteComponentcom.ibm.etools.xsd.XSDConcreteComponentlocalName - 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)
XSDConcreteComponentnamespace and name.
An unresolved instance is synthesized to hold the namespace and name if an existing instance cannot be found.resolveSimpleTypeDefinition in interface XSDConcreteComponentcom.ibm.etools.xsd.XSDConcreteComponentnamespace - 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)
XSDConcreteComponentURI.
An unresolved instance is synthesized to hold the namespace and name if an existing instance cannot be found.resolveComplexTypeDefinitionURI in interface XSDConcreteComponentcom.ibm.etools.xsd.XSDConcreteComponenturi - 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)
XSDConcreteComponentname
within the schema.
An unresolved instance is synthesized to hold the namespace and name if an existing instance cannot be found.resolveComplexTypeDefinition in interface XSDConcreteComponentcom.ibm.etools.xsd.XSDConcreteComponentlocalName - 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)
XSDConcreteComponentnamespace and name.
An unresolved instance is synthesized to hold the namespace and name if an existing instance cannot be found.resolveComplexTypeDefinition in interface XSDConcreteComponentcom.ibm.etools.xsd.XSDConcreteComponentnamespace - 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)
XSDConcreteComponentURI.
An unresolved instance is synthesized to hold the namespace and name if an existing instance cannot be found.resolveAttributeDeclarationURI in interface XSDConcreteComponentcom.ibm.etools.xsd.XSDConcreteComponenturi - 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)
XSDConcreteComponentname
within the schema.
An unresolved instance is synthesized to hold the namespace and name if an existing instance cannot be found.resolveAttributeDeclaration in interface XSDConcreteComponentcom.ibm.etools.xsd.XSDConcreteComponentlocalName - 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)
XSDConcreteComponentnamespace and name.
An unresolved instance is synthesized to hold the namespace and name if an existing instance cannot be found.resolveAttributeDeclaration in interface XSDConcreteComponentcom.ibm.etools.xsd.XSDConcreteComponentnamespace - 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)
XSDConcreteComponentURI.
An unresolved instance is synthesized to hold the namespace and name if an existing instance cannot be found.resolveElementDeclarationURI in interface XSDConcreteComponentcom.ibm.etools.xsd.XSDConcreteComponenturi - 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)
XSDConcreteComponentname
within the schema.
An unresolved instance is synthesized to hold the namespace and name if an existing instance cannot be found.resolveElementDeclaration in interface XSDConcreteComponentcom.ibm.etools.xsd.XSDConcreteComponentlocalName - 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)
XSDConcreteComponentnamespace and name.
An unresolved instance is synthesized to hold the namespace and name if an existing instance cannot be found.resolveElementDeclaration in interface XSDConcreteComponentcom.ibm.etools.xsd.XSDConcreteComponentnamespace - 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)
XSDConcreteComponentURI.
An unresolved instance is synthesized to hold the namespace and name if an existing instance cannot be found.resolveAttributeGroupDefinitionURI in interface XSDConcreteComponentcom.ibm.etools.xsd.XSDConcreteComponenturi - 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)
XSDConcreteComponentname
within the schema.
An unresolved instance is synthesized to hold the namespace and name if an existing instance cannot be found.resolveAttributeGroupDefinition in interface XSDConcreteComponentcom.ibm.etools.xsd.XSDConcreteComponentlocalName - 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)
XSDConcreteComponentnamespace and name.
An unresolved instance is synthesized to hold the namespace and name if an existing instance cannot be found.resolveAttributeGroupDefinition in interface XSDConcreteComponentcom.ibm.etools.xsd.XSDConcreteComponentnamespace - 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)
XSDConcreteComponentURI.
An unresolved instance is synthesized to hold the namespace and name if an existing instance cannot be found.resolveModelGroupDefinitionURI in interface XSDConcreteComponentcom.ibm.etools.xsd.XSDConcreteComponenturi - 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)
XSDConcreteComponentname
within the schema.
An unresolved instance is synthesized to hold the namespace and name if an existing instance cannot be found.resolveModelGroupDefinition in interface XSDConcreteComponentcom.ibm.etools.xsd.XSDConcreteComponentlocalName - 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)
XSDConcreteComponentnamespace and name.
An unresolved instance is synthesized to hold the namespace and name if an existing instance cannot be found.resolveModelGroupDefinition in interface XSDConcreteComponentcom.ibm.etools.xsd.XSDConcreteComponentnamespace - 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)
XSDConcreteComponentURI.
An unresolved instance is synthesized to hold the namespace and name if an existing instance cannot be found.resolveIdentityConstraintDefinitionURI in interface XSDConcreteComponentcom.ibm.etools.xsd.XSDConcreteComponenturi - 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)
XSDConcreteComponentname
within the schema.
An unresolved instance is synthesized to hold the namespace and name if an existing instance cannot be found.resolveIdentityConstraintDefinition in interface XSDConcreteComponentcom.ibm.etools.xsd.XSDConcreteComponentlocalName - 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)
XSDConcreteComponentnamespace and name.
An unresolved instance is synthesized to hold the namespace and name if an existing instance cannot be found.resolveIdentityConstraintDefinition in interface XSDConcreteComponentcom.ibm.etools.xsd.XSDConcreteComponentnamespace - 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)
XSDConcreteComponentURI.
An unresolved instance is synthesized to hold the namespace and name if an existing instance cannot be found.resolveNotationDeclarationURI in interface XSDConcreteComponentcom.ibm.etools.xsd.XSDConcreteComponenturi - 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)
XSDConcreteComponentname
within the schema.
An unresolved instance is synthesized to hold the namespace and name if an existing instance cannot be found.resolveNotationDeclaration in interface XSDConcreteComponentcom.ibm.etools.xsd.XSDConcreteComponentlocalName - 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)
XSDConcreteComponentnamespace and name.
An unresolved instance is synthesized to hold the namespace and name if an existing instance cannot be found.resolveNotationDeclaration in interface XSDConcreteComponentcom.ibm.etools.xsd.XSDConcreteComponentnamespace - 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 getComponentsWithApplicationInformation(java.lang.String sourceURI)
XSDConcreteComponentannotation
containing an appinfo with given source URI.getComponentsWithApplicationInformation in interface XSDConcreteComponentcom.ibm.etools.xsd.XSDConcreteComponentsourceURI - the source URI to match.XSDAnnotation.getApplicationInformationSources()public java.util.Collection getComponentsWithUserInformation(java.lang.String sourceURI)
XSDConcreteComponentannotation
containing a documentation with given source URI.getComponentsWithUserInformation in interface XSDConcreteComponentcom.ibm.etools.xsd.XSDConcreteComponentsourceURI - the source URI to match.XSDAnnotation.getApplicationInformationSources()
protected void getComponentsWithInformation(java.util.Collection result,
int nodeType,
java.lang.String sourceURI)
public Element getElement()
getElement in interface XSDConcreteComponentcom.ibm.etools.xsd.XSDConcreteComponentXSDConcreteComponent.isSetElement(),
XSDConcreteComponent.unsetElement(),
XSDConcreteComponent.setElement(org.w3c.dom.Element),
XSDPackage.getXSDConcreteComponent_Element()public void unsetElementGen()
public void unsetElement()
XSDConcreteComponentElement' attribute.
unsetElement in interface XSDConcreteComponentcom.ibm.etools.xsd.XSDConcreteComponentXSDConcreteComponent.isSetElement(),
XSDConcreteComponent.getElement(),
XSDConcreteComponent.setElement(org.w3c.dom.Element)public boolean isSetElement()
isSetElement in interface XSDConcreteComponentcom.ibm.etools.xsd.XSDConcreteComponentXSDConcreteComponent.unsetElement(),
XSDConcreteComponent.getElement(),
XSDConcreteComponent.setElement(org.w3c.dom.Element)public void setElementGen(Element value)
public void setElement(Element element)
XSDConcreteComponentElement' attribute.
setElement in interface XSDConcreteComponentcom.ibm.etools.xsd.XSDConcreteComponentvalue - the new value of the 'Element' attribute.XSDConcreteComponent.isSetElement(),
XSDConcreteComponent.unsetElement(),
XSDConcreteComponent.getElement()
public XSDConcreteComponent cloneConcreteComponent(boolean deep,
boolean shareDOM)
XSDConcreteComponentcloneConcreteComponent in interface XSDConcreteComponentcom.ibm.etools.xsd.XSDConcreteComponentdeep - whether the clone should be deep.shareDOM - whether the clone should share the original DOM
protected static java.util.List cloneConcreteComponents(java.util.List xsdConcreteComponents,
boolean deep,
boolean shareDOM)
|
|||||||||
| PREV CLASS SOURCE NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||