Interface NodePointerFactory
- All Known Implementing Classes:
BeanPointerFactory,CollectionPointerFactory,ContainerPointerFactory,DOMPointerFactory,DynaBeanPointerFactory,DynamicPointerFactory,JDOMPointerFactory,VariablePointerFactory
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.
- Version:
- $Revision: 652845 $ $Date: 2008-05-02 12:46:46 -0500 (Fri, 02 May 2008) $
-
Method Summary
Modifier and TypeMethodDescriptioncreateNodePointer(NodePointer parent, QName name, Object object) Create a NodePointer for the supplied child object.createNodePointer(QName name, Object object, Locale locale) Create a NodePointer for the supplied object.intgetOrder()The factory order number determines its position between other factories.
-
Method Details
-
getOrder
int getOrder()The factory order number determines its position between other factories.- Returns:
- int order
-
createNodePointer
Create a NodePointer for the supplied object. The node will represent the "root" object for a path.- Parameters:
name- String node nameobject- child objectlocale- Locale- Returns:
- null if this factory does not recognize objects of the supplied type.
-
createNodePointer
Create a NodePointer for the supplied child object.- Parameters:
parent- parent nodename- String node nameobject- child object- Returns:
- null if this factory does not recognize objects of the supplied type.
-