public class XSDAnnotationImpl extends XSDComponentImpl implements XSDAnnotation
The following features are implemented:
XSDConcreteComponentImpl.XSDContentsEList
BasicEObjectImpl.EPropertiesHolder, BasicEObjectImpl.EPropertiesHolderBaseImpl, BasicEObjectImpl.EPropertiesHolderImpl
BasicNotifierImpl.EAdapterList<E extends java.lang.Object & Adapter>, BasicNotifierImpl.EObservableAdapterList
InternalEObject.EStore
Modifier and Type | Field and Description |
---|---|
protected EList<org.w3c.dom.Element> |
applicationInformation
The cached value of the '
Application Information ' attribute list. |
protected EList<org.w3c.dom.Attr> |
attributes
The cached value of the '
Attributes ' attribute list. |
protected EList<org.w3c.dom.Element> |
userInformation
The cached value of the '
User Information ' attribute list. |
ANALYZED, ANALYZING, CIRCULAR, diagnostics, element, ELEMENT_EDEFAULT, ERROR, FATAL, forceResolve, INFORMATION, isReconciling, UNANALYZED, updatingDOM, WARNING, xsdContents
eAdapters, eContainer, eContainerFeatureID, EDELIVER, EDYNAMIC_CLASS, eFlags, ELAST_EOBJECT_FLAG, ELAST_NOTIFIER_FLAG, eProperties, EPROXY
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET
EOPPOSITE_FEATURE_BASE
Modifier | Constructor and Description |
---|---|
protected |
XSDAnnotationImpl() |
Modifier and Type | Method and Description |
---|---|
XSDConcreteComponent |
cloneConcreteComponent(boolean deep,
boolean shareDOM)
Creates a clone of the component.
|
static XSDAnnotation |
createAnnotation(org.w3c.dom.Node node) |
org.w3c.dom.Element |
createApplicationInformation(java.lang.String sourceURI)
Creates a new appinfo element using the containing schema's document as the factory.
|
org.w3c.dom.Element |
createElement() |
org.w3c.dom.Element |
createUserInformation(java.lang.String sourceURI)
This creates a new documentation element using the containing schema's document as the factory.
|
java.lang.Object |
eGet(int featureID,
boolean resolve,
boolean coreType) |
boolean |
eIsSet(int featureID) |
void |
eSet(int featureID,
java.lang.Object newValue) |
protected EClass |
eStaticClass() |
void |
eUnset(int featureID) |
EList<org.w3c.dom.Element> |
getApplicationInformation() |
EList<org.w3c.dom.Element> |
getApplicationInformation(java.lang.String sourceURI)
Returns only those elements returned by
XSDAnnotation.getApplicationInformation() with the given sourceURI;
a null sourceURI matches elements without a source attribute. |
java.util.Set<java.lang.String> |
getApplicationInformationSources()
Returns the set of source attribute values of all the appinfo elements.
|
EList<org.w3c.dom.Attr> |
getAttributes() |
protected void |
getComponentsWithInformation(java.util.Collection<XSDConcreteComponent> result,
int nodeType,
java.lang.String sourceURI) |
EList<org.w3c.dom.Element> |
getUserInformation() |
EList<org.w3c.dom.Element> |
getUserInformation(java.lang.String sourceURI)
Returns only those elements returned by
XSDAnnotation.getUserInformation() with the given sourceURI;
a null sourceURI matches elements without a source attribute. |
java.util.Set<java.lang.String> |
getUserInformationSources()
Returns the set of source attribute values of all the documentation elements.
|
protected void |
reconcileAttributes(org.w3c.dom.Element changedElement) |
protected void |
reconcileContents(org.w3c.dom.Element changedElement) |
java.lang.String |
toString() |
void |
validate()
Validates whether this component conforms to the constraints defined in the XML Schema standard.
|
adoptBy, adoptContent, adoptDiagnostic, analyze, changeAttribute, changeReference, checkAttributes, checkAttributeTypeConstraint, checkAttributeTypeConstraint, checkBuiltInTypeConstraint, checkComplexContent, checkComplexContent, checkElementComplexContent, checkSimpleTypeConstraint, clearDiagnostics, cloneConcreteComponents, considerAllContainsForBestConcreteComponent, contains, convertToBoolean, createDiagnostic, createDiagnostic, createDiagnostic, createDiagnostic, createElement, createRequiredAttributeDiagnostic, createUnresolvedAttributeDeclaration, createUnresolvedAttributeGroupDefinition, createUnresolvedComplexTypeDefinition, createUnresolvedElementDeclaration, createUnresolvedIdentityConstraintDefinition, createUnresolvedModelGroupDefinition, createUnresolvedNotationDeclaration, createUnresolvedSimpleTypeDefinition, createUnresolvedTypeDefinition, eInverseRemove, elementAttributesChanged, elementChanged, elementContentsChanged, eNotificationRequired, eNotify, eObjectForURIFragmentSegment, eURIFragmentSegment, forceEngulf, forceEngulf, forceNiceInsertBefore, forceNiceRemoveChild, forceReplace, getAdoptionParentNode, getBestConcreteComponent, getComponentsWithApplicationInformation, getComponentsWithUserInformation, getContainer, getContentNodes, getDiagnostics, getDiagnosticTarget, getElement, getRootContainer, getSchema, getURIReferenceLabel, getXSDConcreteComponentImpls, getXSDContents, getXSDFactory, getXSDPackage, handleAnnotationReconciliation, handleElementForAdopt, handleReconciliation, handleUnreconciledElement, isUpdatingDOM, moveContent, niceCreateNamespaceAttribute, niceInsertBefore, niceRemoveChild, niceSetAttribute, niceSetAttributeURIValue, orphanBy, orphanContent, orphanDiagnostic, patch, populateDiagnostic, printDFA, reconcile, reportConstraintViolation, reset, resolveAttributeDeclaration, resolveAttributeDeclaration, resolveAttributeDeclarationURI, resolveAttributeGroupDefinition, resolveAttributeGroupDefinition, resolveAttributeGroupDefinitionURI, resolveComplexTypeDefinition, resolveComplexTypeDefinition, resolveComplexTypeDefinitionURI, resolveElementDeclaration, resolveElementDeclaration, resolveElementDeclarationURI, resolveIdentityConstraintDefinition, resolveIdentityConstraintDefinition, resolveIdentityConstraintDefinitionURI, resolveModelGroupDefinition, resolveModelGroupDefinition, resolveModelGroupDefinitionURI, resolveNotationDeclaration, resolveNotationDeclaration, resolveNotationDeclarationURI, resolveSimpleTypeDefinition, resolveSimpleTypeDefinition, resolveSimpleTypeDefinitionURI, resolveTypeDefinition, resolveTypeDefinition, resolveTypeDefinitionURI, setElement, setElementGen, setListContentAndOrder, traverseToRootForAnalysis, traverseToRootForPatching, updateElement, updateElement, updatePrefix
eAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURI
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicClass, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicInvoke, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eHasSettings, eInternalResource, eInverseAdd, eInverseAdd, eInverseRemove, eInvocationDelegate, eInvoke, eIsSet, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetDirectResource, eSetResource, eSetStore, eSetting, eSettingDelegate, eSettings, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStaticOperationCount, eStore, eUnset, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValues
eBasicAdapterArray, eBasicHasAdapters
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
clearDiagnostics, contains, elementAttributesChanged, elementChanged, elementContentsChanged, getComponentsWithApplicationInformation, getComponentsWithUserInformation, getContainer, getDiagnostics, getElement, getRootContainer, getSchema, resolveAttributeDeclaration, resolveAttributeDeclaration, resolveAttributeDeclarationURI, resolveAttributeGroupDefinition, resolveAttributeGroupDefinition, resolveAttributeGroupDefinitionURI, resolveComplexTypeDefinition, resolveComplexTypeDefinition, resolveComplexTypeDefinitionURI, resolveElementDeclaration, resolveElementDeclaration, resolveElementDeclarationURI, resolveIdentityConstraintDefinition, resolveIdentityConstraintDefinition, resolveIdentityConstraintDefinitionURI, resolveModelGroupDefinition, resolveModelGroupDefinition, resolveModelGroupDefinitionURI, resolveNotationDeclaration, resolveNotationDeclaration, resolveNotationDeclarationURI, resolveSimpleTypeDefinition, resolveSimpleTypeDefinition, resolveSimpleTypeDefinitionURI, resolveTypeDefinition, resolveTypeDefinition, resolveTypeDefinitionURI, setElement, updateElement, updateElement
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
eAdapters, eDeliver, eNotify, eSetDeliver
protected EList<org.w3c.dom.Element> applicationInformation
Application Information
' attribute list.
getApplicationInformation()
protected EList<org.w3c.dom.Element> userInformation
User Information
' attribute list.
getUserInformation()
protected EList<org.w3c.dom.Attr> attributes
Attributes
' attribute list.
getAttributes()
public static XSDAnnotation createAnnotation(org.w3c.dom.Node node)
protected EClass eStaticClass()
eStaticClass
in class XSDComponentImpl
public EList<org.w3c.dom.Element> getApplicationInformation()
getApplicationInformation
in interface XSDAnnotation
XSDPackage.getXSDAnnotation_ApplicationInformation()
public EList<org.w3c.dom.Element> getUserInformation()
getUserInformation
in interface XSDAnnotation
XSDPackage.getXSDAnnotation_UserInformation()
public EList<org.w3c.dom.Attr> getAttributes()
getAttributes
in interface XSDAnnotation
XSDPackage.getXSDAnnotation_Attributes()
public java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in interface InternalEObject
eGet
in class XSDConcreteComponentImpl
InternalEObject.eGet(EStructuralFeature, boolean, boolean)
public void eSet(int featureID, java.lang.Object newValue)
eSet
in interface InternalEObject
eSet
in class XSDConcreteComponentImpl
EObject.eSet(EStructuralFeature, Object)
public void eUnset(int featureID)
eUnset
in interface InternalEObject
eUnset
in class XSDConcreteComponentImpl
EObject.eUnset(EStructuralFeature)
public boolean eIsSet(int featureID)
eIsSet
in interface InternalEObject
eIsSet
in class XSDConcreteComponentImpl
EObject.eIsSet(EStructuralFeature)
public java.lang.String toString()
toString
in class XSDConcreteComponentImpl
public org.w3c.dom.Element createElement()
createElement
in class XSDConcreteComponentImpl
public void validate()
XSDConcreteComponent
Diagnostics
are produced to report any problems.
The effect of calling this for a component not directly or indirectly contained by a schema
is undefined, and is likely to result in null pointer exceptions.validate
in interface XSDConcreteComponent
validate
in class XSDConcreteComponentImpl
XSDConcreteComponent.getDiagnostics()
,
XSDConcreteComponent.clearDiagnostics()
protected void reconcileAttributes(org.w3c.dom.Element changedElement)
reconcileAttributes
in class XSDConcreteComponentImpl
protected void reconcileContents(org.w3c.dom.Element changedElement)
reconcileContents
in class XSDConcreteComponentImpl
public org.w3c.dom.Element createApplicationInformation(java.lang.String sourceURI)
XSDAnnotation
createApplicationInformation
in interface XSDAnnotation
sourceURI
- the initial value of the source attribute.public org.w3c.dom.Element createUserInformation(java.lang.String sourceURI)
XSDAnnotation
createUserInformation
in interface XSDAnnotation
sourceURI
- the initial value of the source attribute.public EList<org.w3c.dom.Element> getApplicationInformation(java.lang.String sourceURI)
XSDAnnotation
XSDAnnotation.getApplicationInformation()
with the given sourceURI;
a null sourceURI matches elements without a source attribute.getApplicationInformation
in interface XSDAnnotation
sourceURI
- the source URI to match.public EList<org.w3c.dom.Element> getUserInformation(java.lang.String sourceURI)
XSDAnnotation
XSDAnnotation.getUserInformation()
with the given sourceURI;
a null sourceURI matches elements without a source attribute.getUserInformation
in interface XSDAnnotation
sourceURI
- the source URI to match.public java.util.Set<java.lang.String> getApplicationInformationSources()
XSDAnnotation
getApplicationInformationSources
in interface XSDAnnotation
public java.util.Set<java.lang.String> getUserInformationSources()
XSDAnnotation
getUserInformationSources
in interface XSDAnnotation
protected void getComponentsWithInformation(java.util.Collection<XSDConcreteComponent> result, int nodeType, java.lang.String sourceURI)
getComponentsWithInformation
in class XSDConcreteComponentImpl
public XSDConcreteComponent cloneConcreteComponent(boolean deep, boolean shareDOM)
XSDConcreteComponent
cloneConcreteComponent
in interface XSDConcreteComponent
cloneConcreteComponent
in class XSDConcreteComponentImpl
deep
- whether the clone should be deep.shareDOM
- whether the clone should share the original DOM