org.deegree.theme.persistence.standard
Class StandardTheme

java.lang.Object
  extended by org.deegree.theme.persistence.standard.StandardTheme
All Implemented Interfaces:
Resource, Theme

public class StandardTheme
extends Object
implements Theme

Author:
stranger

Constructor Summary
StandardTheme(LayerMetadata metadata, List<Theme> themes, List<Layer> layers)
           
 
Method Summary
 void destroy()
          Usually called by the ResourceManager upon workspace shutdown.
 List<Layer> getLayers()
           
 LayerMetadata getMetadata()
           
 List<Theme> getThemes()
           
 void init(DeegreeWorkspace workspace)
          Usually called by the ResourceManager upon workspace startup.
 String toString()
           
 String toString(int indent)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StandardTheme

public StandardTheme(LayerMetadata metadata,
                     List<Theme> themes,
                     List<Layer> layers)
Method Detail

init

public void init(DeegreeWorkspace workspace)
          throws ResourceInitException
Description copied from interface: Resource
Usually called by the ResourceManager upon workspace startup.

Specified by:
init in interface Resource
Parameters:
workspace - the workspace the resource belongs to, may be null
Throws:
ResourceInitException

destroy

public void destroy()
Description copied from interface: Resource
Usually called by the ResourceManager upon workspace shutdown.

Specified by:
destroy in interface Resource

getMetadata

public LayerMetadata getMetadata()
Specified by:
getMetadata in interface Theme

getLayers

public List<Layer> getLayers()
Specified by:
getLayers in interface Theme

getThemes

public List<Theme> getThemes()
Specified by:
getThemes in interface Theme

toString

public String toString(int indent)

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2011. All Rights Reserved.