JTools

org.jtools.tmpl.macrolib
Class Jsp.getProperty

java.lang.Object
  extended by org.jtools.tmpl.api.macro.AbstractMacro
      extended by org.jtools.tmpl.macrolib.Jsp.getProperty
All Implemented Interfaces:
Macro
Enclosing class:
Jsp

public static class Jsp.getProperty
extends AbstractMacro


Constructor Summary
Jsp.getProperty()
           
 
Method Summary
 void execute(MacroStatement stmt, Properties args, Collection<String> ellipseArg, Collection<String> lines, MacroCallback result)
          executes this macro.
 Collection<MacroArgument> getArguments()
          declares this macro's arguments.
 
Methods inherited from class org.jtools.tmpl.api.macro.AbstractMacro
getArgumentEllipse, getDestLanguages, getName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Jsp.getProperty

public Jsp.getProperty()
Method Detail

getArguments

public Collection<MacroArgument> getArguments()
Description copied from interface: Macro
declares this macro's arguments.

Specified by:
getArguments in interface Macro
Overrides:
getArguments in class AbstractMacro
Returns:
list of the macro's arguments.

execute

public void execute(MacroStatement stmt,
                    Properties args,
                    Collection<String> ellipseArg,
                    Collection<String> lines,
                    MacroCallback result)
             throws IOException,
                    CompilerException
Description copied from interface: Macro
executes this macro.

Parameters:
stmt - declaration of the statement that calls this macro.
args - list of macro's arguments may be null or empty if the macro was called without arguments.
lines - list of stmt lines that are not interpreted as arguments. may be null or empty if the macro was called without additional lines.
result - the interface to add this macro's replacements - created by calls to stmt - to.
Throws:
IOException
CompilerException

JTools

© 2000-2006, JTools.org.