org.kuali.rice.krad.uif.util
Interface ObjectPathExpressionParser.PathEntry

Enclosing class:
ObjectPathExpressionParser

public static interface ObjectPathExpressionParser.PathEntry

Path entry interface for use with ObjectPathExpressionParser.parsePathExpression(Object, String, PathEntry).


Method Summary
 String dereference(Object prev)
          Resolve the next path element based on reference data from the previous node.
 Object parse(Object node, String next, boolean inherit)
          Parse one node.
 Object prepare(Object prev)
          Prepare the next parse node based on a reference returned from the prior node.
 

Method Detail

parse

Object parse(Object node,
             String next,
             boolean inherit)
Parse one node.

Parameters:
node - The current parse node.
next - The next path token.
inherit - True indicates that the current node is the result of a subexpression, false indicates the next node in the same expression.
Returns:
A reference to the next parse node.

prepare

Object prepare(Object prev)
Prepare the next parse node based on a reference returned from the prior node.

Parameters:
prev - The reference data from the previous node.
Returns:
The next parse node.

dereference

String dereference(Object prev)
Resolve the next path element based on reference data from the previous node.

Parameters:
prev - The reference data from the previous node.
Returns:
the next path element based on the returned reference data.


Copyright © 2005-2014 The Kuali Foundation. All Rights Reserved.