|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object | +--wobzilla_xpath
This service provides an interface for evaluating xpath-expressions
on the data-model.
Method Summary | |
function
|
getBoolean(modelNode, xpath, context)
evaluates the xpath expression on the modelNode
and returns the first selected node converted to a boolean
value.
|
function
|
getNode(modelNode, xpath, context)
evaluates the xpath expression on the modelNode and returns
the first selected node.
|
function
|
getNodeSafe(modelNode, xpath, context)
same as getNode but throws an exception when
no node was found.
|
function
|
getNodes(modelNode, xpath, context)
evaluates the xpath expression on the modelNode and returns
the selected nodes as an array.
|
function
|
getNumber(modelNode, xpath, context)
evaluates the xpath expression on the modelNode
and returns the first selected node converted to a number.
|
function
|
getText(modelNode, xpath, context)
evaluates the xpath expression on the modelNode
and returns the first selected node converted to a string.
|
Method Detail |
function getBoolean(modelNode, xpath, context)
modelNode
and returns the first selected node converted to a boolean
value. The context
can provide additional
information, like local and global variables.
function getNode(modelNode, xpath, context)
modelNode
and returns
the first selected node. The context
can provide additional
information, like local and global variables. Returns null
if no node was found.
function getNodeSafe(modelNode, xpath, context)
getNode
but throws an exception when
no node was found.
function getNodes(modelNode, xpath, context)
modelNode
and returns
the selected nodes as an array. The context
can provide additional
information, like local and global variables.
function getNumber(modelNode, xpath, context)
modelNode
and returns the first selected node converted to a number. The
context
can provide additional information, like
local and global variables.
function getText(modelNode, xpath, context)
modelNode
and returns the first selected node converted to a string. The
context
can provide additional information, like
local and global variables.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |