public interface ResultTypeTag extends ResultType
XPath Result in ConfXMLParam format. This
is specified trough ReslutType.class
as a parameter
to Maapi.queryStart(int,String,String,int,int,List,Class)
Example:
QueryResultqR4 = maapi.queryStart(th,"/mtest/servers/server[ip='1.2.3.4']", "/",3,1, Arrays.asList("name", "ip", "port"), ResultTypeTag.class); for(QueryResult.Entry entry : qR4){ List rsValue = entry.value(); for(ResultTypeTag typ: rsValue){ ConfXMLParam v0 = typ.tag(); System.out.println("tag :" + v0); } }
Modifier and Type | Method and Description |
---|---|
ConfXMLParam |
tag()
Retrieves the result tag from a query
|
ConfXMLParam tag()