|
|||||||||||
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
An implementation of the model object 'Annotation'.
The following features are implemented:
Nested Class Summary |
Nested classes inherited from class org.eclipse.xsd.impl.XSDConcreteComponentImpl |
XSDConcreteComponentImpl.XSDContentsEList |
Nested classes inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl |
BasicEObjectImpl.EPropertiesHolder, 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 EList |
applicationInformation
The cached value of the ' Application Information ' attribute list |
protected EList |
attributes
The cached value of the ' Attributes ' attribute list |
protected EList |
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, 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 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(Node node)
|
Element |
createApplicationInformation(String sourceURI)
Creates a new appinfo element using the containing schema's document as the factory. |
Element |
createElement()
|
Element |
createUserInformation(String sourceURI)
This creates a new documentation element using the containing schema's document as the factory. |
Object |
eGet(EStructuralFeature eFeature,
boolean resolve)
|
NotificationChain |
eInverseRemove(InternalEObject otherEnd,
int featureID,
Class baseClass,
NotificationChain msgs)
|
boolean |
eIsSet(EStructuralFeature eFeature)
|
void |
eSet(EStructuralFeature eFeature,
Object newValue)
|
protected EClass |
eStaticClass()
|
void |
eUnset(EStructuralFeature eFeature)
|
EList |
getApplicationInformation()
|
EList |
getApplicationInformation(String sourceURI)
Returns only those elements returned by getApplicationInformation() with the given sourceURI;
a null sourceURI matches elements without a source attribute. |
Set |
getApplicationInformationSources()
Returns the set of source attribute values of all the appinfo elements. |
EList |
getAttributes()
|
protected void |
getComponentsWithInformation(Collection result,
int nodeType,
String sourceURI)
|
EList |
getUserInformation()
|
EList |
getUserInformation(String sourceURI)
Returns only those elements returned by getUserInformation() with the given sourceURI;
a null sourceURI matches elements without a source attribute. |
Set |
getUserInformationSources()
Returns the set of source attribute values of all the documentation elements. |
protected void |
reconcileAttributes(Element changedElement)
|
protected void |
reconcileContents(Element changedElement)
|
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 |
Methods inherited from interface org.eclipse.emf.ecore.EObject |
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eIsProxy, eResource |
Methods inherited from interface org.eclipse.emf.common.notify.Notifier |
eAdapters, eDeliver, eNotify, eSetDeliver |
Field Detail |
protected EList applicationInformation
Application Information
' attribute list.
getApplicationInformation()
protected EList userInformation
User Information
' attribute list.
getUserInformation()
protected EList attributes
Attributes
' attribute list.
getAttributes()
Constructor Detail |
protected XSDAnnotationImpl()
Method Detail |
public static XSDAnnotation createAnnotation(Node node)
protected EClass eStaticClass()
eStaticClass
in class XSDComponentImpl
public EList getApplicationInformation()
getApplicationInformation
in interface XSDAnnotation
XSDPackage.getXSDAnnotation_ApplicationInformation()
public EList getUserInformation()
getUserInformation
in interface XSDAnnotation
XSDPackage.getXSDAnnotation_UserInformation()
public EList getAttributes()
getAttributes
in interface XSDAnnotation
XSDPackage.getXSDAnnotation_Attributes()
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, Class baseClass, NotificationChain msgs)
eInverseRemove
in interface InternalEObject
eInverseRemove
in class XSDComponentImpl
public Object eGet(EStructuralFeature eFeature, boolean resolve)
eGet
in interface EObject
eGet
in class XSDComponentImpl
public void eSet(EStructuralFeature eFeature, Object newValue)
eSet
in interface EObject
eSet
in class XSDComponentImpl
public void eUnset(EStructuralFeature eFeature)
eUnset
in interface EObject
eUnset
in class XSDComponentImpl
public boolean eIsSet(EStructuralFeature eFeature)
eIsSet
in interface EObject
eIsSet
in class XSDComponentImpl
public String toString()
toString
in class XSDConcreteComponentImpl
public Element createElement()
createElement
in class XSDConcreteComponentImpl
public void validate()
XSDConcreteComponent
Diagnostics
are produced to report any problems.
validate
in interface XSDConcreteComponent
validate
in class XSDConcreteComponentImpl
protected void reconcileAttributes(Element changedElement)
reconcileAttributes
in class XSDConcreteComponentImpl
protected void reconcileContents(Element changedElement)
reconcileContents
in class XSDConcreteComponentImpl
public Element createApplicationInformation(String sourceURI)
XSDAnnotation
createApplicationInformation
in interface XSDAnnotation
sourceURI
- the initial value of the source attribute.
public Element createUserInformation(String sourceURI)
XSDAnnotation
createUserInformation
in interface XSDAnnotation
sourceURI
- the initial value of the source attribute.
public EList getApplicationInformation(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 getUserInformation(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 Set getApplicationInformationSources()
XSDAnnotation
getApplicationInformationSources
in interface XSDAnnotation
public Set getUserInformationSources()
XSDAnnotation
getUserInformationSources
in interface XSDAnnotation
protected void getComponentsWithInformation(Collection result, int nodeType, String sourceURI)
getComponentsWithInformation
in class XSDConcreteComponentImpl
public XSDConcreteComponent cloneConcreteComponent(boolean deep, boolean shareDOM)
XSDConcreteComponent
cloneConcreteComponent
in interface XSDConcreteComponent
cloneConcreteComponent
in class XSDConcreteComponentImpl
|
Copyright 2001-2004 IBM Corporation and others. All Rights Reserved. |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |