public final class NamingScheme extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
NamingScheme.NameType |
static class |
NamingScheme.NamingSchemeBuilder |
| Modifier and Type | Method and Description |
|---|---|
static NamingScheme.NamingSchemeBuilder |
builder() |
static NamingScheme |
getDefault() |
Name<String> |
name(Class<?> clazz,
String... names)
Concatenates a canonical class name and elements to form a dotted name, discarding any null values or empty strings
any null values or empty strings.
|
Name<QName> |
name(QName id) |
Name<String> |
name(String name,
String... names)
Concatenates elements to form a dotted name, discarding null values
and empty strings.
|
<T extends Serializable> |
name(T id) |
<T extends Number> |
name(T id) |
Name<Term> |
name(Term id) |
Name<URI> |
name(URI id) |
public Name<String> name(String name, String... names)
name - the first element of the namenames - the remaining elements of the namename and names concatenated by periodspublic Name<String> name(Class<?> clazz, String... names)
clazz - the first element of the namenames - the remaining elements of the nameclazz and names concatenated by periodspublic <T extends Serializable> Name<T> name(T id)
public static NamingScheme.NamingSchemeBuilder builder()
public static NamingScheme getDefault()
Copyright (C) 2014, Center for Open Middleware