org.apache.commons.jxpath.ri.model
Interface NodePointerFactory
- BeanPointerFactory, CollectionPointerFactory, ContainerPointerFactory, DOMPointerFactory, DynaBeanPointerFactory, DynamicPointerFactory, JDOMPointerFactory
public interface NodePointerFactory
Creates NodePointers for objects of a certain type.
NodePointerFactories are ordered according to the values returned
by the "getOrder" method and always queried in that order.
$Revision: 1.7 $ $Date: 2004/02/29 14:17:45 $
createNodePointer
public NodePointer createNodePointer(QName name,
Object object,
Locale locale)
Create a NodePointer for the supplied object. The node will represent
the "root" object for a path.
- null if this factory does not recognize objects of the supplied
type.
createNodePointer
public NodePointer createNodePointer(NodePointer parent,
QName name,
Object object)
Create a NodePointer for the supplied child object.
- null if this factory does not recognize objects of the supplied
type.
getOrder
public int getOrder()
The factory order number determines its position between other factories.