public class VariablePointerFactory extends Object implements NodePointerFactory
VariablePointers
.Modifier and Type | Class and Description |
---|---|
static class |
VariablePointerFactory.VariableContextWrapper
Node value wrapper to trigger a VariablePointerFactory.
|
Modifier and Type | Field and Description |
---|---|
static int |
VARIABLE_POINTER_FACTORY_ORDER
factory order constant
|
Constructor and Description |
---|
VariablePointerFactory() |
Modifier and Type | Method and Description |
---|---|
static VariablePointerFactory.VariableContextWrapper |
contextWrapper(JXPathContext context)
VariableContextWrapper factory method.
|
NodePointer |
createNodePointer(NodePointer parent,
QName name,
Object object)
Create a NodePointer for the supplied child object.
|
NodePointer |
createNodePointer(QName name,
Object object,
Locale locale)
Create a NodePointer for the supplied object.
|
int |
getOrder()
The factory order number determines its position between other factories.
|
public static final int VARIABLE_POINTER_FACTORY_ORDER
public VariablePointerFactory()
public static VariablePointerFactory.VariableContextWrapper contextWrapper(JXPathContext context)
context
- the JXPathContext to wrap.public NodePointer createNodePointer(QName name, Object object, Locale locale)
NodePointerFactory
createNodePointer
in interface NodePointerFactory
name
- String node nameobject
- child objectlocale
- Localepublic NodePointer createNodePointer(NodePointer parent, QName name, Object object)
NodePointerFactory
createNodePointer
in interface NodePointerFactory
parent
- parent nodename
- String node nameobject
- child objectpublic int getOrder()
NodePointerFactory
getOrder
in interface NodePointerFactory
Copyright © 2001–2015 The Apache Software Foundation. All rights reserved.