public class XMIUtils
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
XMIUtils.ExcludedEClassIdFilter |
static class |
XMIUtils.HierachicalENamedElementIdCreator
Create xmi:id's using the same hierarchical/URI fragment algorithm as EMOFResourceImpl
|
static interface |
XMIUtils.IdCreator |
static interface |
XMIUtils.IdFilter |
static class |
XMIUtils.LinearPrefixedIdCreator
Create short xmi:id's comprising a prefix and a linearly increasing count
|
static class |
XMIUtils.ShortPrefixedIdCreator
Create short xmi:id's comprising a prefix and a small random count
|
static class |
XMIUtils.UUIDCreator
Create xmi:id's comprising a unique universal identifier
|
Modifier and Type | Field and Description |
---|---|
static XMIUtils.UUIDCreator |
uuidCreator |
Constructor and Description |
---|
XMIUtils() |
Modifier and Type | Method and Description |
---|---|
static void |
assignIds(org.eclipse.emf.ecore.resource.Resource resource,
java.lang.String xmiIdPrefix) |
static void |
assignIds(org.eclipse.emf.ecore.resource.Resource resource,
XMIUtils.IdCreator idCreator,
XMIUtils.IdFilter idFilter)
Assign an xmi:id to all objects in resource.
|
static void |
assignLinearIds(org.eclipse.emf.ecore.resource.Resource resource,
java.lang.String xmiIdPrefix) |
public static final XMIUtils.UUIDCreator uuidCreator
public static void assignIds(org.eclipse.emf.ecore.resource.Resource resource, XMIUtils.IdCreator idCreator, XMIUtils.IdFilter idFilter)
resource
- idCreator
- idFilter
- public static void assignIds(org.eclipse.emf.ecore.resource.Resource resource, java.lang.String xmiIdPrefix)
public static void assignLinearIds(org.eclipse.emf.ecore.resource.Resource resource, java.lang.String xmiIdPrefix)