org.eclipse.xsd.impl
Class XSDSchemaDirectiveImpl
java.lang.Object
org.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
- All Implemented Interfaces:
- EObject, InternalEObject, 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:
| Fields inherited from class org.eclipse.xsd.impl.XSDConcreteComponentImpl |
ANALYZED, ANALYZING, CIRCULAR, diagnostics, element, ELEMENT_EDEFAULT, ERROR, FATAL, INFORMATION, isReconciling, UNANALYZED, updatingDOM, WARNING, xsdContents |
|
Method Summary |
protected void |
changeAttribute(EAttribute eAttribute)
|
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)
|
XSDSchema |
getResolvedSchema()
|
String |
getSchemaLocation()
|
protected void |
handleResolvedSchema(XSDSchema xsdSchema)
|
protected XSDSchema |
locateSchema(XSDSchema xsdSchema,
String namespace,
String rawSchemaLocation,
String resolvedSchemaLocation)
|
protected void |
reconcileAttributes(Element changedElement)
|
protected void |
resolve(String namespace,
String schemaLocation)
|
protected String |
resolveSchemaLocation(XSDSchema xsdSchema,
String namespace,
String schemaLocation)
|
void |
setResolvedSchema(XSDSchema newResolvedSchema)
|
void |
setSchemaLocation(String newSchemaLocation)
|
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 |
eAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURI |
| Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl |
eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicSetContainer, eContainer, eContainingFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicClass, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicIsSet, eDynamicSet, eDynamicUnset, eGet, eHasSettings, eInternalResource, eInverseAdd, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eResolveProxy, eResource, eSetResource, eSetStore, eSetting, eSettingDelegate, eSettings, eStaticFeatureCount, eStore |
| 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 |
SCHEMA_LOCATION_EDEFAULT
protected static final String SCHEMA_LOCATION_EDEFAULT
- The default value of the '
Schema Location' attribute.
- See Also:
getSchemaLocation()
schemaLocation
protected 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 EClass eStaticClass()
-
- Overrides:
eStaticClass in class XSDSchemaContentImpl
getSchemaLocation
public String getSchemaLocation()
-
- Specified by:
getSchemaLocation in interface 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(String newSchemaLocation)
-
- Specified by:
setSchemaLocation in interface XSDSchemaDirective
- Parameters:
newSchemaLocation - the new value of the 'Schema Location' attribute.- See Also:
XSDSchemaDirective.getSchemaLocation()
getResolvedSchema
public XSDSchema getResolvedSchema()
-
- Specified by:
getResolvedSchema in interface 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
- Parameters:
newResolvedSchema - the new value of the 'Resolved Schema' reference.- See Also:
XSDSchemaDirective.getResolvedSchema()
eInverseRemove
public NotificationChain eInverseRemove(InternalEObject otherEnd,
int featureID,
Class baseClass,
NotificationChain msgs)
-
- Specified by:
eInverseRemove in interface InternalEObject- Overrides:
eInverseRemove in class XSDSchemaContentImpl
eGet
public Object eGet(EStructuralFeature eFeature,
boolean resolve)
-
- Specified by:
eGet in interface EObject- Overrides:
eGet in class XSDSchemaContentImpl
eSet
public void eSet(EStructuralFeature eFeature,
Object newValue)
-
- Specified by:
eSet in interface EObject- Overrides:
eSet in class XSDSchemaContentImpl
eUnset
public void eUnset(EStructuralFeature eFeature)
-
- Specified by:
eUnset in interface EObject- Overrides:
eUnset in class XSDSchemaContentImpl
eIsSet
public boolean eIsSet(EStructuralFeature eFeature)
-
- Specified by:
eIsSet in interface EObject- Overrides:
eIsSet in class XSDSchemaContentImpl
toString
public String toString()
-
- Overrides:
toString in class XSDConcreteComponentImpl
reconcileAttributes
protected void reconcileAttributes(Element changedElement)
- Overrides:
reconcileAttributes in class XSDConcreteComponentImpl
changeAttribute
protected void changeAttribute(EAttribute eAttribute)
- Overrides:
changeAttribute in class XSDConcreteComponentImpl
resolve
protected void resolve(String namespace,
String schemaLocation)
locateSchema
protected XSDSchema locateSchema(XSDSchema xsdSchema,
String namespace,
String rawSchemaLocation,
String resolvedSchemaLocation)
resolveSchemaLocation
protected String resolveSchemaLocation(XSDSchema xsdSchema,
String namespace,
String schemaLocation)
handleResolvedSchema
protected void handleResolvedSchema(XSDSchema xsdSchema)