Class PrefixedObjectValueSource

    • Constructor Detail

      • PrefixedObjectValueSource

        public PrefixedObjectValueSource​(java.lang.String prefix,
                                         java.lang.Object root)
        Wrap the specified root object, allowing the specified expression prefix.
        Parameters:
        prefix - the prefix.
        root - the root of the graph.
      • PrefixedObjectValueSource

        public PrefixedObjectValueSource​(java.util.List<java.lang.String> possiblePrefixes,
                                         java.lang.Object root,
                                         boolean allowUnprefixedExpressions)
        Wrap the specified root object, allowing the specified list of expression prefixes and setting whether the PrefixedValueSourceWrapper allows unprefixed expressions.
        Parameters:
        possiblePrefixes - The possible prefixes.
        root - The root of the graph.
        allowUnprefixedExpressions - if we allow undefined expressions or not.
    • Method Detail

      • getLastExpression

        public java.lang.String getLastExpression()
        Specified by:
        getLastExpression in interface QueryEnabledValueSource
        Returns:
        the most recent expression processed by this value source, or null.