public class XMI252UMLResourceFactoryImpl
extends org.eclipse.uml2.uml.internal.resource.XMI2UMLResourceFactoryImpl
implements org.eclipse.uml2.uml.resource.XMI2UMLResource.Factory
install() should be invoked to initialize a ResourceSet with the locations of the UML 2.5 XMI files.
Thereafter ReseourceSet.getResource(...) should work.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
MYUML_METAMODEL_2_5_NS_URI |
Constructor and Description |
---|
XMI252UMLResourceFactoryImpl() |
Modifier and Type | Method and Description |
---|---|
org.eclipse.emf.ecore.resource.Resource |
createResource(org.eclipse.emf.common.util.URI uri) |
static void |
install(org.eclipse.emf.ecore.resource.ResourceSet resourceSet,
org.eclipse.emf.common.util.URI uml25uri) |
public static final java.lang.String MYUML_METAMODEL_2_5_NS_URI
public static void install(@NonNull org.eclipse.emf.ecore.resource.ResourceSet resourceSet, @NonNull org.eclipse.emf.common.util.URI uml25uri)
public org.eclipse.emf.ecore.resource.Resource createResource(org.eclipse.emf.common.util.URI uri)
createResource
in interface org.eclipse.emf.ecore.resource.Resource.Factory
createResource
in class org.eclipse.uml2.uml.internal.resource.XMI2UMLResourceFactoryImpl