Lines Matching refs:rtf
83 * @param rtf Argument in the stylesheet to the nodeset extension function
87 public static NodeSet nodeset(ExpressionContext myProcessor, Object rtf)
92 if (rtf instanceof NodeIterator)
94 return new NodeSet((NodeIterator) rtf);
98 if (rtf instanceof String)
100 textNodeValue = (String) rtf;
102 else if (rtf instanceof Boolean)
104 textNodeValue = new XBoolean(((Boolean) rtf).booleanValue()).str();
106 else if (rtf instanceof Double)
108 textNodeValue = new XNumber(((Double) rtf).doubleValue()).str();
112 textNodeValue = rtf.toString();