info.magnolia.module.templatingkit.resources
Class Resource

java.lang.Object
  extended by info.magnolia.module.templatingkit.resources.Resource
Direct Known Subclasses:
CssFile, Resource

public class Resource
extends Object

Resource Bean Used to encapsulate Physical resources as JS, or CSS files.

Version:
$Id$
Author:
pbracher

Constructor Summary
Resource(info.magnolia.cms.beans.config.URI2RepositoryManager uri2RepositoryManager, info.magnolia.templating.functions.TemplatingFunctions templatingFunctions)
           
 
Method Summary
 String getConditionalComment()
           
protected  String getFarFutureCachingTimeStamp(String currentLink)
           
 String getLink()
           
 boolean isFarFutureCaching()
           
 void setConditionalComment(String conditionalComment)
           
 void setFarFutureCaching(boolean farFutureCaching)
           
 void setLink(String link)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Resource

@Inject
public Resource(info.magnolia.cms.beans.config.URI2RepositoryManager uri2RepositoryManager,
                       info.magnolia.templating.functions.TemplatingFunctions templatingFunctions)
Method Detail

getLink

public String getLink()

getFarFutureCachingTimeStamp

protected String getFarFutureCachingTimeStamp(String currentLink)
                                       throws javax.jcr.PathNotFoundException,
                                              javax.jcr.ValueFormatException,
                                              javax.jcr.RepositoryException
Throws:
javax.jcr.PathNotFoundException
javax.jcr.ValueFormatException
javax.jcr.RepositoryException

setLink

public void setLink(String link)

isFarFutureCaching

public boolean isFarFutureCaching()

setFarFutureCaching

public void setFarFutureCaching(boolean farFutureCaching)

getConditionalComment

public String getConditionalComment()

setConditionalComment

public void setConditionalComment(String conditionalComment)


Copyright © 2008-2012 Magnolia International Ltd.. All Rights Reserved.