deegree 2.5 (2011/06/29 09:44 build-8-official)

org.deegree.portal.context
Class FormatList

java.lang.Object
  extended by org.deegree.portal.context.FormatList

public class FormatList
extends java.lang.Object

encapsulates a FormatList as defined by the OGC Web Map Context specification

Version:
$Revision: 18195 $
Author:
Andreas Poth

Constructor Summary
FormatList(Format[] formats)
          Creates a new FormatList object.
 
Method Summary
 void addFormat(Format format)
           
 void clear()
           
 Format getCurrentFormat()
           
 Format getFormat(java.lang.String name)
           
 Format[] getFormats()
           
 Format removeFormat(java.lang.String name)
           
 void setFormats(Format[] formats)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FormatList

public FormatList(Format[] formats)
           throws ContextException
Creates a new FormatList object.

Parameters:
formats -
Throws:
ContextException
Method Detail

getFormats

public Format[] getFormats()
Returns:
the formats

setFormats

public void setFormats(Format[] formats)
                throws ContextException
Parameters:
formats -
Throws:
ContextException

getCurrentFormat

public Format getCurrentFormat()
Returns:
current format

getFormat

public Format getFormat(java.lang.String name)
Parameters:
name -
Returns:
named format

addFormat

public void addFormat(Format format)
Parameters:
format -

removeFormat

public Format removeFormat(java.lang.String name)
Parameters:
name -
Returns:
removed format

clear

public void clear()

deegree 2.5 (2011/06/29 09:44 build-8-official)

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org