org.niggle.templates.webmacroimpl
Class WebMacroTemplate

java.lang.Object
  |
  +--org.webmacro.engine.WMTemplate
        |
        +--org.niggle.templates.webmacroimpl.WebMacroTemplate
All Implemented Interfaces:
org.webmacro.Macro, org.webmacro.Template, org.webmacro.Visitable

public class WebMacroTemplate
extends org.webmacro.engine.WMTemplate


Field Summary
 
Fields inherited from class org.webmacro.engine.WMTemplate
_broker, _log
 
Constructor Summary
WebMacroTemplate(java.lang.String name, org.webmacro.Broker broker, java.net.URL url, java.lang.String encoding)
           
 
Method Summary
protected  java.io.Reader getReader()
           
 void parse()
           
 java.lang.String toString()
           
 
Methods inherited from class org.webmacro.engine.WMTemplate
accept, evaluate, getDefaultEncoding, getParam, getParameters, getParser, setParam, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WebMacroTemplate

public WebMacroTemplate(java.lang.String name,
                        org.webmacro.Broker broker,
                        java.net.URL url,
                        java.lang.String encoding)
Method Detail

getReader

protected java.io.Reader getReader()
                            throws java.io.IOException
Specified by:
getReader in class org.webmacro.engine.WMTemplate
java.io.IOException

parse

public void parse()
           throws java.io.IOException
Specified by:
parse in interface org.webmacro.Template
Overrides:
parse in class org.webmacro.engine.WMTemplate
java.io.IOException

toString

public java.lang.String toString()
Specified by:
toString in class org.webmacro.engine.WMTemplate