org.apache.cocoon.forms.formmodel.library
Class LibraryManagerImpl
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.cocoon.forms.formmodel.library.LibraryManagerImpl
- All Implemented Interfaces:
- Disposable, Component, Configurable, LogEnabled, Serviceable, ThreadSafe, LibraryManager
public class LibraryManagerImpl
- extends AbstractLogEnabled
- implements LibraryManager, Serviceable, Configurable, Disposable, ThreadSafe, Component
- Version:
- $Id: LibraryManagerImpl.html 1304258 2012-03-23 10:09:27Z ilgrosso $
Fields inherited from interface org.apache.cocoon.forms.formmodel.library.LibraryManager |
ROLE |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LibraryManagerImpl
public LibraryManagerImpl()
configure
public void configure(Configuration configuration)
throws ConfigurationException
- Specified by:
configure
in interface Configurable
- Throws:
ConfigurationException
service
public void service(ServiceManager serviceManager)
throws ServiceException
- Specified by:
service
in interface Serviceable
- Throws:
ServiceException
dispose
public void dispose()
- Specified by:
dispose
in interface Disposable
get
public Library get(String sourceURI)
throws LibraryException
- Description copied from interface:
LibraryManager
- Get the cached instance of the library loaded from the specified source
URI.
- Specified by:
get
in interface LibraryManager
- Parameters:
sourceURI
- URI of the library source.
- Returns:
- Cached instance of the library, or null if it was not loaded.
- Throws:
LibraryException
get
public Library get(String sourceURI,
String baseURI)
throws LibraryException
- Description copied from interface:
LibraryManager
- Get the cached instance of the library loaded from the specified source
URI, resolved relative to the base URI.
- Specified by:
get
in interface LibraryManager
- Parameters:
sourceURI
- Relative URI of the library source.baseURI
- Base URI of the library source.
- Returns:
- Cached instance of the library, or null if it was not loaded.
- Throws:
LibraryException
load
public Library load(String sourceURI)
throws LibraryException
- Description copied from interface:
LibraryManager
- Loads (and caches) a library from specified source URI.
- Specified by:
load
in interface LibraryManager
- Parameters:
sourceURI
- URI of the library source.
- Returns:
- Library loaded from the source URI.
- Throws:
LibraryException
load
public Library load(String sourceURI,
String baseURI)
throws LibraryException
- Description copied from interface:
LibraryManager
- Loads (and caches) a library from specified source URI, resolved relative
to the base URI.
- Specified by:
load
in interface LibraryManager
- Parameters:
sourceURI
- Relative URI of the library source.baseURI
- Base URI of the library source.
- Returns:
- Library loaded from the source URI.
- Throws:
LibraryException
newLibrary
public Library newLibrary()
- Description copied from interface:
LibraryManager
- Create new instance of the
Library
.
- Specified by:
newLibrary
in interface LibraryManager
- Returns:
- new library instance
Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.