|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectes.unex.sextante.core.OutputObjectsSet
public class OutputObjectsSet
Constructor Summary | |
---|---|
OutputObjectsSet()
|
Method Summary | |
---|---|
void |
add(Output output)
adds a new output to the set. |
boolean |
containsKey(java.lang.String key)
Return true if the set contains an object associated to the passed key |
OutputObjectsSet |
getNewInstance()
Returns a new instance of the set and all its elements |
Output |
getOutput(int iIndex)
Returns an output of the set, identified by its index in it |
Output |
getOutput(java.lang.String sName)
Returns an output of the set, identified by its name |
int |
getOutputDataObjectsCount()
Returns the number of data objects (layers and tables) in the set |
int |
getOutputLayersCount()
Returns the number of output layers in the set |
int |
getOutputObjectsCount()
Returns the total number of output objects |
boolean |
hasDataObjects()
Returns true if the set contains output layers or tables |
boolean |
hasLayers()
Return true if the set contains output layers |
boolean |
remove(Output out)
Removes an output object from the set |
boolean |
remove(java.lang.String sName)
Removes an output object from the set |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OutputObjectsSet()
Method Detail |
---|
public void add(Output output)
output
- the output objectpublic Output getOutput(java.lang.String sName) throws WrongOutputIDException
sName
- the name of the output object
WrongOutputIDException
- if no output
with the specified name exists in the setpublic Output getOutput(int iIndex) throws java.lang.ArrayIndexOutOfBoundsException
iIndex
- the index of the output in the set
java.lang.ArrayIndexOutOfBoundsException
- if iIndex is not
a valid array indexpublic int getOutputDataObjectsCount()
public boolean hasDataObjects()
public boolean hasLayers()
public int getOutputLayersCount()
public boolean remove(Output out)
out
- the output to remove
public boolean remove(java.lang.String sName)
sName
- the name of output to remove
public OutputObjectsSet getNewInstance()
public int getOutputObjectsCount()
public boolean containsKey(java.lang.String key)
key
- a string key
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |