org.eclipse.uml2.util
Class UML2ExtendedMetaData

java.lang.Object
  extended byorg.eclipse.emf.ecore.util.BasicExtendedMetaData
      extended byorg.eclipse.uml2.util.UML2ExtendedMetaData
All Implemented Interfaces:
ExtendedMetaData

public class UML2ExtendedMetaData
extends BasicExtendedMetaData

Extended metadata for UML2 resources. Provides forward compatibility support by matching namespace URIs.


Nested Class Summary
 
Nested classes inherited from class org.eclipse.emf.ecore.util.BasicExtendedMetaData
BasicExtendedMetaData.EClassExtendedMetaDataImpl, BasicExtendedMetaData.EClassifierExtendedMetaData, BasicExtendedMetaData.EDataTypeExtendedMetaDataImpl, BasicExtendedMetaData.EPackageExtendedMetaData, BasicExtendedMetaData.EPackageExtendedMetaDataImpl, BasicExtendedMetaData.EStructuralFeatureExtendedMetaData, BasicExtendedMetaData.EStructuralFeatureExtendedMetaDataImpl
 
Field Summary
 
Fields inherited from class org.eclipse.emf.ecore.util.BasicExtendedMetaData
annotationURI, demandRegistry, registry, UNINITIALIZED_EDATA_TYPE, UNINITIALIZED_ESTRUCTURAL_FEATURE, UNINITIALIZED_INT, UNINITIALIZED_STRING
 
Fields inherited from interface org.eclipse.emf.ecore.util.ExtendedMetaData
ANNOTATION_URI, ATTRIBUTE_FEATURE, ATTRIBUTE_WILDCARD_FEATURE, COLLAPSE_WHITE_SPACE, CONTENT_KINDS, DERIVATION_KINDS, ELEMENT_FEATURE, ELEMENT_ONLY_CONTENT, ELEMENT_WILDCARD_FEATURE, EMPTY_CONTENT, FEATURE_KINDS, GROUP_FEATURE, INSTANCE, LAX_PROCESSING, LIST_DERIVATION, MIXED_CONTENT, PRESERVE_WHITE_SPACE, PROCESSING_KINDS, REPLACE_WHITE_SPACE, RESTRICTION_DERIVATION, SIMPLE_CONTENT, SIMPLE_FEATURE, SKIP_PROCESSING, STRICT_PROCESSING, UNION_DERIVATION, UNSPECIFIED_CONTENT, UNSPECIFIED_DERIVATION, UNSPECIFIED_FEATURE, UNSPECIFIED_PROCESSING, UNSPECIFIED_WHITE_SPACE, WHITE_SPACE_KINDS
 
Constructor Summary
UML2ExtendedMetaData(EPackage.Registry registry)
          Constructs a new UML2 extended metadata with the specified package registry.
 
Method Summary
 String getNamespace(EPackage ePackage)
           
protected  String getNsURIPattern(String nsURI)
          Retrieves a pattern for the specified namespace URI by replacing version information (i.e. digits) with wildcards.
 EPackage getPackage(String namespace)
           
 
Methods inherited from class org.eclipse.emf.ecore.util.BasicExtendedMetaData
basicGetAffiliation, basicGetBaseType, basicGetContentKind, basicGetDerivationKind, basicGetEnumerationFacet, basicGetFeatureKind, basicGetFractionDigitsFacet, basicGetGroup, basicGetItemType, basicGetLengthFacet, basicGetMaxExclusiveFacet, basicGetMaxInclusiveFacet, basicGetMaxLengthFacet, basicGetMemberTypes, basicGetMinExclusiveFacet, basicGetMinInclusiveFacet, basicGetMinLengthFacet, basicGetName, basicGetName, basicGetNamespace, basicGetPatternFacet, basicGetProcessingKind, basicGetTotalDigitsFacet, basicGetWhiteSpaceFacet, basicGetWildcards, basicIsQualified, createEClassifierExtendedMetaData, createEPackageExtendedMetaData, createEStructuralFeatureExtendedMetaData, demandedPackages, demandFeature, demandFeature, demandPackage, demandType, getAffiliation, getAffiliation, getAllAttributes, getAllElements, getAnnotation, getAttribute, getAttribute, getAttributes, getAttributeWildcardAffiliation, getBaseType, getContentKind, getDerivationKind, getDocumentRoot, getElement, getElement, getElements, getElementWildcardAffiliation, getEnumerationFacet, getExtendedMetaData, getExtendedMetaData, getExtendedMetaData, getFeatureKind, getFractionDigitsFacet, getGroup, getItemType, getLengthFacet, getLocalAttribute, getLocalElement, getMaxExclusiveFacet, getMaxInclusiveFacet, getMaxLengthFacet, getMemberTypes, getMinExclusiveFacet, getMinInclusiveFacet, getMinLengthFacet, getMixedFeature, getName, getName, getNamespace, getNamespace, getPatternFacet, getProcessingKind, getQualifiedName, getQualifiedName, getSimpleFeature, getTotalDigitsFacet, getType, getType, getWhiteSpaceFacet, getWildcards, getXMLNSPrefixMapFeature, getXSISchemaLocationMapFeature, isQualified, matches, matches, putPackage, setAffiliation, setBaseType, setContentKind, setDocumentRoot, setEnumerationFacet, setFeatureKind, setFractionDigitsFacet, setGroup, setItemType, setLengthFacet, setMaxExclusiveFacet, setMaxInclusiveFacet, setMaxLengthFacet, setMemberTypes, setMinExclusiveFacet, setMinInclusiveFacet, setMinLengthFacet, setName, setName, setNamespace, setPatternFacet, setProcessingKind, setQualified, setTotalDigitsFacet, setWhiteSpaceFacet, setWildcards
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UML2ExtendedMetaData

public UML2ExtendedMetaData(EPackage.Registry registry)
Constructs a new UML2 extended metadata with the specified package registry.

Parameters:
registry - The resource set's package registry.
Method Detail

getNsURIPattern

protected String getNsURIPattern(String nsURI)
Retrieves a pattern for the specified namespace URI by replacing version information (i.e. digits) with wildcards.

Parameters:
nsURI - The namespace URI for which to retrieve a pattern.
Returns:
The namespace URI pattern.

getPackage

public EPackage getPackage(String namespace)

getNamespace

public String getNamespace(EPackage ePackage)

Copyright 2003, 2004 IBM Corporation and others.
All Rights Reserved.