|
|||||||||||
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.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 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, 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(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(int featureID,
boolean resolve,
boolean coreType)
|
boolean |
eIsSet(int featureID)
|
void |
eSet(int featureID,
Object newValue)
|
protected EClass |
eStaticClass()
|
void |
eUnset(int featureID)
|
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, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset |
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 Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in interface InternalEObject
eGet
in class XSDConcreteComponentImpl
public void eSet(int featureID, Object newValue)
eSet
in interface InternalEObject
eSet
in class XSDConcreteComponentImpl
public void eUnset(int featureID)
eUnset
in interface InternalEObject
eUnset
in class XSDConcreteComponentImpl
public boolean eIsSet(int featureID)
eIsSet
in interface InternalEObject
eIsSet
in class XSDConcreteComponentImpl
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.
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
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-2006 IBM Corporation and others. All Rights Reserved. |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |