|
|||||||||||
| 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.XSDScopeImpl
org.eclipse.xsd.impl.XSDSchemaImpl
An implementation of the model object 'Schema'.
The following features are implemented:
DocumentSchema LocationTarget NamespaceAttribute Form DefaultElement Form DefaultFinal DefaultBlock DefaultVersionContentsElement DeclarationsAttribute DeclarationsAttribute Group DefinitionsType DefinitionsModel Group DefinitionsIdentity Constraint DefinitionsNotation DeclarationsAnnotationsAll DiagnosticsReferencing DirectivesRoot VersionOriginal VersionIncorporated VersionsSchema For Schema
| 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 |
allDiagnostics
The cached value of the ' All Diagnostics' reference list |
protected EList |
annotations
The cached value of the ' Annotations' reference list |
protected static XSDForm |
ATTRIBUTE_FORM_DEFAULT_EDEFAULT
The default value of the ' Attribute Form Default' attribute |
protected static int |
ATTRIBUTE_FORM_DEFAULT_ESETFLAG
The flag representing whether the Attribute Form Default attribute has been set |
protected EList |
attributeDeclarations
The cached value of the ' Attribute Declarations' reference list |
protected XSDForm |
attributeFormDefault
The cached value of the ' Attribute Form Default' attribute |
protected EList |
attributeGroupDefinitions
The cached value of the ' Attribute Group Definitions' reference list |
protected EList |
blockDefault
The cached value of the ' Block Default' attribute list |
protected EList |
contents
The cached value of the ' Contents' containment reference list |
protected Node |
deletionNode
|
protected Document |
document
The cached value of the ' Document' attribute |
protected static Document |
DOCUMENT_EDEFAULT
The default value of the ' Document' attribute |
protected static XSDForm |
ELEMENT_FORM_DEFAULT_EDEFAULT
The default value of the ' Element Form Default' attribute |
protected static int |
ELEMENT_FORM_DEFAULT_ESETFLAG
The flag representing whether the Element Form Default attribute has been set |
protected EList |
elementDeclarations
The cached value of the ' Element Declarations' reference list |
protected XSDForm |
elementFormDefault
The cached value of the ' Element Form Default' attribute |
protected EventListener |
eventListener
|
protected EList |
finalDefault
The cached value of the ' Final Default' attribute list |
protected static ResourceSet |
globalResourceSet
|
protected boolean |
hasRetargetedNamespace
|
protected EList |
identityConstraintDefinitions
The cached value of the ' Identity Constraint Definitions' reference list |
protected EList |
incorporatedVersions
The cached value of the ' Incorporated Versions' containment reference list |
protected List |
incorporatingSchemas
|
protected boolean |
isIncrementalUpdate
|
protected EList |
modelGroupDefinitions
The cached value of the ' Model Group Definitions' reference list |
protected EList |
notationDeclarations
The cached value of the ' Notation Declarations' reference list |
protected String |
pendingSchemaLocation
|
protected Map |
qNamePrefixToNamespaceMap
|
protected Map |
redefinitionMap
|
protected EList |
referencingDirectives
The cached value of the ' Referencing Directives' reference list |
protected static String |
SCHEMA_LOCATION_EDEFAULT
The default value of the ' Schema Location' attribute |
protected String |
schemaForSchemaQNamePrefix
|
protected String |
schemaLocation
The cached value of the ' Schema Location' attribute |
protected List |
schemasToRedefine
|
protected Map |
simpleTypeIdMap
|
protected static String |
TARGET_NAMESPACE_EDEFAULT
The default value of the ' Target Namespace' attribute |
protected String |
targetNamespace
The cached value of the ' Target Namespace' attribute |
protected EList |
typeDefinitions
The cached value of the ' Type Definitions' reference list |
protected String |
version
The cached value of the ' Version' attribute |
protected static String |
VERSION_EDEFAULT
The default value of the ' Version' attribute |
protected static XSDSchema |
xsdMagicSchemaForSchema1999
|
protected static XSDSchema |
xsdMagicSchemaForSchema2000_10
|
protected static XSDSchema |
xsdMagicSchemaForSchema2001
|
protected static XSDSchema |
xsdSchemaForSchema1999
|
protected static XSDSchema |
xsdSchemaForSchema2000_10
|
protected static XSDSchema |
xsdSchemaForSchema2001
|
protected static XSDSchema |
xsdSchemaInstance2001
|
| 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 |
XSDSchemaImpl()
|
| Method Summary | |
protected void |
adoptContent(EReference eReference,
XSDConcreteComponent xsdConcreteComponent)
|
protected boolean |
analyze()
|
protected void |
changeAttribute(EAttribute eAttribute)
|
protected void |
changeReference(EReference eReference)
|
XSDConcreteComponent |
cloneConcreteComponent(boolean deep,
boolean shareDOM)
Creates a clone of the component. |
Element |
createElement()
|
static XSDSchema |
createMetaSchema(Node node)
|
static ResourceSet |
createResourceSet()
|
static XSDSchema |
createSchema(Node node)
|
Object |
eGet(int featureID,
boolean resolve,
boolean coreType)
|
NotificationChain |
eInverseRemove(InternalEObject otherEnd,
int featureID,
NotificationChain msgs)
|
boolean |
eIsSet(int featureID)
|
void |
eSet(int featureID,
Object newValue)
|
protected EClass |
eStaticClass()
|
void |
eUnset(int featureID)
|
EList |
getAllDiagnostics()
|
EList |
getAnnotations()
|
EList |
getAttributeDeclarations()
|
XSDForm |
getAttributeFormDefault()
|
EList |
getAttributeGroupDefinitions()
|
EList |
getBlockDefault()
|
EList |
getContents()
|
XSDConcreteComponent |
getCorrespondingComponent(Node node)
Returns the best concrete component that corresponds to the given node. |
Node |
getDeletionNode()
|
Document |
getDocument()
|
EList |
getElementDeclarations()
|
XSDForm |
getElementFormDefault()
|
protected EventListener |
getEventListener()
|
EList |
getFinalDefault()
|
static ResourceSet |
getGlobalResourceSet()
|
EList |
getIdentityConstraintDefinitions()
|
EList |
getIncorporatedVersions()
|
XSDSchema |
getMagicSchemaForSchema()
|
static XSDSchema |
getMagicSchemaForSchema(String namespace)
|
EList |
getModelGroupDefinitions()
|
EList |
getNotationDeclarations()
|
XSDSchema |
getOriginalVersion()
Returns the value of the 'Original Version' reference |
String |
getPendingSchemaLocation()
|
Map |
getQNamePrefixToNamespaceMap()
This returns the map defined by the xmlns attributes of the underlying XML representation. |
Map |
getRedefinitionMap()
|
EList |
getReferencingDirectives()
|
XSDSchema |
getRootVersion()
Returns the value of the 'Root Version' reference |
XSDSchema |
getSchemaForSchema()
Returns the value of the 'Schema For Schema' reference |
static XSDSchema |
getSchemaForSchema(String namespace)
|
String |
getSchemaForSchemaNamespace()
This returns (String)getQNamePrefixToNamespaceMap().get(getSchemaForSchemaQNamePrefix()); you can't set this directly. |
String |
getSchemaForSchemaQNamePrefix()
This returns the QName prefix used to reference the schema for schema; it must be a key in getQNamePrefixToNamespaceMap(). |
static XSDSchema |
getSchemaInstance(String namespace)
|
String |
getSchemaLocation()
|
List |
getSchemasToRedefine()
|
Map |
getSimpleTypeIdMap()
Returns a map from String ID to XSDSimpleTypeDefinition
based on the IDs in the DOM representation.
|
String |
getStringBlockDefault()
Returns the String value of the ' Block Default' attribute list |
String |
getStringFinalDefault()
Returns the String value of the ' Final Default' attribute list |
String |
getTargetNamespace()
|
EList |
getTypeDefinitions()
|
String |
getVersion()
|
protected void |
handleReconciliation(List newContents,
List remainingContents)
|
protected void |
handleUnreconciledElement(Element child,
List newContents,
List remainingContents)
|
boolean |
hasRetargetedNamespace()
|
XSDSchema |
imported(XSDImport xsdImport)
|
XSDSchema |
included(XSDInclude xsdInclude)
|
protected void |
incorporate(XSDSchemaCompositor xsdSchemaCompositor)
|
boolean |
isIncrementalUpdate()
Returns whether the schema will incrementally resolve QNames and perform analysis after each edit change. |
boolean |
isSetAttributeFormDefault()
|
boolean |
isSetBlockDefault()
|
boolean |
isSetElementFormDefault()
|
boolean |
isSetFinalDefault()
|
protected void |
orphanContent(EReference eReference,
XSDConcreteComponent xsdConcreteComponent)
|
protected void |
patch()
|
protected void |
patchContents()
|
void |
propogateComponents(XSDSchema otherXSDSchema)
|
protected void |
reconcileAttributes(Element changedElement)
|
XSDSchema |
redefined(XSDRedefine xsdRedefine)
|
void |
reset()
Resets the effects of imports, includes, and redefines so that they will be reprocessed. |
protected void |
reset(List components)
|
XSDAttributeDeclaration |
resolveAttributeDeclaration(String namespace,
String localName)
Returns the resolved attribute declaration of the given namespace and name.
|
XSDAttributeGroupDefinition |
resolveAttributeGroupDefinition(String namespace,
String localName)
Returns the resolved attribute group definition the given namespace and name.
|
XSDComplexTypeDefinition |
resolveComplexTypeDefinition(String namespace,
String localName)
Returns the resolved complex type definition of the given namespace and name.
|
XSDElementDeclaration |
resolveElementDeclaration(String namespace,
String localName)
Returns the resolved element declaration of the given namespace and name.
|
XSDIdentityConstraintDefinition |
resolveIdentityConstraintDefinition(String namespace,
String localName)
Returns the resolved identity constraint definition of the given namespace and name.
|
XSDModelGroupDefinition |
resolveModelGroupDefinition(String namespace,
String localName)
Returns the resolved model group definition of the given namespace and name.
|
protected XSDNamedComponent |
resolveNamedComponent(EReference namedComponentsRefReference,
String namespace,
String localName)
This is a helper method for searching for a name in one of the schemas named component relations. |
XSDNotationDeclaration |
resolveNotationDeclaration(String namespace,
String localName)
Returns the resolved notation declaration of the given namespace and name.
|
Collection |
resolveSchema(String namespace)
This returns set of schemas with the given namespace as it's target namespace. |
XSDSimpleTypeDefinition |
resolveSimpleTypeDefinition(String namespace,
String localName)
Returns the resolved simple type definition of the given namespace and name.
|
XSDTypeDefinition |
resolveTypeDefinition(String namespace,
String localName)
Returns the resolved type definition of the given namespace and name.
|
void |
setAttributeFormDefault(XSDForm newAttributeFormDefault)
|
void |
setDocument(Document newDocument)
|
void |
setElement(Element element)
Sets the value of the ' Element' attribute |
void |
setElementFormDefault(XSDForm newElementFormDefault)
|
void |
setIncrementalUpdate(boolean isIncrementalUpdate)
Sets whether the schema will incrementally resolve QNames and perform analysis after each edit change. |
void |
setSchemaForSchemaQNamePrefix(String qNamePrefix)
This sets the QName prefix used to reference the schema for schema; it must be a key in getQNamePrefixToNamespaceMap() that maps to a valid schema for schema namespace.
|
void |
setSchemaLocation(String newSchemaLocation)
|
void |
setStringBlockDefault(String blockDefault)
Returns the String value of the ' Block Default' attribute list |
void |
setStringFinalDefault(String finalDefault)
Set the String value of the ' Final Default' attribute list |
void |
setTargetNamespace(String newTargetNamespace)
|
void |
setVersion(String newVersion)
|
String |
toString()
|
protected void |
traverseToRootForAnalysis()
|
protected void |
traverseToRootForPatching()
|
void |
unsetAttributeFormDefault()
|
void |
unsetBlockDefault()
|
void |
unsetElementFormDefault()
|
void |
unsetFinalDefault()
|
void |
update()
Resolves QNames and performs analysis. |
void |
update(boolean force)
Resolves QNames and performs analysis. |
Document |
updateDocument()
Ensures that the document will be set to an instance that can be used to create a DOM serialization. |
protected void |
updateSortedList(XSDNamedComponent xsdNamedComponent)
|
void |
validate()
Validates whether this component conforms to the constraints defined in the XML Schema standard. |
void |
validateNoDuplicates(String componentNoun,
EList xsdNamedComponents)
|
| 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 static final Document DOCUMENT_EDEFAULT
Document' attribute.
getDocument()protected Document document
Document' attribute.
getDocument()protected static final String SCHEMA_LOCATION_EDEFAULT
Schema Location' attribute.
getSchemaLocation()protected String schemaLocation
Schema Location' attribute.
getSchemaLocation()protected static final String TARGET_NAMESPACE_EDEFAULT
Target Namespace' attribute.
getTargetNamespace()protected String targetNamespace
Target Namespace' attribute.
getTargetNamespace()protected static final XSDForm ATTRIBUTE_FORM_DEFAULT_EDEFAULT
Attribute Form Default' attribute.
getAttributeFormDefault()protected XSDForm attributeFormDefault
Attribute Form Default' attribute.
getAttributeFormDefault()protected static final int ATTRIBUTE_FORM_DEFAULT_ESETFLAG
protected static final XSDForm ELEMENT_FORM_DEFAULT_EDEFAULT
Element Form Default' attribute.
getElementFormDefault()protected XSDForm elementFormDefault
Element Form Default' attribute.
getElementFormDefault()protected static final int ELEMENT_FORM_DEFAULT_ESETFLAG
protected EList finalDefault
Final Default' attribute list.
getFinalDefault()protected EList blockDefault
Block Default' attribute list.
getBlockDefault()protected static final String VERSION_EDEFAULT
Version' attribute.
getVersion()protected String version
Version' attribute.
getVersion()protected EList contents
Contents' containment reference list.
getContents()protected EList elementDeclarations
Element Declarations' reference list.
getElementDeclarations()protected EList attributeDeclarations
Attribute Declarations' reference list.
getAttributeDeclarations()protected EList attributeGroupDefinitions
Attribute Group Definitions' reference list.
getAttributeGroupDefinitions()protected EList typeDefinitions
Type Definitions' reference list.
getTypeDefinitions()protected EList modelGroupDefinitions
Model Group Definitions' reference list.
getModelGroupDefinitions()protected EList identityConstraintDefinitions
Identity Constraint Definitions' reference list.
getIdentityConstraintDefinitions()protected EList notationDeclarations
Notation Declarations' reference list.
getNotationDeclarations()protected EList annotations
Annotations' reference list.
getAnnotations()protected EList allDiagnostics
All Diagnostics' reference list.
getAllDiagnostics()protected EList referencingDirectives
Referencing Directives' reference list.
getReferencingDirectives()protected EList incorporatedVersions
Incorporated Versions' containment reference list.
getIncorporatedVersions()protected static ResourceSet globalResourceSet
protected static XSDSchema xsdMagicSchemaForSchema2001
protected static XSDSchema xsdSchemaForSchema2001
protected static XSDSchema xsdSchemaInstance2001
protected static XSDSchema xsdMagicSchemaForSchema2000_10
protected static XSDSchema xsdSchemaForSchema2000_10
protected static XSDSchema xsdMagicSchemaForSchema1999
protected static XSDSchema xsdSchemaForSchema1999
protected Map qNamePrefixToNamespaceMap
protected String schemaForSchemaQNamePrefix
protected boolean hasRetargetedNamespace
protected Map simpleTypeIdMap
protected List incorporatingSchemas
protected EventListener eventListener
protected Node deletionNode
protected boolean isIncrementalUpdate
protected String pendingSchemaLocation
protected List schemasToRedefine
protected Map redefinitionMap
| Constructor Detail |
protected XSDSchemaImpl()
| Method Detail |
public static XSDSchema createSchema(Node node)
public static XSDSchema createMetaSchema(Node node)
public static ResourceSet getGlobalResourceSet()
public static ResourceSet createResourceSet()
public static XSDSchema getMagicSchemaForSchema(String namespace)
public static XSDSchema getSchemaForSchema(String namespace)
public static XSDSchema getSchemaInstance(String namespace)
protected EClass eStaticClass()
eStaticClass in class XSDScopeImplpublic Document getDocument()
getDocument in interface XSDSchemaXSDSchema.setDocument(Document),
XSDPackage.getXSDSchema_Document()public void setDocument(Document newDocument)
setDocument in interface XSDSchemanewDocument - the new value of the 'Document' attribute.XSDSchema.getDocument()public String getSchemaLocation()
getSchemaLocation in interface XSDSchemaXSDSchema.setSchemaLocation(String),
XSDPackage.getXSDSchema_SchemaLocation()public void setSchemaLocation(String newSchemaLocation)
setSchemaLocation in interface XSDSchemanewSchemaLocation - the new value of the 'Schema Location' attribute.XSDSchema.getSchemaLocation()public String getTargetNamespace()
getTargetNamespace in interface XSDSchemaXSDSchema.setTargetNamespace(String),
XSDPackage.getXSDSchema_TargetNamespace()public void setTargetNamespace(String newTargetNamespace)
setTargetNamespace in interface XSDSchemanewTargetNamespace - the new value of the 'Target Namespace' attribute.XSDSchema.getTargetNamespace()public XSDForm getAttributeFormDefault()
getAttributeFormDefault in interface XSDSchemaXSDForm,
XSDSchema.isSetAttributeFormDefault(),
XSDSchema.unsetAttributeFormDefault(),
XSDSchema.setAttributeFormDefault(XSDForm),
XSDPackage.getXSDSchema_AttributeFormDefault()public void setAttributeFormDefault(XSDForm newAttributeFormDefault)
setAttributeFormDefault in interface XSDSchemanewAttributeFormDefault - the new value of the 'Attribute Form Default' attribute.XSDForm,
XSDSchema.isSetAttributeFormDefault(),
XSDSchema.unsetAttributeFormDefault(),
XSDSchema.getAttributeFormDefault()public void unsetAttributeFormDefault()
unsetAttributeFormDefault in interface XSDSchemaXSDSchema.isSetAttributeFormDefault(),
XSDSchema.getAttributeFormDefault(),
XSDSchema.setAttributeFormDefault(XSDForm)public boolean isSetAttributeFormDefault()
isSetAttributeFormDefault in interface XSDSchemaXSDSchema.unsetAttributeFormDefault(),
XSDSchema.getAttributeFormDefault(),
XSDSchema.setAttributeFormDefault(XSDForm)public XSDForm getElementFormDefault()
getElementFormDefault in interface XSDSchemaXSDForm,
XSDSchema.isSetElementFormDefault(),
XSDSchema.unsetElementFormDefault(),
XSDSchema.setElementFormDefault(XSDForm),
XSDPackage.getXSDSchema_ElementFormDefault()public void setElementFormDefault(XSDForm newElementFormDefault)
setElementFormDefault in interface XSDSchemanewElementFormDefault - the new value of the 'Element Form Default' attribute.XSDForm,
XSDSchema.isSetElementFormDefault(),
XSDSchema.unsetElementFormDefault(),
XSDSchema.getElementFormDefault()public void unsetElementFormDefault()
unsetElementFormDefault in interface XSDSchemaXSDSchema.isSetElementFormDefault(),
XSDSchema.getElementFormDefault(),
XSDSchema.setElementFormDefault(XSDForm)public boolean isSetElementFormDefault()
isSetElementFormDefault in interface XSDSchemaXSDSchema.unsetElementFormDefault(),
XSDSchema.getElementFormDefault(),
XSDSchema.setElementFormDefault(XSDForm)public EList getFinalDefault()
getFinalDefault in interface XSDSchemaXSDProhibitedSubstitutions,
XSDSchema.isSetFinalDefault(),
XSDSchema.unsetFinalDefault(),
XSDPackage.getXSDSchema_FinalDefault()public void unsetFinalDefault()
unsetFinalDefault in interface XSDSchemaXSDSchema.isSetFinalDefault(),
XSDSchema.getFinalDefault()public boolean isSetFinalDefault()
isSetFinalDefault in interface XSDSchemaXSDSchema.unsetFinalDefault(),
XSDSchema.getFinalDefault()public EList getBlockDefault()
getBlockDefault in interface XSDSchemaXSDDisallowedSubstitutions,
XSDSchema.isSetBlockDefault(),
XSDSchema.unsetBlockDefault(),
XSDPackage.getXSDSchema_BlockDefault()public void unsetBlockDefault()
unsetBlockDefault in interface XSDSchemaXSDSchema.isSetBlockDefault(),
XSDSchema.getBlockDefault()public boolean isSetBlockDefault()
isSetBlockDefault in interface XSDSchemaXSDSchema.unsetBlockDefault(),
XSDSchema.getBlockDefault()public String getVersion()
getVersion in interface XSDSchemaXSDSchema.setVersion(String),
XSDPackage.getXSDSchema_Version()public void setVersion(String newVersion)
setVersion in interface XSDSchemanewVersion - the new value of the 'Version' attribute.XSDSchema.getVersion()public EList getContents()
getContents in interface XSDSchemaXSDPackage.getXSDSchema_Contents()public EList getElementDeclarations()
getElementDeclarations in interface XSDSchemaXSDPackage.getXSDSchema_ElementDeclarations()public EList getAttributeDeclarations()
getAttributeDeclarations in interface XSDSchemaXSDPackage.getXSDSchema_AttributeDeclarations()public EList getAttributeGroupDefinitions()
getAttributeGroupDefinitions in interface XSDSchemaXSDPackage.getXSDSchema_AttributeGroupDefinitions()public EList getTypeDefinitions()
getTypeDefinitions in interface XSDSchemaXSDPackage.getXSDSchema_TypeDefinitions()public EList getModelGroupDefinitions()
getModelGroupDefinitions in interface XSDSchemaXSDPackage.getXSDSchema_ModelGroupDefinitions()public EList getIdentityConstraintDefinitions()
getIdentityConstraintDefinitions in interface XSDSchemaXSDPackage.getXSDSchema_IdentityConstraintDefinitions()public EList getNotationDeclarations()
getNotationDeclarations in interface XSDSchemaXSDPackage.getXSDSchema_NotationDeclarations()public EList getAnnotations()
getAnnotations in interface XSDSchemaXSDPackage.getXSDSchema_Annotations()public EList getAllDiagnostics()
getAllDiagnostics in interface XSDSchemaXSDPackage.getXSDSchema_AllDiagnostics()public EList getReferencingDirectives()
getReferencingDirectives in interface XSDSchemaXSDPackage.getXSDSchema_ReferencingDirectives()public boolean hasRetargetedNamespace()
public XSDSchema getOriginalVersion()
XSDSchema
This represents the schema from which an incorporated version originates.
The root version has itself as its original version.
getOriginalVersion in interface XSDSchemaXSDPackage.getXSDSchema_OriginalVersion()public EList getIncorporatedVersions()
getIncorporatedVersions in interface XSDSchemaXSDSchemaCompositor.getIncorporatedSchema(),
XSDPackage.getXSDSchema_IncorporatedVersions()public XSDSchema getRootVersion()
XSDSchema
This walks the original versions
until it hits one that has no original version.
getRootVersion in interface XSDSchemaXSDPackage.getXSDSchema_RootVersion()public Map getQNamePrefixToNamespaceMap()
getQNamePrefixToNamespaceMap in interface XSDSchemaXSDSchema.getSchemaForSchemaQNamePrefix(),
XSDSchema.getSchemaForSchemaNamespace()public String getSchemaForSchemaQNamePrefix()
getQNamePrefixToNamespaceMap().
getSchemaForSchemaQNamePrefix in interface XSDSchemaXSDSchema.setSchemaForSchemaQNamePrefix(java.lang.String),
XSDSchema.getQNamePrefixToNamespaceMap()public void setSchemaForSchemaQNamePrefix(String qNamePrefix)
getQNamePrefixToNamespaceMap() that maps to a valid schema for schema namespace.
It can also be used to rename the prefix, one it's established.
setSchemaForSchemaQNamePrefix in interface XSDSchemaqNamePrefix - the new schema for schema QName prefix.XSDSchema.getSchemaForSchemaQNamePrefix(),
XSDSchema.getQNamePrefixToNamespaceMap()public String getSchemaForSchemaNamespace()
getSchemaForSchemaNamespace in interface XSDSchemaXSDSchema.getQNamePrefixToNamespaceMap(),
XSDSchema.getSchemaForSchemaQNamePrefix()public String getStringBlockDefault()
XSDSchemaBlock Default' attribute list.
getStringBlockDefault in interface XSDSchemaXSDSchema.getBlockDefault(),
XSDSchema.setStringBlockDefault(java.lang.String)public void setStringBlockDefault(String blockDefault)
XSDSchemaBlock Default' attribute list.
setStringBlockDefault in interface XSDSchemablockDefault - the new value of the 'Block Default' attribute list.XSDSchema.getBlockDefault(),
XSDSchema.getStringBlockDefault()public String getStringFinalDefault()
XSDSchemaFinal Default' attribute list.
getStringFinalDefault in interface XSDSchemaXSDSchema.getFinalDefault(),
XSDSchema.setStringFinalDefault(java.lang.String)public void setStringFinalDefault(String finalDefault)
XSDSchemaFinal Default' attribute list.
setStringFinalDefault in interface XSDSchemafinalDefault - the new value of the 'Final Default' attribute list.XSDSchema.getFinalDefault(),
XSDSchema.getStringFinalDefault()public Element createElement()
createElement in class XSDConcreteComponentImplprotected void traverseToRootForPatching()
traverseToRootForPatching in class XSDConcreteComponentImplprotected void patch()
patch in class XSDConcreteComponentImplprotected void patchContents()
protected void traverseToRootForAnalysis()
traverseToRootForAnalysis in class XSDConcreteComponentImplprotected boolean analyze()
analyze in class XSDConcreteComponentImplpublic void validate()
XSDConcreteComponentDiagnostics 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 XSDConcreteComponentvalidate in class XSDConcreteComponentImpl
public void validateNoDuplicates(String componentNoun,
EList xsdNamedComponents)
protected void updateSortedList(XSDNamedComponent xsdNamedComponent)
protected void adoptContent(EReference eReference,
XSDConcreteComponent xsdConcreteComponent)
adoptContent in class XSDConcreteComponentImpl
protected void orphanContent(EReference eReference,
XSDConcreteComponent xsdConcreteComponent)
orphanContent in class XSDConcreteComponentImplprotected void reconcileAttributes(Element changedElement)
reconcileAttributes in class XSDConcreteComponentImpl
protected void handleUnreconciledElement(Element child,
List newContents,
List remainingContents)
handleUnreconciledElement in class XSDConcreteComponentImpl
protected void handleReconciliation(List newContents,
List remainingContents)
handleReconciliation in class XSDConcreteComponentImplpublic XSDConcreteComponent getCorrespondingComponent(Node node)
XSDSchema
getCorrespondingComponent in interface XSDSchemanode - the node to find.
XSDConcreteComponent.getElement()public Map getSimpleTypeIdMap()
XSDSchemaXSDSimpleTypeDefinition
based on the IDs in the DOM representation.
For the schema for schema,
this represents the
built-in datatypes.
getSimpleTypeIdMap in interface XSDSchemaXSDSimpleTypeDefinitionXSDSchema.getSchemaForSchema()public Collection resolveSchema(String namespace)
protected XSDNamedComponent resolveNamedComponent(EReference namedComponentsRefReference,
String namespace,
String localName)
public XSDAttributeDeclaration resolveAttributeDeclaration(String namespace,
String localName)
XSDConcreteComponentnamespace and name.
An unresolved instance is synthesized to hold the namespace and name if an existing instance cannot be found.
resolveAttributeDeclaration in interface XSDConcreteComponentresolveAttributeDeclaration in class XSDConcreteComponentImpl
public XSDAttributeGroupDefinition resolveAttributeGroupDefinition(String namespace,
String localName)
XSDConcreteComponentnamespace and name.
An unresolved instance is synthesized to hold the namespace and name if an existing instance cannot be found.
resolveAttributeGroupDefinition in interface XSDConcreteComponentresolveAttributeGroupDefinition in class XSDConcreteComponentImpl
public XSDElementDeclaration resolveElementDeclaration(String namespace,
String localName)
XSDConcreteComponentnamespace and name.
An unresolved instance is synthesized to hold the namespace and name if an existing instance cannot be found.
resolveElementDeclaration in interface XSDConcreteComponentresolveElementDeclaration in class XSDConcreteComponentImpl
public XSDTypeDefinition resolveTypeDefinition(String namespace,
String localName)
XSDConcreteComponentnamespace and name.
An unresolved instance is synthesized to hold the namespace and name if an existing instance cannot be found.
resolveTypeDefinition in interface XSDConcreteComponentresolveTypeDefinition in class XSDConcreteComponentImpl
public XSDSimpleTypeDefinition resolveSimpleTypeDefinition(String namespace,
String localName)
XSDConcreteComponentnamespace and name.
An unresolved instance is synthesized to hold the namespace and name if an existing instance cannot be found.
resolveSimpleTypeDefinition in interface XSDConcreteComponentresolveSimpleTypeDefinition in class XSDConcreteComponentImpl
public XSDComplexTypeDefinition resolveComplexTypeDefinition(String namespace,
String localName)
XSDConcreteComponentnamespace and name.
An unresolved instance is synthesized to hold the namespace and name if an existing instance cannot be found.
resolveComplexTypeDefinition in interface XSDConcreteComponentresolveComplexTypeDefinition in class XSDConcreteComponentImpl
public XSDModelGroupDefinition resolveModelGroupDefinition(String namespace,
String localName)
XSDConcreteComponentnamespace and name.
An unresolved instance is synthesized to hold the namespace and name if an existing instance cannot be found.
resolveModelGroupDefinition in interface XSDConcreteComponentresolveModelGroupDefinition in class XSDConcreteComponentImpl
public XSDIdentityConstraintDefinition resolveIdentityConstraintDefinition(String namespace,
String localName)
XSDConcreteComponentnamespace and name.
An unresolved instance is synthesized to hold the namespace and name if an existing instance cannot be found.
resolveIdentityConstraintDefinition in interface XSDConcreteComponentresolveIdentityConstraintDefinition in class XSDConcreteComponentImpl
public XSDNotationDeclaration resolveNotationDeclaration(String namespace,
String localName)
XSDConcreteComponentnamespace and name.
An unresolved instance is synthesized to hold the namespace and name if an existing instance cannot be found.
resolveNotationDeclaration in interface XSDConcreteComponentresolveNotationDeclaration in class XSDConcreteComponentImplprotected void changeAttribute(EAttribute eAttribute)
changeAttribute in class XSDConcreteComponentImplprotected void changeReference(EReference eReference)
changeReference in class XSDConcreteComponentImplpublic void setElement(Element element)
XSDConcreteComponentElement' attribute.
setElement in interface XSDConcreteComponentsetElement in class XSDConcreteComponentImplpublic XSDSchema getSchemaForSchema()
XSDSchema
This represents the
'schema for schemas'.
It is computed from the schema for schema namespace
and should typically not be set directly.
getSchemaForSchema in interface XSDSchemaXSDPackage.getXSDSchema_SchemaForSchema()
public NotificationChain eInverseRemove(InternalEObject otherEnd,
int featureID,
NotificationChain msgs)
eInverseRemove in class XSDConcreteComponentImpl
public Object eGet(int featureID,
boolean resolve,
boolean coreType)
eGet in interface InternalEObjecteGet in class XSDConcreteComponentImpl
public void eSet(int featureID,
Object newValue)
eSet in interface InternalEObjecteSet in class XSDConcreteComponentImplpublic void eUnset(int featureID)
eUnset in interface InternalEObjecteUnset in class XSDConcreteComponentImplpublic boolean eIsSet(int featureID)
eIsSet in interface InternalEObjecteIsSet in class XSDConcreteComponentImplpublic String toString()
toString in class XSDConcreteComponentImplpublic XSDSchema getMagicSchemaForSchema()
public Node getDeletionNode()
protected EventListener getEventListener()
public Document updateDocument()
XSDSchemadocument will be set to an instance that can be used to create a DOM serialization.
updateDocument in interface XSDSchemaXSDConcreteComponent.updateElement()public void setIncrementalUpdate(boolean isIncrementalUpdate)
XSDSchematrue will also result in an update.
setIncrementalUpdate in interface XSDSchemaisIncrementalUpdate - the new value.XSDSchema.isIncrementalUpdate(),
XSDSchema.update()public boolean isIncrementalUpdate()
XSDSchema
isIncrementalUpdate in interface XSDSchemaXSDSchema.setIncrementalUpdate(boolean),
XSDSchema.update()public void update()
XSDSchema
update in interface XSDSchemaXSDSchema.isIncrementalUpdate(),
XSDSchema.update()public void update(boolean force)
XSDSchemaforce is true even previously resolved QNames are resolved again.
update in interface XSDSchemaforce - whether previously resolved names should be resolved again.XSDSchema.isIncrementalUpdate(),
XSDSchema.update()public void reset()
XSDSchema
reset in interface XSDSchemareset in class XSDConcreteComponentImplprotected void reset(List components)
public String getPendingSchemaLocation()
public List getSchemasToRedefine()
public Map getRedefinitionMap()
public XSDSchema imported(XSDImport xsdImport)
public void propogateComponents(XSDSchema otherXSDSchema)
public XSDSchema redefined(XSDRedefine xsdRedefine)
public XSDSchema included(XSDInclude xsdInclude)
protected void incorporate(XSDSchemaCompositor xsdSchemaCompositor)
public XSDConcreteComponent cloneConcreteComponent(boolean deep,
boolean shareDOM)
XSDConcreteComponent
cloneConcreteComponent in interface XSDConcreteComponentcloneConcreteComponent 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 | ||||||||||