APIdia Launch Partner
Top Constructors Methods
com.sun.org.apache.xpath.internal.objects

public Class XObjectFactory

extends Object
Class Inheritance
Imports
com.sun.org.apache.xml.internal.dtm.Axis, .DTM, .DTMAxisIterator, .DTMIterator, com.sun.org.apache.xpath.internal.XPathContext, com.sun.org.apache.xpath.internal.axes.OneStepIterator

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static XObject

Returns:

the right XObject based on the type of the object passed.
create
(Object
The java object which this object will wrap.
val
)

Create the right XObject based on the type of the object passed.

public static XObject

Returns:

the right XObject based on the type of the object passed.
create
(Object
The java object which this object will wrap.
val
,
XPathContext
The XPath context.
xctxt
)

Create the right XObject based on the type of the object passed.</emph>

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

XObjectFactoryback to summary
public XObjectFactory()

Method Detail

createback to summary
public static XObject create(Object val)

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:Object

The java object which this object will wrap.

Returns:XObject

the right XObject based on the type of the object passed.

createback to summary
public static XObject create(Object val, XPathContext xctxt)

Create the right XObject based on the type of the object passed. This function can make an XObject that exposes DOM Nodes, NodeLists, and NodeIterators to the XSLT stylesheet as node-sets.

Parameters
val:Object

The java object which this object will wrap.

xctxt:XPathContext

The XPath context.

Returns:XObject

the right XObject based on the type of the object passed.