org.deegree.portal.context
Class FormatList
java.lang.Object
  
org.deegree.portal.context.FormatList
public class FormatList
- extends Object
 
encapsulates a FormatList as defined by the OGC Web Map Context specification
- Version:
 
  - $Revision: 6956 $
 
- 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:
 
 
setFormats
public void setFormats(Format[] formats)
                throws ContextException
- Parameters:
 formats - 
- Throws:
 ContextException
 
getCurrentFormat
public Format getCurrentFormat()
- Returns:
 - current format
 
 
getFormat
public Format getFormat(String name)
- Parameters:
 name - 
- Returns:
 - named format
 
 
addFormat
public void addFormat(Format format)
- Parameters:
 format - 
 
removeFormat
public Format removeFormat(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://deegree.sourceforge.net