Package org.apache.xpath.objects
Class XObjectFactory
java.lang.Object
org.apache.xpath.objects.XObjectFactory
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
XObjectFactory
public XObjectFactory()
-
-
Method Details
-
create
Create the right XObject based on the type of the object passed. This function can not make an XObject that exposes DOM Nodes, NodeLists, and NodeIterators to the XSLT stylesheet as node-sets.- Parameters:
val
- The java object which this object will wrap.- Returns:
- the right XObject based on the type of the object passed.
-
create
Create the right XObject based on the type of the object passed. This functioncan make an XObject that exposes DOM Nodes, NodeLists, and NodeIterators to the XSLT stylesheet as node-sets.- 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.
-