net.sf.saxon.functions

Class Nilled

public class Nilled extends SystemFunction

This class supports the nilled() function
Method Summary
ItemevaluateItem(XPathContext c)
Evaluate the function
static BooleanValuegetNilledProperty(NodeInfo node)
Determine whether a node has the nilled property
static booleanisNilled(NodeInfo node)
Determine whether a node is nilled.

Method Detail

evaluateItem

public Item evaluateItem(XPathContext c)
Evaluate the function

getNilledProperty

public static BooleanValue getNilledProperty(NodeInfo node)
Determine whether a node has the nilled property

Parameters: node the node in question (if null, the function returns null)

Returns: the value of the nilled accessor. Returns null for any node other than an element node. For an element node, returns true if the element has been validated and has an xsi:nil attribute whose value is true.

isNilled

public static boolean isNilled(NodeInfo node)
Determine whether a node is nilled. Returns true if the value of the nilled property is true; false if the value is false or absent