gov.nasa.arc.brahms.vm.api.common
Interface IStatementOrganizer

All Known Implementing Classes:
CommunicativeActBeliefOrganizer, DefaultStatementOrganizer

public interface IStatementOrganizer

An IStatementOrganizer is an interface to a statement organizer that organizes a list of statements into a specific order.

Version:
$Revision: 1.1 $ $Date: 2009/11/23 18:38:31 $ $Author: rnado $
Author:
Ron van Hoof

Method Summary
 IStatement[] organize(java.util.Enumeration statements)
          Organizes the specified enumeration of statements and returns the organized set of statements.
 IStatement[] organize(IStatement[] statements)
          Organizes the specified array of statements and returns the organized set of statements.
 

Method Detail

organize

IStatement[] organize(java.util.Enumeration statements)
                      throws ExternalException
Organizes the specified enumeration of statements and returns the organized set of statements.

Parameters:
statements - the Enumeration of IStatement to be organized
Returns:
IStatement[] the organized statements
Throws:
ExternalException - if an internal error occurs

organize

IStatement[] organize(IStatement[] statements)
                      throws ExternalException
Organizes the specified array of statements and returns the organized set of statements.

Parameters:
statements - the IStatement array to be organized
Returns:
IStatement[] the organized statements
Throws:
ExternalException - if an internal error occurs


Copyright © 1997-2012 All Rights Reserved.