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

org.deegree.portal.context
Class Format

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

public class Format
extends java.lang.Object

encapsulates the format description as described by the OGC Web Map Context specification

Version:
$Revision: 18195 $
Author:
Andreas Poth

Constructor Summary
Format(java.lang.String name, boolean current)
          Creates a new Format object.
 
Method Summary
 java.lang.String getName()
           
 boolean isCurrent()
           
 void setCurrent(boolean current)
          sets if this is the current format of the layer or not
 void setName(java.lang.String name)
          sets the the name of the format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Format

public Format(java.lang.String name,
              boolean current)
       throws ContextException
Creates a new Format object.

Parameters:
name - name of the format
current - indicates if this is current format of this layer
Throws:
ContextException
Method Detail

getName

public java.lang.String getName()
Returns:
the name of the format

setName

public void setName(java.lang.String name)
             throws ContextException
sets the the name of the format

Parameters:
name -
Throws:
ContextException

isCurrent

public boolean isCurrent()
Returns:
true if this is the current format of the layer

setCurrent

public void setCurrent(boolean current)
sets if this is the current format of the layer or not

Parameters:
current -

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