org.apache.xpath.objects
public class XObjectFactory extends Object
Method Summary | |
---|---|
static XObject | create(Object val)
Create the right XObject based on the type of the object passed. |
static XObject | create(Object val, XPathContext xctxt)
Create the right XObject based on the type of the object passed.
|
Parameters: val The java object which this object will wrap.
Returns: the right XObject based on the type of the object passed.
Parameters: val The java object which this object will wrap. xctxt The XPath context.
Returns: the right XObject based on the type of the object passed.