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

org.deegree.portal.context
Class WMCMetadataSurrogate

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

public class WMCMetadataSurrogate
extends java.lang.Object

Helper class to collect metadata about a WMC. It substitutes some of the metadata available in a WMC and should be used for providing faster access to theses metadata.

Version:
$Revision: 18195 $, $Date: 2009-06-18 17:55:39 +0200 (Do, 18 Jun 2009) $
Author:
Ugo Taddei, last edited by: $Author: mschneider $

Constructor Summary
WMCMetadataSurrogate(java.lang.String filename, java.lang.String author, java.lang.String title, java.lang.String description, java.lang.String[] keywords)
          Creates a new WMCMetadataSurrogate.
 
Method Summary
static WMCMetadataSurrogate createFromWMC(java.lang.String filename, ViewContext vc)
          Creates a new WMCMetadataSurrogate using the filename and the ViewContext vc.
 java.lang.String getAuthor()
           
 java.lang.String getDescription()
           
 java.lang.String getFilename()
           
 java.lang.String[] getKeywords()
           
 java.lang.String getTitle()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WMCMetadataSurrogate

public WMCMetadataSurrogate(java.lang.String filename,
                            java.lang.String author,
                            java.lang.String title,
                            java.lang.String description,
                            java.lang.String[] keywords)
Creates a new WMCMetadataSurrogate.

Parameters:
filename -
author -
title -
description -
keywords -
Method Detail

createFromWMC

public static final WMCMetadataSurrogate createFromWMC(java.lang.String filename,
                                                       ViewContext vc)
Creates a new WMCMetadataSurrogate using the filename and the ViewContext vc.

Parameters:
filename -
vc - the ViewContext used to initialize the title, the description and the keywords. Cannot be null.
Returns:
a new WMCMetadataSurrogate

getDescription

public java.lang.String getDescription()
Returns:
description

getFilename

public java.lang.String getFilename()
Returns:
filename

getKeywords

public java.lang.String[] getKeywords()
Returns:
keywords

getTitle

public java.lang.String getTitle()
Returns:
title

getAuthor

public java.lang.String getAuthor()
Returns:
author

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