public class XObjectFactory
extends java.lang.Object
Constructor and Description |
---|
XObjectFactory() |
Modifier and Type | Method and Description |
---|---|
static XObject |
create(java.lang.Object val)
Create the right XObject based on the type of the object passed.
|
static XObject |
create(java.lang.Object val,
XPathContext xctxt)
Create the right XObject based on the type of the object passed.
|
public static XObject create(java.lang.Object val)
val
- The java object which this object will wrap.public static XObject create(java.lang.Object val, XPathContext xctxt)
val
- The java object which this object will wrap.xctxt
- The XPath context.Copyright ? 2006 Apache XML Project. All Rights Reserved.