org.eclipse.emf.ecore.xmi.impl
Class EMOFExtendedMetaData

java.lang.Object
  extended byorg.eclipse.emf.ecore.util.BasicExtendedMetaData
      extended byorg.eclipse.emf.ecore.xmi.impl.EMOFExtendedMetaData
All Implemented Interfaces:
ExtendedMetaData

public class EMOFExtendedMetaData
extends BasicExtendedMetaData


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
static String ECORE_EDATATYPE_HREF_PREFIX
           
static String EMOF_PACKAGE_NS_PREFIX
           
static String EMOF_PACKAGE_NS_URI
           
static String EMOF_PROPERTY_CLASS_NAME
           
static String EMOF_TAG
           
static String EMOF_TAG_ELEMENT
           
static String EMOF_TAG_NAME
           
static String EMOF_TAG_VALUE
           
static String EMOF_XMI_EXTENDER
           
static String EXTENSION
           
static String[] MAPPED_ECORE_EDATATYPES
           
static String MAPPED_EMOF_EDATATYPE_HREF_PREFIX
           
static String[] MAPPED_EMOF_EDATATYPES
           
static String TAG
           
static String UNMAPPED_EMOF_EDATATYPE_HREF_PREFIX
           
static String XMI_EXTENDER_ATTRIBUTE
           
static String XMI_EXTENSION_ELEMENT
           
protected  XMLResource.XMLMap xmlMap
           
 
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
EMOFExtendedMetaData(XMLResource.XMLMap xmlMap)
           
 
Method Summary
 int getFeatureKind(EStructuralFeature feature)
           
 String getName(EClassifier eClassifier)
           
 String getName(EStructuralFeature eStructuralFeature)
           
 String getNamespace(EPackage ePackage)
           
 EPackage getPackage(String namespace)
           
 EClassifier getType(EPackage ePackage, String name)
           
 
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, getFractionDigitsFacet, getGroup, getItemType, getLengthFacet, getLocalAttribute, getLocalElement, getMaxExclusiveFacet, getMaxInclusiveFacet, getMaxLengthFacet, getMemberTypes, getMinExclusiveFacet, getMinInclusiveFacet, getMinLengthFacet, getMixedFeature, getNamespace, getNamespace, getPatternFacet, getProcessingKind, getQualifiedName, getQualifiedName, getSimpleFeature, getTotalDigitsFacet, 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
 

Field Detail

EMOF_PACKAGE_NS_PREFIX

public static final String EMOF_PACKAGE_NS_PREFIX
See Also:
Constant Field Values

EMOF_PACKAGE_NS_URI

public static final String EMOF_PACKAGE_NS_URI
See Also:
Constant Field Values

EXTENSION

public static final String EXTENSION
See Also:
Constant Field Values

XMI_EXTENSION_ELEMENT

public static final String XMI_EXTENSION_ELEMENT
See Also:
Constant Field Values

XMI_EXTENDER_ATTRIBUTE

public static final String XMI_EXTENDER_ATTRIBUTE
See Also:
Constant Field Values

EMOF_XMI_EXTENDER

public static final String EMOF_XMI_EXTENDER
See Also:
Constant Field Values

ECORE_EDATATYPE_HREF_PREFIX

public static final String ECORE_EDATATYPE_HREF_PREFIX
See Also:
Constant Field Values

UNMAPPED_EMOF_EDATATYPE_HREF_PREFIX

public static final String UNMAPPED_EMOF_EDATATYPE_HREF_PREFIX
See Also:
Constant Field Values

MAPPED_EMOF_EDATATYPE_HREF_PREFIX

public static final String MAPPED_EMOF_EDATATYPE_HREF_PREFIX
See Also:
Constant Field Values

MAPPED_ECORE_EDATATYPES

public static final String[] MAPPED_ECORE_EDATATYPES

MAPPED_EMOF_EDATATYPES

public static final String[] MAPPED_EMOF_EDATATYPES

TAG

public static final String TAG
See Also:
Constant Field Values

EMOF_TAG

public static final String EMOF_TAG
See Also:
Constant Field Values

EMOF_TAG_NAME

public static final String EMOF_TAG_NAME
See Also:
Constant Field Values

EMOF_TAG_VALUE

public static final String EMOF_TAG_VALUE
See Also:
Constant Field Values

EMOF_TAG_ELEMENT

public static final String EMOF_TAG_ELEMENT
See Also:
Constant Field Values

EMOF_PROPERTY_CLASS_NAME

public static final String EMOF_PROPERTY_CLASS_NAME
See Also:
Constant Field Values

xmlMap

protected XMLResource.XMLMap xmlMap
Constructor Detail

EMOFExtendedMetaData

public EMOFExtendedMetaData(XMLResource.XMLMap xmlMap)
Method Detail

getNamespace

public String getNamespace(EPackage ePackage)
Specified by:
getNamespace in interface ExtendedMetaData
Overrides:
getNamespace in class BasicExtendedMetaData

getPackage

public EPackage getPackage(String namespace)
Specified by:
getPackage in interface ExtendedMetaData
Overrides:
getPackage in class BasicExtendedMetaData

getName

public String getName(EClassifier eClassifier)
Specified by:
getName in interface ExtendedMetaData
Overrides:
getName in class BasicExtendedMetaData

getName

public String getName(EStructuralFeature eStructuralFeature)
Specified by:
getName in interface ExtendedMetaData
Overrides:
getName in class BasicExtendedMetaData

getType

public EClassifier getType(EPackage ePackage,
                           String name)
Specified by:
getType in interface ExtendedMetaData
Overrides:
getType in class BasicExtendedMetaData

getFeatureKind

public int getFeatureKind(EStructuralFeature feature)
Specified by:
getFeatureKind in interface ExtendedMetaData
Overrides:
getFeatureKind in class BasicExtendedMetaData

Copyright 2001-2004 IBM Corporation and others.
All Rights Reserved.