|
||||||||||
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.XSDSchemaContentImpl
org.eclipse.xsd.impl.XSDSchemaDirectiveImpl
org.eclipse.xsd.impl.XSDImportImpl
public class XSDImportImpl
An implementation of the model object 'Import'.
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 XSDAnnotation |
annotation
The cached value of the ' Annotation ' containment reference |
protected java.lang.String |
namespace
The cached value of the ' Namespace ' attribute |
protected static java.lang.String |
NAMESPACE_EDEFAULT
The default value of the ' Namespace ' attribute |
Fields inherited from class org.eclipse.xsd.impl.XSDSchemaDirectiveImpl |
---|
resolved, resolvedSchema, SCHEMA_LOCATION_EDEFAULT, schemaLocation |
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 |
XSDImportImpl()
|
Method Summary | |
---|---|
NotificationChain |
basicSetAnnotation(XSDAnnotation newAnnotation,
NotificationChain msgs)
|
protected void |
changeAttribute(EAttribute eAttribute)
|
XSDConcreteComponent |
cloneConcreteComponent(boolean deep,
boolean shareDOM)
Creates a clone of the component. |
org.w3c.dom.Element |
createElement()
|
static XSDImport |
createImport(org.w3c.dom.Node node)
|
java.lang.Object |
eGet(int featureID,
boolean resolve,
boolean coreType)
|
NotificationChain |
eInverseRemove(InternalEObject otherEnd,
int featureID,
NotificationChain msgs)
|
boolean |
eIsSet(int featureID)
|
void |
eSet(int featureID,
java.lang.Object newValue)
|
protected EClass |
eStaticClass()
|
void |
eUnset(int featureID)
|
XSDAnnotation |
getAnnotation()
|
java.lang.String |
getNamespace()
|
protected void |
handleResolvedSchema(XSDSchema xsdSchema)
|
XSDSchema |
importSchema()
|
protected void |
reconcileAttributes(org.w3c.dom.Element changedElement)
|
void |
setAnnotation(XSDAnnotation newAnnotation)
|
void |
setNamespace(java.lang.String newNamespace)
|
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.xsd.impl.XSDSchemaDirectiveImpl |
---|
getResolvedSchema, getSchemaLocation, locateSchema, orphanBy, reset, resolve, resolveSchemaLocation, setResolvedSchema, setSchemaLocation |
Methods inherited from class org.eclipse.xsd.impl.XSDSchemaContentImpl |
---|
createSchemaContent |
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.xsd.XSDSchemaDirective |
---|
getResolvedSchema, getSchemaLocation, setResolvedSchema, setSchemaLocation |
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 static final java.lang.String NAMESPACE_EDEFAULT
Namespace
' attribute.
getNamespace()
protected java.lang.String namespace
Namespace
' attribute.
getNamespace()
protected XSDAnnotation annotation
Annotation
' containment reference.
getAnnotation()
Constructor Detail |
---|
protected XSDImportImpl()
Method Detail |
---|
public static XSDImport createImport(org.w3c.dom.Node node)
public org.w3c.dom.Element createElement()
createElement
in class XSDConcreteComponentImpl
protected EClass eStaticClass()
eStaticClass
in class XSDSchemaDirectiveImpl
public java.lang.String getNamespace()
getNamespace
in interface XSDImport
XSDImport.setNamespace(String)
,
XSDPackage.getXSDImport_Namespace()
public void setNamespace(java.lang.String newNamespace)
setNamespace
in interface XSDImport
newNamespace
- the new value of the 'Namespace' attribute.XSDImport.getNamespace()
public XSDAnnotation getAnnotation()
getAnnotation
in interface XSDImport
XSDImport.setAnnotation(XSDAnnotation)
,
XSDPackage.getXSDImport_Annotation()
public void setAnnotation(XSDAnnotation newAnnotation)
setAnnotation
in interface XSDImport
newAnnotation
- the new value of the 'Annotation' containment reference.XSDImport.getAnnotation()
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
eInverseRemove
in class XSDConcreteComponentImpl
public NotificationChain basicSetAnnotation(XSDAnnotation newAnnotation, NotificationChain msgs)
public java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in interface InternalEObject
eGet
in class XSDSchemaDirectiveImpl
public void eSet(int featureID, java.lang.Object newValue)
eSet
in interface InternalEObject
eSet
in class XSDSchemaDirectiveImpl
public void eUnset(int featureID)
eUnset
in interface InternalEObject
eUnset
in class XSDSchemaDirectiveImpl
public boolean eIsSet(int featureID)
eIsSet
in interface InternalEObject
eIsSet
in class XSDSchemaDirectiveImpl
public java.lang.String toString()
toString
in class XSDSchemaDirectiveImpl
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()
public XSDSchema importSchema()
protected void handleResolvedSchema(XSDSchema xsdSchema)
handleResolvedSchema
in class XSDSchemaDirectiveImpl
protected void reconcileAttributes(org.w3c.dom.Element changedElement)
reconcileAttributes
in class XSDSchemaDirectiveImpl
protected void changeAttribute(EAttribute eAttribute)
changeAttribute
in class XSDSchemaDirectiveImpl
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
|
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 |