public interface LocalSubItemsAgent
SubItemsAgent
Modifier and Type | Method and Description |
---|---|
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.
|
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
Copyright © SAS Institute. All Rights Reserved.