org.deegree.portal.context
Class WMCMetadataSurrogate
java.lang.Object
org.deegree.portal.context.WMCMetadataSurrogate
public class WMCMetadataSurrogate
- extends 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: 9346 $, $Date: 2007-12-27 17:39:07 +0100 (Do, 27 Dez 2007) $
- Author:
- Ugo Taddei, last edited by: $Author: apoth $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WMCMetadataSurrogate
public WMCMetadataSurrogate(String filename,
String author,
String title,
String description,
String[] keywords)
- Creates a new
WMCMetadataSurrogate
.
- Parameters:
filename
- author
- title
- description
- keywords
-
createFromWMC
public static final WMCMetadataSurrogate createFromWMC(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 String getDescription()
- Returns:
- description
getFilename
public String getFilename()
- Returns:
- filename
getKeywords
public String[] getKeywords()
- Returns:
- keywords
getTitle
public String getTitle()
- Returns:
- title
getAuthor
public String getAuthor()
- Returns:
- author
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://deegree.sourceforge.net