org.deegree.portal.context
Class WMCMetadataSurrogate
java.lang.Object
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 . |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
-
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
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org