public class XObjectFactory extends Object
| Constructor and Description | 
|---|
| XObjectFactory() | 
| Modifier and Type | Method and Description | 
|---|---|
| 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. | 
public static XObject create(Object val)
val - The java object which this object will wrap.public static XObject create(Object val, XPathContext xctxt)
val - The java object which this object will wrap.xctxt - The XPath context.Copyright © 2017 JBoss by Red Hat. All rights reserved.