public class Ecore2XMLExtendedMetaData extends BasicExtendedMetaData
BasicExtendedMetaData.EClassExtendedMetaDataImpl, BasicExtendedMetaData.EClassifierExtendedMetaData, BasicExtendedMetaData.EDataTypeExtendedMetaDataImpl, BasicExtendedMetaData.EPackageExtendedMetaData, BasicExtendedMetaData.EPackageExtendedMetaDataImpl, BasicExtendedMetaData.EStructuralFeatureExtendedMetaData, BasicExtendedMetaData.EStructuralFeatureExtendedMetaDataImpl
Modifier and Type | Field and Description |
---|---|
protected Ecore2XMLRegistry |
ecore2xmlRegistry |
protected java.util.Map<java.lang.String,XMLResource.XMLMap> |
xmlMaps |
annotationMap, annotationURI, demandRegistry, extendedMetaDataHolderCache, registry, UNINITIALIZED_EDATA_TYPE, UNINITIALIZED_ESTRUCTURAL_FEATURE, UNINITIALIZED_INT, UNINITIALIZED_STRING
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, XMI_URI, XML_SCHEMA_URI, XML_URI, XMLNS_PREFIX, XMLNS_URI, XSI_PREFIX, XSI_URI
Constructor and Description |
---|
Ecore2XMLExtendedMetaData() |
Ecore2XMLExtendedMetaData(Ecore2XMLRegistry ecore2xmlRegistry) |
Ecore2XMLExtendedMetaData(EPackage.Registry ePackageRegistry,
Ecore2XMLRegistry ecore2xmlRegistry) |
Ecore2XMLExtendedMetaData(java.lang.String annotationURI,
EPackage.Registry ePackageRegistry,
Ecore2XMLRegistry ecore2xmlRegistry) |
Modifier and Type | Method and Description |
---|---|
protected EClassifier |
getClassifier(java.lang.String namespaceURI,
java.lang.String name) |
int |
getFeatureKind(EStructuralFeature eStructuralFeature)
Returns the kind of XML structure that should be used to represent the given structural feature.
|
protected XMLResource.XMLInfo |
getInfo(ENamedElement element) |
java.lang.String |
getName(EClassifier eClassifier)
Returns the XML name for a classifier.
|
java.lang.String |
getName(EStructuralFeature eStructuralFeature)
Returns the XML name for a structural feature.
|
java.lang.String |
getNamespace(EPackage ePackage)
Returns the namespace to use for model instance serializations of the specified package.
|
EPackage |
getPackage(java.lang.String namespace)
Retrieves the package with the specified namespace URI from the package registry associated with this instance.
|
EClassifier |
getType(EPackage ePackage,
java.lang.String name)
Returns the classifier with the given XML name within the given package.
|
protected boolean |
isFeatureKindSpecific() |
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, computePrefix, 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, getEncodedWildcards, 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, isAnonymous, isDocumentRoot, isFeatureNamespaceMatchingLax, 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
protected final Ecore2XMLRegistry ecore2xmlRegistry
protected final java.util.Map<java.lang.String,XMLResource.XMLMap> xmlMaps
public Ecore2XMLExtendedMetaData()
public Ecore2XMLExtendedMetaData(Ecore2XMLRegistry ecore2xmlRegistry)
public Ecore2XMLExtendedMetaData(EPackage.Registry ePackageRegistry, Ecore2XMLRegistry ecore2xmlRegistry)
public Ecore2XMLExtendedMetaData(java.lang.String annotationURI, EPackage.Registry ePackageRegistry, Ecore2XMLRegistry ecore2xmlRegistry)
protected XMLResource.XMLInfo getInfo(ENamedElement element)
protected EClassifier getClassifier(java.lang.String namespaceURI, java.lang.String name)
public EPackage getPackage(java.lang.String namespace)
ExtendedMetaData
getPackage
in interface ExtendedMetaData
getPackage
in class BasicExtendedMetaData
public java.lang.String getName(EClassifier eClassifier)
ExtendedMetaData
details key: "name"
getName
in interface ExtendedMetaData
getName
in class BasicExtendedMetaData
public java.lang.String getName(EStructuralFeature eStructuralFeature)
ExtendedMetaData
details key: "name"
getName
in interface ExtendedMetaData
getName
in class BasicExtendedMetaData
public java.lang.String getNamespace(EPackage ePackage)
ExtendedMetaData
details key: "namespace"
getNamespace
in interface ExtendedMetaData
getNamespace
in class BasicExtendedMetaData
public EClassifier getType(EPackage ePackage, java.lang.String name)
ExtendedMetaData
getType
in interface ExtendedMetaData
getType
in class BasicExtendedMetaData
public int getFeatureKind(EStructuralFeature eStructuralFeature)
ExtendedMetaData
details key: "kind"
getFeatureKind
in interface ExtendedMetaData
getFeatureKind
in class BasicExtendedMetaData
ExtendedMetaData.UNSPECIFIED_FEATURE
,
ExtendedMetaData.SIMPLE_FEATURE
,
ExtendedMetaData.ATTRIBUTE_FEATURE
,
ExtendedMetaData.ATTRIBUTE_WILDCARD_FEATURE
,
ExtendedMetaData.ELEMENT_FEATURE
,
ExtendedMetaData.ELEMENT_WILDCARD_FEATURE
,
ExtendedMetaData.GROUP_FEATURE
protected boolean isFeatureKindSpecific()
isFeatureKindSpecific
in class BasicExtendedMetaData