Class ContentPageWebResourceTitleVariableResolver

  • All Implemented Interfaces:
    javax.servlet.jsp.el.VariableResolver

    public class ContentPageWebResourceTitleVariableResolver
    extends PageWebResourceTitlePatternVariableResolver
    Variable resolver that resolves, besides the variables provided by PageWebResourceTitlePatternVariableResolver, the following variables:
    publishedDay
    The -- two letter -- day of month that the content was published or null if there's no such information.
    publishedMonth
    The -- two letter -- month number that the content was published or null if there's no such information.
    publishedYear
    The -- four letter -- year that the content was published or null if there's no such information.
    Since:
    10.2.0
    Version:
    $Revision$ $Date$
    • Constructor Detail

      • ContentPageWebResourceTitleVariableResolver

        public ContentPageWebResourceTitleVariableResolver​(ContentVersion contentVersion,
                                                           PageWebResource pageWebResource,
                                                           java.lang.String simpleTitle)
    • Method Detail

      • resolveVariable

        public java.lang.Object resolveVariable​(java.lang.String variableName)
                                         throws javax.servlet.jsp.el.ELException
        Specified by:
        resolveVariable in interface javax.servlet.jsp.el.VariableResolver
        Overrides:
        resolveVariable in class PageWebResourceTitlePatternVariableResolver
        Throws:
        javax.servlet.jsp.el.ELException