org.deegree.theme.persistence.standard
Class StandardThemeProvider
java.lang.Object
org.deegree.theme.persistence.standard.StandardThemeProvider
- All Implemented Interfaces:
- ExtendedResourceProvider<Theme>, ResourceProvider, ThemeProvider
public class StandardThemeProvider
- extends Object
- implements ThemeProvider
- Author:
- stranger
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StandardThemeProvider
public StandardThemeProvider()
init
public void init(DeegreeWorkspace workspace)
- Description copied from interface:
ExtendedResourceProvider
- Will be called before any call to #create.
- Specified by:
init
in interface ExtendedResourceProvider<Theme>
create
public Theme create(URL configUrl)
throws ResourceInitException
- Specified by:
create
in interface ExtendedResourceProvider<Theme>
- Returns:
- a new resource created from the configuration url, never
null
- Throws:
ResourceInitException
getDependencies
public Class<? extends ResourceManager>[] getDependencies()
- Specified by:
getDependencies
in interface ExtendedResourceProvider<Theme>
- Returns:
- dependencies as resource manager classes, never null
getConfigNamespace
public String getConfigNamespace()
- Description copied from interface:
ResourceProvider
- Returns the namespace for configuration documents that this provider handles.
- Specified by:
getConfigNamespace
in interface ResourceProvider
- Returns:
- the namespace for configuration documents, never
null
getConfigSchema
public URL getConfigSchema()
- Description copied from interface:
ResourceProvider
- Returns the URL for retrieving the configuration document schema.
- Specified by:
getConfigSchema
in interface ResourceProvider
- Returns:
- the URL for retrieving the configuration document schema, may be
null
Copyright © 2011. All Rights Reserved.