com.sun.rave.designtime.faces
Class ResolveResult


java.lang.Object

  extended bycom.sun.rave.designtime.faces.ResolveResult


public class ResolveResult
extends java.lang.Object

This class wraps the return value from FacesDesignContext.resolveBindingExprToBean(String expr). The passed expression will be resolved to the deepest DesignBean instance within the context. Any remaining expression will be returned in the 'remainder' property of this object.

Version:
1.0
Author:
Joe Nuxoll
See Also:
FacesDesignContext.resolveBindingExprToBean(String)

Field Summary
protected  DesignBean designBean
          protected storage for the 'designBean' property
protected  java.lang.String remainder
          protected storage for the 'remainder' property
 
Constructor Summary
ResolveResult(DesignBean designBean, java.lang.String remainder)
          Constructs a ResolveResult with the specified DesignBean and remainder expression.
ResolveResult(java.lang.String remainder)
          Constructs a ResolveResult with the specified remainder expression.
 
Method Summary
 DesignBean getDesignBean()
          Rertuns the deepest resolved DesignBean
 java.lang.String getRemainder()
          Rertuns the remaining expression that did could not be resolved to a DesignBean
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

designBean


protected DesignBean designBean
protected storage for the 'designBean' property


remainder


protected java.lang.String remainder
protected storage for the 'remainder' property

Constructor Detail

ResolveResult


public ResolveResult(DesignBean designBean,
                     java.lang.String remainder)
Constructs a ResolveResult with the specified DesignBean and remainder expression.

Parameters:
designBean - The deepest resolved DesignBean
remainder - The remaining expression from the resolving process

ResolveResult


public ResolveResult(java.lang.String remainder)
Constructs a ResolveResult with the specified remainder expression.

Parameters:
remainder - The remaining expression from the resolving process
Method Detail

getDesignBean


public DesignBean getDesignBean()
Rertuns the deepest resolved DesignBean

Returns:
The deepest resolved DesignBean

getRemainder


public java.lang.String getRemainder()
Rertuns the remaining expression that did could not be resolved to a DesignBean

Returns:
The remaining expression that did could not be resolved to a DesignBean

toString


public java.lang.String toString()