|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.deegree.services.wps.provider.sextante.FormatHelper
public class FormatHelper
This class presents static methods to determine the GMLVersion
and the GMLSchema.GMLType
of the input and
output data. Additional the class knows all supported formats of the deegree WPS for SEXTANTE GeoAlgorithm
s
and provides corresponding get methods.
Constructor Summary | |
---|---|
FormatHelper()
|
Method Summary | |
---|---|
static GMLSchema.GMLType |
determineGMLType(ComplexInput input)
Returns the GMLSchema.GMLType of the input data. |
static GMLSchema.GMLType |
determineGMLType(ComplexOutput output)
Returns the GMLSchema.GMLType of the output data. |
static GMLVersion |
determineGMLVersion(ComplexInput input)
Returns the GMLVersion of the input data. |
static GMLVersion |
determineGMLVersion(ComplexOutput output)
Returns the GMLVersion of the output data. |
static ComplexFormatType |
getDefaultInputFormat()
Returns the ComplexFormatType of the default input schema. |
static ComplexFormatType |
getDefaultOutputFormat()
Returns the ComplexFormatType of the default output schema. |
static LinkedList<ComplexFormatType> |
getInputFormatsWithoutDefault()
Returns the ComplexFormatType s of all input schemas without the default schema. |
static LinkedList<ComplexFormatType> |
getOutputFormatsWithoutDefault()
Returns the ComplexFormatType s of all output schemas without the default schema. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FormatHelper()
Method Detail |
---|
public static GMLVersion determineGMLVersion(ComplexInput input)
GMLVersion
of the input data.
input
- ComplexInput
, can be created with the ProcessletInputs
.
GMLVersion
of the input data.public static GMLVersion determineGMLVersion(ComplexOutput output)
GMLVersion
of the output data.
output
- ComplexOutput
, can be created with the ProcessletOutputs
.
GMLVersion
of the output data. If this method can't determine the GMLVersion
, returns
default GMLVersion
.public static GMLSchema.GMLType determineGMLType(ComplexInput input)
GMLSchema.GMLType
of the input data.
input
- ComplexInput
, can be created with the ProcessletInputs
.
GMLSchema.GMLType
of the input data.public static GMLSchema.GMLType determineGMLType(ComplexOutput output)
GMLSchema.GMLType
of the output data.
output
- - ComplexOutput
, can be created with the ProcessletOutputs
GMLSchema.GMLType
of the output data. If this method can't determine the GMLVersion
,
returns default GMLVersion
.public static ComplexFormatType getDefaultInputFormat()
ComplexFormatType
of the default input schema.
ComplexFormatType
of the default input schemapublic static ComplexFormatType getDefaultOutputFormat()
ComplexFormatType
of the default output schema.
ComplexFormatType
of the default output schemapublic static LinkedList<ComplexFormatType> getInputFormatsWithoutDefault()
ComplexFormatType
s of all input schemas without the default schema.
ComplexFormatType
of all input schemas without the default schema.public static LinkedList<ComplexFormatType> getOutputFormatsWithoutDefault()
ComplexFormatType
s of all output schemas without the default schema.
ComplexFormatType
of all output schemas without the default schema.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |