org.deegree.portal.context
Class FormatList
java.lang.Object
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FormatList
public FormatList(Format[] formats)
throws ContextException
- Creates a new FormatList object.
- Parameters:
formats
-
- Throws:
ContextException
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()
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org