|
||||||||||
| 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
org.eclipse.xsd.impl.XSDComponentImpl
org.eclipse.xsd.impl.XSDAnnotationImpl
public class XSDAnnotationImpl
An implementation of the model object 'Annotation'.
The following features are implemented:
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.eclipse.xsd.impl.XSDConcreteComponentImpl |
|---|
XSDConcreteComponentImpl.XSDContentsEList |
| Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl |
|---|
BasicEObjectImpl.EPropertiesHolder, BasicEObjectImpl.EPropertiesHolderBaseImpl, BasicEObjectImpl.EPropertiesHolderImpl |
| Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl |
|---|
BasicNotifierImpl.EAdapterList<E extends java.lang.Object & Adapter> |
| Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject |
|---|
InternalEObject.EStore |
| Field Summary | |
|---|---|
protected 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 |
| Fields inherited from class org.eclipse.xsd.impl.XSDConcreteComponentImpl |
|---|
ANALYZED, ANALYZING, CIRCULAR, diagnostics, element, ELEMENT_EDEFAULT, ERROR, FATAL, forceResolve, INFORMATION, isReconciling, UNANALYZED, updatingDOM, WARNING, 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 |
XSDAnnotationImpl()
|
| Method Summary | |
|---|---|
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. |
| 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 |
| Field Detail |
|---|
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()| Constructor Detail |
|---|
protected XSDAnnotationImpl()
| Method Detail |
|---|
public static XSDAnnotation createAnnotation(org.w3c.dom.Node node)
protected EClass eStaticClass()
eStaticClass in class XSDComponentImplpublic EList<org.w3c.dom.Element> getApplicationInformation()
getApplicationInformation in interface XSDAnnotationXSDPackage.getXSDAnnotation_ApplicationInformation()public EList<org.w3c.dom.Element> getUserInformation()
getUserInformation in interface XSDAnnotationXSDPackage.getXSDAnnotation_UserInformation()public EList<org.w3c.dom.Attr> getAttributes()
getAttributes in interface XSDAnnotationXSDPackage.getXSDAnnotation_Attributes()
public java.lang.Object eGet(int featureID,
boolean resolve,
boolean coreType)
eGet in interface InternalEObjecteGet in class XSDConcreteComponentImpl
public void eSet(int featureID,
java.lang.Object newValue)
eSet in interface InternalEObjecteSet in class XSDConcreteComponentImplpublic void eUnset(int featureID)
eUnset in interface InternalEObjecteUnset in class XSDConcreteComponentImplpublic boolean eIsSet(int featureID)
eIsSet in interface InternalEObjecteIsSet in class XSDConcreteComponentImplpublic java.lang.String toString()
toString in class XSDConcreteComponentImplpublic org.w3c.dom.Element createElement()
createElement in class XSDConcreteComponentImplpublic void validate()
XSDConcreteComponentDiagnostics 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 XSDConcreteComponentvalidate in class XSDConcreteComponentImplXSDConcreteComponent.getDiagnostics(),
XSDConcreteComponent.clearDiagnostics()protected void reconcileAttributes(org.w3c.dom.Element changedElement)
reconcileAttributes in class XSDConcreteComponentImplprotected void reconcileContents(org.w3c.dom.Element changedElement)
reconcileContents in class XSDConcreteComponentImplpublic org.w3c.dom.Element createApplicationInformation(java.lang.String sourceURI)
XSDAnnotation
createApplicationInformation in interface XSDAnnotationsourceURI - the initial value of the source attribute.
public org.w3c.dom.Element createUserInformation(java.lang.String sourceURI)
XSDAnnotation
createUserInformation in interface XSDAnnotationsourceURI - the initial value of the source attribute.
public EList<org.w3c.dom.Element> getApplicationInformation(java.lang.String sourceURI)
XSDAnnotationXSDAnnotation.getApplicationInformation() with the given sourceURI;
a null sourceURI matches elements without a source attribute.
getApplicationInformation in interface XSDAnnotationsourceURI - the source URI to match.
public EList<org.w3c.dom.Element> getUserInformation(java.lang.String sourceURI)
XSDAnnotationXSDAnnotation.getUserInformation() with the given sourceURI;
a null sourceURI matches elements without a source attribute.
getUserInformation in interface XSDAnnotationsourceURI - the source URI to match.
public java.util.Set<java.lang.String> getApplicationInformationSources()
XSDAnnotation
getApplicationInformationSources in interface XSDAnnotationpublic 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 XSDConcreteComponentcloneConcreteComponent in class XSDConcreteComponentImpldeep - whether the clone should be deep.shareDOM - whether the clone should share the original DOM
|
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 | |||||||||