Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.mentawai.core
Interface Output  view Output download Output.java

All Known Implementing Classes:
OutputMap, OutputResponse

public interface Output

Defines the behavior of an action output. An output is like a map where you can put and remove values by name.


Method Summary
 java.lang.Object getValue(java.lang.String name)
          Gets an output value by name.
 boolean isEmpty()
          Returns true is this output has no values.
 java.util.Iterator keys()
          Gets an iterator with the names of each output value.
 void removeValue(java.lang.String name)
          Removes an output value by name.
 void setValue(java.lang.String name, java.lang.Object value)
          Sets an output value by name.
 

Method Detail

setValue

public void setValue(java.lang.String name,
                     java.lang.Object value)
Sets an output value by name.


getValue

public java.lang.Object getValue(java.lang.String name)
Gets an output value by name.


removeValue

public void removeValue(java.lang.String name)
Removes an output value by name.


isEmpty

public boolean isEmpty()
Returns true is this output has no values.


keys

public java.util.Iterator keys()
Gets an iterator with the names of each output value.