|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface LocalSubItemsAgent
Defines the interface necessary to extract items out of referenced objects by some qualifying factor like index or text. This interface represents the server-side of the implementation and is intended to match the remote SubItemsAgent interface.
SubItemsAgent| Method Summary | |
|---|---|
java.lang.Object |
getMatchingPathObject(java.lang.Object object,
java.lang.String path)
Return the subitem at the specified string path from the given object. |
java.lang.Object |
getSubItemAtIndex(java.lang.Object object,
int index)
Return the subitem at the specified index from the given object. |
boolean |
isMatchingPath(java.lang.Object object,
java.lang.String path)
Determine if the object contains a subitem/object identified by the provided Path. |
| Method Detail |
|---|
java.lang.Object getSubItemAtIndex(java.lang.Object object,
int index)
throws java.lang.Exception
object - reference from which to locate the subitem.index - of the subitem to retrieve.
an - Exception if the subitem index is invalid or subitem is unobtainable.
java.lang.Exception
java.lang.Object getMatchingPathObject(java.lang.Object object,
java.lang.String path)
throws java.lang.Exception
Ex:
File->Exit
Root->Branch->Leaf
object - path - to desired subitem using item->subitem->subitem format.
java.lang.Exception
boolean isMatchingPath(java.lang.Object object,
java.lang.String path)
throws java.lang.Exception
Ex:
File->Exit
Root->Branch->Leaf
object--Object - proxy for the object to be evaluated.path - information to locate another object or subitem relative to object.
this is usually something like a menuitem or tree node where supported.
java.lang.Exception
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||