T
- the actual typepublic static class TypedUIProperties.Type<T>
extends java.lang.Object
TypedUIProperties.Type
objects may share the same Class
object
but with different or even equal generic parameters.Constructor and Description |
---|
Type(java.lang.String key)
Creates a new type.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getKey()
Gets the key of this type.
|
java.lang.String |
getKey(java.lang.String id)
Gets the identifier that should be used as replacement for a resource with identifier
id
and with type this . |
Path |
getKind(Path kind)
|
public Type(java.lang.String key)
key
- the key of this type, must not be null
, must at least contain
one character, must not contain the character ".", must pass Path.isValidPath(String)
public java.lang.String getKey()
null
public java.lang.String getKey(java.lang.String id)
id
and with type this
.id
- the id of some identifierthis
and id