public class NodeQuery
extends java.lang.Object
ImplementationIF
Constructor and Description |
---|
NodeQuery(XSDContextIF ctx,
Nodequery query)
Create the object.
|
Modifier and Type | Method and Description |
---|---|
void |
destroy()
Destroy the query.
|
FormatterIF |
getFormatter()
Get the formatter.
|
ResultIF |
getResultSet(XSDContextIF context)
Get the result set.
|
java.util.Map<java.lang.String,java.lang.String> |
select(ResultIF resultSet,
int index)
Get the Properties of the record with current index.
|
public NodeQuery(XSDContextIF ctx, Nodequery query) throws InitializationFailedException
ctx
- the context.query
- the xml nodequery descriptor.InitializationFailedException
- if initialization fails.public java.util.Map<java.lang.String,java.lang.String> select(ResultIF resultSet, int index) throws AoException, java.text.ParseException
resultSet
- the result set.index
- the record index.AoException
- if ASAM ODS fails.java.text.ParseException
- if unable to parse the XML structure.public FormatterIF getFormatter()
public ResultIF getResultSet(XSDContextIF context) throws AoException, java.text.ParseException
context
- the context.AoException
- if ASAM ODS fails.java.text.ParseException
- if unable to parse the XML structure.public void destroy()