es.unex.sextante.outputs
Class OutputVectorLayer

java.lang.Object
  extended by es.unex.sextante.outputs.Output
      extended by es.unex.sextante.outputs.OutputVectorLayer

public class OutputVectorLayer
extends Output

An output representing a vector layer

Author:
volaya

Field Summary
static int SHAPE_TYPE_LINE
           
static int SHAPE_TYPE_POINT
           
static int SHAPE_TYPE_POLYGON
           
static int SHAPE_TYPE_UNDEFINED
           
 
Constructor Summary
OutputVectorLayer()
           
 
Method Summary
 java.lang.String getCommandLineParameter()
          Returns the output as a command-line parameter
 Output getNewInstance()
           
 int getShapeType()
          Returns the shape type of this output vector layer
 java.lang.String getTypeDescription()
          returns a human-readable description of the type of output
 void setObjectData(Output output)
          Sets the data objects (output channel, name, output object, etc) of this objects from another Output object
 void setOutputObject(java.lang.Object obj)
          Sets a new value for the output object
 void setShapeType(int shapeType)
          Sets the shape type of this output vector layer
 
Methods inherited from class es.unex.sextante.outputs.Output
getDescription, getName, getOutputChannel, getOutputObject, setDescription, setName, setOutputChannel
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SHAPE_TYPE_POLYGON

public static final int SHAPE_TYPE_POLYGON
See Also:
Constant Field Values

SHAPE_TYPE_POINT

public static final int SHAPE_TYPE_POINT
See Also:
Constant Field Values

SHAPE_TYPE_LINE

public static final int SHAPE_TYPE_LINE
See Also:
Constant Field Values

SHAPE_TYPE_UNDEFINED

public static final int SHAPE_TYPE_UNDEFINED
See Also:
Constant Field Values
Constructor Detail

OutputVectorLayer

public OutputVectorLayer()
Method Detail

setOutputObject

public void setOutputObject(java.lang.Object obj)
Description copied from class: Output
Sets a new value for the output object

Specified by:
setOutputObject in class Output
Parameters:
obj - the new value for the output object

getCommandLineParameter

public java.lang.String getCommandLineParameter()
Description copied from class: Output
Returns the output as a command-line parameter

Specified by:
getCommandLineParameter in class Output
Returns:
the output as a string, to save it as a command-line parameter

getShapeType

public int getShapeType()
Returns the shape type of this output vector layer

Returns:
the shape type of this output vector layer

setShapeType

public void setShapeType(int shapeType)
Sets the shape type of this output vector layer

Parameters:
shapeType - The shape type of this output

getNewInstance

public Output getNewInstance()
Overrides:
getNewInstance in class Output
Returns:
a new instance of the output object

setObjectData

public void setObjectData(Output output)
Description copied from class: Output
Sets the data objects (output channel, name, output object, etc) of this objects from another Output object

Overrides:
setObjectData in class Output
Parameters:
output - the Output object to take data from

getTypeDescription

public java.lang.String getTypeDescription()
Description copied from class: Output
returns a human-readable description of the type of output

Specified by:
getTypeDescription in class Output
Returns:
a human-readable description of the type of output