|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ckkloverdos.resource.ResourseContextSkeleton
public abstract class ResourseContextSkeleton
A partial IResourceContext implementation.
| Constructor Summary | |
|---|---|
protected |
ResourseContextSkeleton(IResourceContext parent)
Constructs a new resource context with the given parent. |
| Method Summary | |
|---|---|
IResourceContext |
getParent()
Returns the parent context. |
IResource |
getResource(java.lang.String name)
Returns the resource with the given name. |
protected java.lang.String |
normalize(java.lang.String name)
Utility method to be overriden by subclasses that normalizes a resource name before the actual resource lookup is performed. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.ckkloverdos.resource.IResourceContext |
|---|
getLocalResource |
| Constructor Detail |
|---|
protected ResourseContextSkeleton(IResourceContext parent)
parent - | Method Detail |
|---|
public IResource getResource(java.lang.String name)
getResource in interface IResourceContextname -
EmptyResource.INSTANCE otherwise.public IResourceContext getParent()
getParent in interface IResourceContextprotected java.lang.String normalize(java.lang.String name)
name -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||