public class RepositoryID
extends java.lang.Object
Constructor and Description |
---|
RepositoryID() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
className(java.lang.String repId,
java.lang.ClassLoader loader)
Returns the fully qualified name of the Java class to which
the given Repository ID is mapped.
|
static java.lang.String |
className(java.lang.String repId,
java.lang.String suffix,
java.lang.ClassLoader loader)
Returns the fully qualified name of the Java class to which
the given Repository ID is mapped, with a given suffix appended
to the class name.
|
static BoxedValueHelper |
createBoxedValueHelper(java.lang.String repId,
java.lang.ClassLoader loader)
Creates a BoxedValueHelper instance for a given repository ID.
|
static java.lang.String |
repId(java.lang.Class c) |
static java.lang.String |
toRepositoryID(java.lang.String className,
boolean resolveClass,
java.lang.ClassLoader loader)
Converts a class name to a Repository ID.
|
static java.lang.String |
toRepositoryID(java.lang.String className,
java.lang.ClassLoader loader) |
public static java.lang.String className(java.lang.String repId, java.lang.ClassLoader loader)
public static java.lang.String className(java.lang.String repId, java.lang.String suffix, java.lang.ClassLoader loader)
public static java.lang.String repId(java.lang.Class c)
public static java.lang.String toRepositoryID(java.lang.String className, boolean resolveClass, java.lang.ClassLoader loader)
className
- the class name to convertresolveClass
- indicates whether the method should try to
resolve and load the class. If true and the class could
not be loaded, an IllegalArgumentException will be thrownpublic static java.lang.String toRepositoryID(java.lang.String className, java.lang.ClassLoader loader)
public static BoxedValueHelper createBoxedValueHelper(java.lang.String repId, java.lang.ClassLoader loader)
repId
- the repository ID of the boxed value typejava.lang.RuntimeException
- if creation of the Helper instance fails