org.mmbase.applications.vprowizards.spring.cache.template
Class MultiTemplateParser

java.lang.Object
  extended by org.mmbase.applications.vprowizards.spring.cache.template.AbstractTemplateParser
      extended by org.mmbase.applications.vprowizards.spring.cache.template.MultiTemplateParser
All Implemented Interfaces:
TemplateParser

public class MultiTemplateParser
extends AbstractTemplateParser
implements TemplateParser


Field Summary
 
Fields inherited from class org.mmbase.applications.vprowizards.spring.cache.template.AbstractTemplateParser
nodeNumber, nodeType, template
 
Constructor Summary
MultiTemplateParser(String nodeType, String nodeNumber, String template, TemplateQueryRunner templateQueryRunner)
           
 
Method Summary
 void insertNodeNumber()
           
protected  Template instantiateTemplate(String templateStr)
           
static boolean isTemplate(String template)
           
protected  boolean matches(String template)
           
 void removeNodeNumber()
           
 void stripTemplateLeaveNodenr()
           
static String stripTemplatesLeaveNodeNr(String template)
           
 
Methods inherited from class org.mmbase.applications.vprowizards.spring.cache.template.AbstractTemplateParser
getTemplate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.mmbase.applications.vprowizards.spring.cache.template.TemplateParser
getTemplate
 

Constructor Detail

MultiTemplateParser

public MultiTemplateParser(String nodeType,
                           String nodeNumber,
                           String template,
                           TemplateQueryRunner templateQueryRunner)
Method Detail

isTemplate

public static boolean isTemplate(String template)

stripTemplatesLeaveNodeNr

public static String stripTemplatesLeaveNodeNr(String template)

stripTemplateLeaveNodenr

public void stripTemplateLeaveNodenr()
Specified by:
stripTemplateLeaveNodenr in interface TemplateParser
Overrides:
stripTemplateLeaveNodenr in class AbstractTemplateParser

insertNodeNumber

public void insertNodeNumber()
Specified by:
insertNodeNumber in interface TemplateParser

removeNodeNumber

public void removeNodeNumber()
Specified by:
removeNodeNumber in interface TemplateParser
Overrides:
removeNodeNumber in class AbstractTemplateParser

matches

protected boolean matches(String template)
Specified by:
matches in class AbstractTemplateParser

instantiateTemplate

protected Template instantiateTemplate(String templateStr)
Specified by:
instantiateTemplate in class AbstractTemplateParser


MMBase 2.0-SNAPSHOT - null