org.eclipse.xsd.impl
Class XSDSchemaDirectiveImpl
java.lang.Object
|
+--org.eclipse.emf.common.notify.impl.NotifierImpl
|
+--org.eclipse.emf.ecore.impl.EObjectImpl
|
+--org.eclipse.xsd.impl.XSDConcreteComponentImpl
|
+--org.eclipse.xsd.impl.XSDSchemaContentImpl
|
+--org.eclipse.xsd.impl.XSDSchemaDirectiveImpl
- All Implemented Interfaces:
- org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.InternalEObject, org.eclipse.emf.common.notify.Notifier, XSDConcreteComponent, XSDSchemaContent, XSDSchemaDirective
- Direct Known Subclasses:
- XSDImportImpl, XSDSchemaCompositorImpl
- public abstract class XSDSchemaDirectiveImpl
- extends XSDSchemaContentImpl
- implements XSDSchemaDirective
An implementation of the model object 'Schema Directive'.
The following features are implemented:
Inner classes inherited from class org.eclipse.emf.ecore.impl.EObjectImpl |
org.eclipse.emf.ecore.impl.EObjectImpl.EPropertiesHolder |
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 |
eContainer, eContainerFeatureID, ELAST_EOBJECT_FLAG, eProperties |
Fields inherited from class org.eclipse.emf.common.notify.impl.NotifierImpl |
eAdapters, EDELIVER, eFlags, ELAST_NOTIFIER_FLAG |
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject |
EOPPOSITE_FEATURE_BASE |
Method Summary |
protected void |
changeAttribute(org.eclipse.emf.ecore.EAttribute eAttribute)
|
java.lang.Object |
eGet(org.eclipse.emf.ecore.EStructuralFeature eFeature,
boolean resolve)
|
org.eclipse.emf.common.notify.NotificationChain |
eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd,
int featureID,
java.lang.Class baseClass,
org.eclipse.emf.common.notify.NotificationChain msgs)
|
boolean |
eIsSet(org.eclipse.emf.ecore.EStructuralFeature eFeature)
|
void |
eSet(org.eclipse.emf.ecore.EStructuralFeature eFeature,
java.lang.Object newValue)
|
protected org.eclipse.emf.ecore.EClass |
eStaticClass()
|
void |
eUnset(org.eclipse.emf.ecore.EStructuralFeature eFeature)
|
XSDSchema |
getResolvedSchema()
|
java.lang.String |
getSchemaLocation()
|
protected void |
handleResolvedSchema(XSDSchema xsdSchema)
|
protected void |
reconcileAttributes(org.w3c.dom.Element changedElement)
|
protected void |
resolve(java.lang.String namespace,
java.lang.String schemaLocation)
|
void |
setResolvedSchema(XSDSchema newResolvedSchema)
|
void |
setSchemaLocation(java.lang.String newSchemaLocation)
|
java.lang.String |
toString()
|
Methods inherited from class org.eclipse.xsd.impl.XSDConcreteComponentImpl |
adoptBy, adoptContent, adoptDiagnostic, analyze, changeReference, checkAttributes, checkAttributeTypeConstraint, checkAttributeTypeConstraint, checkBuiltInTypeConstraint, checkComplexContent, checkComplexContent, checkElementComplexContent, checkSimpleTypeConstraint, clearDiagnostics, cloneConcreteComponent, cloneConcreteComponents, considerAllContainsForBestConcreteComponent, contains, createDiagnostic, createDiagnostic, createDiagnostic, createDiagnostic, createElement, createElement, createRequiredAttributeDiagnostic, createUnresolvedAttributeDeclaration, createUnresolvedAttributeGroupDefinition, createUnresolvedComplexTypeDefinition, createUnresolvedElementDeclaration, createUnresolvedIdentityConstraintDefinition, createUnresolvedModelGroupDefinition, createUnresolvedNotationDeclaration, createUnresolvedSimpleTypeDefinition, createUnresolvedTypeDefinition, elementAttributesChanged, elementChanged, elementContentsChanged, eNotificationRequired, eNotify, eObjectForURIFragmentSegment, eURIFragmentSegment, forceEngulf, forceEngulf, forceNiceInsertBefore, forceNiceRemoveChild, forceReplace, getAdoptionParentNode, getBestConcreteComponent, getComponentsWithApplicationInformation, getComponentsWithInformation, getComponentsWithUserInformation, getContainer, getContentNodes, getDiagnostics, getDiagnosticTarget, getElement, getRootContainer, getSchema, getURIReferenceLabel, getXSDContents, getXSDFactory, getXSDPackage, handleAnnotationReconciliation, handleElementForAdopt, handleReconciliation, handleUnreconciledElement, isUpdatingDOM, moveContent, niceCreateNamespaceAttribute, niceInsertBefore, niceRemoveChild, niceSetAttribute, niceSetAttributeURIValue, orphanBy, orphanContent, orphanDiagnostic, patch, printDFA, reconcile, reconcileContents, reportConstraintViolation, 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, validate |
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl |
eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicSetContainer, eClass, eContainer, eContainerFeatureID, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicIsSet, eDynamicSet, eDynamicUnset, eGet, eInternalResource, eInverseAdd, eIsProxy, eProperties, eProxyURI, eResource, eSetClass, eSetProxyURI, eSetResource, eSetting, eSettingIndex, eSettings |
Methods inherited from class org.eclipse.emf.common.notify.impl.NotifierImpl |
eAdapters, eDeliver, eSetDeliver |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.eclipse.xsd.XSDConcreteComponent |
clearDiagnostics, cloneConcreteComponent, 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, validate |
Methods inherited from interface org.eclipse.emf.ecore.EObject |
eAllContents, eClass, eContainer, eContainmentFeature, eContents, eCrossReferences, eGet, eIsProxy, eResource |
Methods inherited from interface org.eclipse.emf.common.notify.Notifier |
eAdapters, eDeliver, eNotify, eSetDeliver |
SCHEMA_LOCATION_EDEFAULT
protected static final java.lang.String SCHEMA_LOCATION_EDEFAULT
- The default value of the '
Schema Location
' attribute.
- See Also:
getSchemaLocation()
schemaLocation
protected java.lang.String schemaLocation
- The cached value of the '
Schema Location
' attribute.
- See Also:
getSchemaLocation()
resolvedSchema
protected XSDSchema resolvedSchema
- The cached value of the '
Resolved Schema
' reference.
- See Also:
getResolvedSchema()
resolved
protected boolean resolved
XSDSchemaDirectiveImpl
protected XSDSchemaDirectiveImpl()
eStaticClass
protected org.eclipse.emf.ecore.EClass eStaticClass()
-
- Overrides:
eStaticClass
in class XSDSchemaContentImpl
getSchemaLocation
public java.lang.String getSchemaLocation()
-
- Specified by:
getSchemaLocation
in interface XSDSchemaDirective
- Following copied from interface:
org.eclipse.xsd.XSDSchemaDirective
- Returns:
- the value of the 'Schema Location' attribute.
- See Also:
XSDSchema.getSchemaLocation()
,
XSDSchemaDirective.getResolvedSchema()
,
XSDSchemaDirective.setSchemaLocation(String)
,
XSDPackage.getXSDSchemaDirective_SchemaLocation()
setSchemaLocation
public void setSchemaLocation(java.lang.String newSchemaLocation)
-
- Specified by:
setSchemaLocation
in interface XSDSchemaDirective
- Following copied from interface:
org.eclipse.xsd.XSDSchemaDirective
- Parameters:
value
- the new value of the 'Schema Location' attribute.- See Also:
XSDSchemaDirective.getSchemaLocation()
getResolvedSchema
public XSDSchema getResolvedSchema()
-
- Specified by:
getResolvedSchema
in interface XSDSchemaDirective
- Following copied from interface:
org.eclipse.xsd.XSDSchemaDirective
- Returns:
- the value of the 'Resolved Schema' reference.
- See Also:
XSDSchemaDirective.getSchemaLocation()
,
XSDSchemaDirective.setResolvedSchema(XSDSchema)
,
XSDPackage.getXSDSchemaDirective_ResolvedSchema()
setResolvedSchema
public void setResolvedSchema(XSDSchema newResolvedSchema)
-
- Specified by:
setResolvedSchema
in interface XSDSchemaDirective
- Following copied from interface:
org.eclipse.xsd.XSDSchemaDirective
- Parameters:
value
- the new value of the 'Resolved Schema' reference.- See Also:
XSDSchemaDirective.getResolvedSchema()
eInverseRemove
public org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd,
int featureID,
java.lang.Class baseClass,
org.eclipse.emf.common.notify.NotificationChain msgs)
-
- Overrides:
eInverseRemove
in class XSDSchemaContentImpl
eGet
public java.lang.Object eGet(org.eclipse.emf.ecore.EStructuralFeature eFeature,
boolean resolve)
-
- Specified by:
eGet
in interface org.eclipse.emf.ecore.EObject
- Overrides:
eGet
in class XSDSchemaContentImpl
eSet
public void eSet(org.eclipse.emf.ecore.EStructuralFeature eFeature,
java.lang.Object newValue)
-
- Specified by:
eSet
in interface org.eclipse.emf.ecore.EObject
- Overrides:
eSet
in class XSDSchemaContentImpl
eUnset
public void eUnset(org.eclipse.emf.ecore.EStructuralFeature eFeature)
-
- Specified by:
eUnset
in interface org.eclipse.emf.ecore.EObject
- Overrides:
eUnset
in class XSDSchemaContentImpl
eIsSet
public boolean eIsSet(org.eclipse.emf.ecore.EStructuralFeature eFeature)
-
- Specified by:
eIsSet
in interface org.eclipse.emf.ecore.EObject
- Overrides:
eIsSet
in class XSDSchemaContentImpl
toString
public java.lang.String toString()
-
- Overrides:
toString
in class XSDConcreteComponentImpl
reconcileAttributes
protected void reconcileAttributes(org.w3c.dom.Element changedElement)
- Overrides:
reconcileAttributes
in class XSDConcreteComponentImpl
changeAttribute
protected void changeAttribute(org.eclipse.emf.ecore.EAttribute eAttribute)
- Overrides:
changeAttribute
in class XSDConcreteComponentImpl
resolve
protected void resolve(java.lang.String namespace,
java.lang.String schemaLocation)
handleResolvedSchema
protected void handleResolvedSchema(XSDSchema xsdSchema)