com.sas.prompts
Interface PromptValuesVisitorInterface


public interface PromptValuesVisitorInterface

A visitor interface (see visitor pattern) for PromptValues delegates. Implementations of this interface can be called from the acceptPromptValuesVisitor method of the PromptValueInterface for each delegate attached to the PromptValuesInterface or its delegates.

See Also:
PromptValuesInterface, PromptValues

Method Summary
 void accept(PromptValuesInterface promptValues)
          Called for the root PromptValuesInterface and each delegate of the PromptValuesInterface.
 boolean shouldContinue()
          Returns whether the acceptPromptValuesVisitor method should continue calling the visitor for additional delegates.
 

Method Detail

accept

void accept(PromptValuesInterface promptValues)
Called for the root PromptValuesInterface and each delegate of the PromptValuesInterface. The delegate being processed is passed in for processing.

Parameters:
promptValues - The current delegate being processed or the root PromptValuesInterface that acceptPromptValuesVisitor was called on

shouldContinue

boolean shouldContinue()
Returns whether the acceptPromptValuesVisitor method should continue calling the visitor for additional delegates. typically, for search type operations this will return false once a match has been found.

Returns:
whether the acceptPromptValuesVisitor method should continue calling the visitor for additional delegates



Copyright © 2009 SAS Institute Inc. All Rights Reserved.