org.apache.cocoon.forms.binding.library
Class LibraryManagerImpl
java.lang.Object
org.apache.cocoon.forms.binding.library.LibraryManagerImpl
- All Implemented Interfaces:
- LibraryManager
- public class LibraryManagerImpl
- extends Object
- implements LibraryManager
- Version:
- $Id: LibraryManagerImpl.html 1304280 2012-03-23 11:18:01Z ilgrosso $
Fields inherited from interface org.apache.cocoon.forms.binding.library.LibraryManager |
ROLE |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PREFIX
protected static final String PREFIX
- See Also:
- Constant Field Values
LibraryManagerImpl
public LibraryManagerImpl()
setBindingManager
public void setBindingManager(JXPathBindingManager bindingManager)
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
debug
public void debug(String msg)
setCacheManager
public void setCacheManager(CacheManager cacheManager)
setSourceResolver
public void setSourceResolver(SourceResolver sourceResolver)
setParser
public void setParser(org.apache.cocoon.core.xml.SAXParser parser)
Copyright © 1999-2008 The Apache Software Foundation. All Rights Reserved.