public class CGINPointerFactory extends Object implements org.apache.commons.jxpath.ri.model.NodePointerFactory
| Modifier and Type | Field and Description |
|---|---|
protected static CGINPointerFactory |
INSTANCE
The factory for CGINPointers.
|
| Modifier and Type | Method and Description |
|---|---|
CGINPointer |
createNodePointer(org.apache.commons.jxpath.ri.model.NodePointer parent,
org.apache.commons.jxpath.ri.QName name,
Object object)
Creates a NodePointer for the given CGIN data structure within a larger data structure.
|
CGINPointer |
createNodePointer(org.apache.commons.jxpath.ri.QName name,
Object object,
Locale locale)
Creates a NodePointer for the given CGIN data structure.
|
int |
getOrder()
Gets a number that determines whether this NodePointerFactory is called
before or after another one.
|
protected static CGINPointerFactory INSTANCE
public int getOrder()
getOrder in interface org.apache.commons.jxpath.ri.model.NodePointerFactorypublic CGINPointer createNodePointer(org.apache.commons.jxpath.ri.QName name, Object object, Locale locale)
createNodePointer in interface org.apache.commons.jxpath.ri.model.NodePointerFactoryname - name of the new nodeobject - value of the new nodelocale - ignored, as CGIN doesn't need thatpublic CGINPointer createNodePointer(org.apache.commons.jxpath.ri.model.NodePointer parent, org.apache.commons.jxpath.ri.QName name, Object object)
createNodePointer in interface org.apache.commons.jxpath.ri.model.NodePointerFactoryparent - pointer to the surrounding nodename - name of the new nodeobject - value of the new node