Save This Page
Home » sitemesh-2.3 » com.opensymphony.module » sitemesh » factory » [javadoc | source]
com.opensymphony.module.sitemesh.factory
public class: DefaultFactory [javadoc | source]
java.lang.Object
   com.opensymphony.module.sitemesh.Factory
      com.opensymphony.module.sitemesh.factory.BaseFactory
         com.opensymphony.module.sitemesh.factory.DefaultFactory
DefaultFactory, reads configuration from /WEB-INF/sitemesh.xml, or uses the default configuration if sitemesh.xml does not exist.
Field Summary
 String configFileName     
 File configFile     
 long configLastModified     
 Map configProps     
 String excludesFileName     
 File excludesFile     
Fields inherited from com.opensymphony.module.sitemesh.factory.BaseFactory:
config,  decoratorMapper,  pageParsers,  excludeUrls
Constructor:
 public DefaultFactory(Config config) 
Method from com.opensymphony.module.sitemesh.factory.DefaultFactory Summary:
getDecoratorMapper,   getPageParser,   isPathExcluded,   shouldParsePage
Methods from com.opensymphony.module.sitemesh.factory.BaseFactory:
addExcludeUrl,   clearDecoratorMappers,   clearExcludeUrls,   clearParserMappings,   getDecoratorMapper,   getPageParser,   isPathExcluded,   loadClass,   mapParser,   pushDecoratorMapper,   shouldParsePage
Methods from com.opensymphony.module.sitemesh.Factory:
getDecoratorMapper,   getInstance,   getPageParser,   isPathExcluded,   report,   shouldParsePage
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from com.opensymphony.module.sitemesh.factory.DefaultFactory Detail:
 public DecoratorMapper getDecoratorMapper() 
    Refresh config before delegating to superclass.
 public PageParser getPageParser(String contentType) 
    Refresh config before delegating to superclass.
 public boolean isPathExcluded(String path) 
    Returns true if the supplied path matches one of the exclude URLs specified in sitemesh.xml, otherwise returns false. This method refreshes the config before delgating to the superclass.
 public boolean shouldParsePage(String contentType) 
    Refresh config before delegating to superclass.