Class BeanQueryer

  • All Implemented Interfaces:
    Queryable

    public class BeanQueryer
    extends Object
    implements Queryable
    A queryable that works on Beans using JXPath. This uses the JXPathUtils class to perform the querying, so more information can be found there.
    Author:
    Jerry Vos
    See Also:
    JXPathUtils, FileDef
    • Constructor Detail

      • BeanQueryer

        public BeanQueryer​(Object rootObj)
        Creates the queryer with the specified object as the root. Note this gets wrapped in a FileDef object, so getRoot() returns a FileDef object that returns the passed in rootObj in it's FileDef method.
        Parameters:
        rootObj - the root object