|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.confluence.util.velocity.ConfigurableResourceManager com.atlassian.confluence.util.velocity.ConfluenceVelocityResourceManager com.atlassian.confluence.util.velocity.CompatibleVelocityResourceManager
public class CompatibleVelocityResourceManager
This resource manager will instantiate resource loaders which will correct legal Velocity 1.3 syntax to legal Velocity 1.4 syntax for any resource loader defined with the velocity13.compatibility property set to true
Velocity13CompatibleResourceLoader
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.atlassian.confluence.util.velocity.ConfluenceVelocityResourceManager |
---|
ConfluenceVelocityResourceManager.ConfluenceResourceFactory |
Nested classes/interfaces inherited from class com.atlassian.confluence.util.velocity.ConfigurableResourceManager |
---|
ConfigurableResourceManager.ResourceFactory |
Field Summary |
---|
Fields inherited from class com.atlassian.confluence.util.velocity.ConfluenceVelocityResourceManager |
---|
log |
Fields inherited from class com.atlassian.confluence.util.velocity.ConfigurableResourceManager |
---|
globalCache, RESOURCE_CONTENT, RESOURCE_TEMPLATE, resourceLoaders, rsvc |
Constructor Summary | |
---|---|
CompatibleVelocityResourceManager()
|
Method Summary | |
---|---|
protected org.apache.velocity.runtime.resource.loader.ResourceLoader |
postProcessLoader(org.apache.velocity.runtime.resource.loader.ResourceLoader loader,
org.apache.commons.collections.ExtendedProperties config)
Wraps configured resource loaders in a Velocity13CompatibleResourceLoader |
Methods inherited from class com.atlassian.confluence.util.velocity.ConfluenceVelocityResourceManager |
---|
getResourceFactory, initialize, setCacheFactory |
Methods inherited from class com.atlassian.confluence.util.velocity.ConfigurableResourceManager |
---|
getLoaderNameForResource, getResource, getResource, loadResource, refreshResource |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CompatibleVelocityResourceManager()
Method Detail |
---|
protected org.apache.velocity.runtime.resource.loader.ResourceLoader postProcessLoader(org.apache.velocity.runtime.resource.loader.ResourceLoader loader, org.apache.commons.collections.ExtendedProperties config)
Velocity13CompatibleResourceLoader
postProcessLoader
in class ConfluenceVelocityResourceManager
loader
- Resource loader to processconfig
- Configured properties for the resource loader
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |