public abstract class ResourceName
extends java.lang.Object
ResourceNames may be related to a parent ResourceName. They may not necessarily be direct
children of the parent, in which case children will always be separated by a forward slash '/'.
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
name |
protected ResourceName |
parent |
| Constructor and Description |
|---|
ResourceName(ResourceName parent,
java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getName() |
abstract ResourceName |
getParent() |
protected final java.lang.String name
@Nullable protected final ResourceName parent
public ResourceName(@Nullable
ResourceName parent,
java.lang.String name)
public java.lang.String getName()
@Nullable public abstract ResourceName getParent()
ResourceName (may be null if this ResourceName is relative to the root).