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

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

public class QueryTemplateParser
extends AbstractTemplateParser
implements TemplateParser


Field Summary
static String QUERY_TEMPLATE_REGEXP
           
 
Fields inherited from class org.mmbase.applications.vprowizards.spring.cache.template.AbstractTemplateParser
nodeNumber, nodeType, template
 
Constructor Summary
QueryTemplateParser(String nodeType, String nodeNumber, String template, QueryTemplate queryTemplate, TemplateQueryRunner templateQueryRunner)
           
 
Method Summary
 void insertNodeNumber()
           
protected  Template instantiateTemplate(String templateStr)
           
static boolean isTemplate(String template)
           
protected  boolean matches(String template)
           
 void setTemplateQueryRunner(TemplateQueryRunner templateQueryRunner)
           
 
Methods inherited from class org.mmbase.applications.vprowizards.spring.cache.template.AbstractTemplateParser
getTemplate, removeNodeNumber, stripTemplateLeaveNodenr
 
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, removeNodeNumber, stripTemplateLeaveNodenr
 

Field Detail

QUERY_TEMPLATE_REGEXP

public static final String QUERY_TEMPLATE_REGEXP
See Also:
Constant Field Values
Constructor Detail

QueryTemplateParser

public QueryTemplateParser(String nodeType,
                           String nodeNumber,
                           String template,
                           QueryTemplate queryTemplate,
                           TemplateQueryRunner templateQueryRunner)
Method Detail

insertNodeNumber

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

setTemplateQueryRunner

public void setTemplateQueryRunner(TemplateQueryRunner templateQueryRunner)

isTemplate

public static boolean isTemplate(String template)

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