org.deegree.services.wps.input
Class ComplexInputImpl

java.lang.Object
  extended by org.deegree.services.wps.input.ProcessletInputImpl
      extended by org.deegree.services.wps.input.ComplexInputImpl
All Implemented Interfaces:
ComplexInput, ProcessletInput
Direct Known Subclasses:
EmbeddedComplexInput, ReferencedComplexInput

public abstract class ComplexInputImpl
extends ProcessletInputImpl
implements ComplexInput

A complex data structure ProcessletInput parameter, e.g. an object encoded in GML or a raw binary stream.

Version:
$Revision: $, $Date: $
Author:
Markus Schneider, last edited by: $Author: schneider $

Field Summary
 
Fields inherited from class org.deegree.services.wps.input.ProcessletInputImpl
definition
 
Constructor Summary
protected ComplexInputImpl(ComplexInputDefinition definition, LanguageString title, LanguageString summary, ComplexFormatType format)
          Creates a new ComplexInputImpl instance.
 
Method Summary
 String getEncoding()
          Returns the encoding information supplied with the input.
 String getMimeType()
          Returns the mime type of the input.
 String getSchema()
          Returns the schema URL supplied with the input.
 
Methods inherited from class org.deegree.services.wps.input.ProcessletInputImpl
getAbstract, getDefinition, getIdentifier, getTitle, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.deegree.services.wps.input.ComplexInput
getValueAsBinaryStream, getValueAsXMLStream
 
Methods inherited from interface org.deegree.services.wps.input.ProcessletInput
getAbstract, getIdentifier, getTitle
 

Constructor Detail

ComplexInputImpl

protected ComplexInputImpl(ComplexInputDefinition definition,
                           LanguageString title,
                           LanguageString summary,
                           ComplexFormatType format)
Creates a new ComplexInputImpl instance.

Parameters:
definition - corresponding input definition from process description
title - optional title supplied with the input parameter, may be null
summary - optional narrative description supplied with the input parameter, may be null
format - the XML schema, format, and encoding of the complex value (must be compatible with the parameter definition)
Method Detail

getMimeType

public String getMimeType()
Returns the mime type of the input.

Specified by:
getMimeType in interface ComplexInput
Returns:
the mime type of the input, may be null (if not specified in the parameter definition)

getEncoding

public String getEncoding()
Returns the encoding information supplied with the input.

Specified by:
getEncoding in interface ComplexInput
Returns:
the encoding information supplied with the input, may be null

getSchema

public String getSchema()
Returns the schema URL supplied with the input.

Specified by:
getSchema in interface ComplexInput
Returns:
the schema URL supplied with the input, may be null


Copyright © 2011. All Rights Reserved.