org.apache.commons.jxpath.ri.model.beans
Class BeanPointerFactory
java.lang.Object
org.apache.commons.jxpath.ri.model.beans.BeanPointerFactory
- All Implemented Interfaces:
- NodePointerFactory
- public class BeanPointerFactory
- extends java.lang.Object
- implements NodePointerFactory
Implements NodePointerFactory for JavaBeans.
- Version:
- $Revision: 1.7 $ $Date: 2004/02/29 14:17:41 $
- Author:
- Dmitri Plotnikov
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BEAN_POINTER_FACTORY_ORDER
public static final int BEAN_POINTER_FACTORY_ORDER
- See Also:
- Constant Field Values
BeanPointerFactory
public BeanPointerFactory()
getOrder
public int getOrder()
- Description copied from interface:
NodePointerFactory
- The factory order number determines its position between other factories.
- Specified by:
getOrder
in interface NodePointerFactory
createNodePointer
public NodePointer createNodePointer(QName name,
java.lang.Object bean,
java.util.Locale locale)
- Description copied from interface:
NodePointerFactory
- Create a NodePointer for the supplied object. The node will represent
the "root" object for a path.
- Specified by:
createNodePointer
in interface NodePointerFactory
- Returns:
- null if this factory does not recognize objects of the supplied
type.
createNodePointer
public NodePointer createNodePointer(NodePointer parent,
QName name,
java.lang.Object bean)
- Description copied from interface:
NodePointerFactory
- Create a NodePointer for the supplied child object.
- Specified by:
createNodePointer
in interface NodePointerFactory
- Returns:
- null if this factory does not recognize objects of the supplied
type.