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, forceResolve, INFORMATION, isReconciling, UNANALYZED, updatingDOM, WARNING, xsdContents |
| 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, eInverseRemove, 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, orphanContent, orphanDiagnostic, patch, populateDiagnostic, 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 |
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicClass, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eHasSettings, eInternalResource, eInverseAdd, eInverseAdd, eInverseRemove, eIsSet, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetDirectResource, eSetResource, eSetStore, eSetting, eSettingDelegate, eSettings, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStore, eUnset, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValues |
| 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, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset |
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()
-
reset
public void reset()
- Overrides:
reset in class XSDConcreteComponentImpl
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()
eGet
public Object eGet(int featureID,
boolean resolve,
boolean coreType)
-
- Specified by:
eGet in interface InternalEObject- Overrides:
eGet in class XSDConcreteComponentImpl
eSet
public void eSet(int featureID,
Object newValue)
-
- Specified by:
eSet in interface InternalEObject- Overrides:
eSet in class XSDConcreteComponentImpl
eUnset
public void eUnset(int featureID)
-
- Specified by:
eUnset in interface InternalEObject- Overrides:
eUnset in class XSDConcreteComponentImpl
eIsSet
public boolean eIsSet(int featureID)
-
- Specified by:
eIsSet in interface InternalEObject- Overrides:
eIsSet in class XSDConcreteComponentImpl
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
orphanBy
protected void orphanBy(XSDSchema xsdSchema)
- Overrides:
orphanBy 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)