|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Resource
A Resource
is the most generic form of a resource in HiLA.
Resource
s can have child Resource
s and at most one parent
Resource
.
Method Summary | |
---|---|
Resource |
getChild(String childPath)
|
List<Resource> |
getChildren()
|
Location |
getLocation()
|
Metadata |
getMetadata()
|
String |
getName()
The last element of the URI, either the last name before a final "/" or the last name after the "/", i.e. |
Resource |
getParent()
|
boolean |
ok()
Test whether a resource is ok, i.e. accessible. |
Method Detail |
---|
Location getLocation()
List<Resource> getChildren() throws HiLAException
HiLAException
Resource getChild(String childPath) throws HiLAException
HiLAException
Resource getParent() throws HiLAException
HiLAException
Metadata getMetadata() throws HiLAException
HiLAException
String getName()
Resource
.boolean ok()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |