Interface PropertyAccessorFactory

    • Method Detail

      • createPropertyAccessor

        PropertyAccessor createPropertyAccessor​(Class<?> type,
                                                String xpath,
                                                Class<?> target,
                                                Hints hints)
        Creates a property accessor for a particular class.
        Parameters:
        type - The type of object to be accessed.
        xpath - The xpath expression to evaluate.
        target - The kind of result we are expecting (ie Geometry)
        hints - Hints to be used when creatign the accessor.
        Returns:
        The property accessor, or null if this factory cannot create an accessor for the specified type.
      • getPriority

        default int getPriority()
        Return the priority associated with this property accessor. By default, a priority value within the range of the lowest and highest priorities will be returned. The more generic a property accessor is, the lower its priority should be.
        Returns:
        the priority of this property accessor