Package com.tailf.maapi
Interface ResultTypeKeyPathValue
- All Superinterfaces:
 ResultType,ResultTypeKeyPath
  XPath Result in keypath and value format. This format
 is specified trough ReslutTypeKeyPathValue.class as a parameter
 to Maapi.queryStart(int,String,String,int,int,List,Class)
 
Example:
  QueryResult<ResultTypeKeyPathValue> qR4 =
      maapi.queryStart(th,"/mtest/servers/server[ip='1.2.3.4']",
                       "/", 3,1,
                       Arrays.asList("name",
                                     "ip",
                                     "port"),
                       ResultTypeKeyPathValue.class);
  for(QueryResult.Entry entry : qR4){
      List<ResultTypeKeyPathValue> rsValue = entry.value();
      for(ResultTypeKeyPathValue typ: rsValue){
          ConfObject[] v0 = typ.keyPath();
          System.out.println("path = " + Arrays.toString(v0));
          ConfValue v1 = typ.confValue();
          System.out.println("value = " + v1);
      }
  }
 - 
Method Summary
Methods inherited from interface com.tailf.maapi.ResultTypeKeyPath
keyPath 
- 
Method Details
- 
confValue
ConfValue confValue()Retrieves the result value from a query- Returns:
 - value as ConfValue from the result
 
 
 -