org.deegree.protocol.wps.client.param
Class ComplexFormat

java.lang.Object
  extended by org.deegree.protocol.wps.client.param.ComplexFormat
All Implemented Interfaces:
Serializable

public class ComplexFormat
extends Object
implements Serializable

Encapsulates the parameters needed for defining a complex input / output format.

Version:
$Revision: 28931 $, $Date: 2010-12-22 08:42:54 +0100 (Wed, 22 Dec 2010) $
Author:
Andrei Ionita, last edited by: $Author: lbuesching $
See Also:
Serialized Form

Constructor Summary
ComplexFormat(String mimeType, String encoding, String schema)
          Creates a new ComplexFormat instance.
 
Method Summary
 boolean equals(Object arg0)
           
 String getEncoding()
          Returns the encoding of the format.
 String getMimeType()
          Returns the mime type of the format.
 String getSchema()
          Returns the XML schema URL of the format.
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ComplexFormat

public ComplexFormat(String mimeType,
                     String encoding,
                     String schema)
Creates a new ComplexFormat instance.

Parameters:
mimeType - mime type, may be null
encoding - encoding, may be null
schema - XML schema, may be null
Method Detail

getMimeType

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

Returns:
mime type, may be null (means unspecified / default)

getEncoding

public String getEncoding()
Returns the encoding of the format.

Returns:
encoding, may be null (means unspecified / default)

getSchema

public String getSchema()
Returns the XML schema URL of the format.

Returns:
he XML schema URL, may be null (means unspecified / default)

equals

public boolean equals(Object arg0)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2011. All Rights Reserved.