Package net.asfun.jangod.lib

Examples of net.asfun.jangod.lib.Tag.interpreter()


  public String render(JangodInterpreter interpreter) throws InterpretException {
    Tag tag = TagLibrary.getTag(master.getMacroName());
    if ( tag != null ) {
      JangodLogger.fine("Treat macro as tag with same name >>> " + master.getMacroName());
      interpreter.setLevel(level);
      return tag.interpreter(children(), master.getHelpers(), interpreter);
    } else {
      JangodLogger.warning("Skiping handless macro while rendering >>> " + master.getMacroName());
      return Constants.STR_BLANK;
    }
  }
View Full Code Here


  @Override
  public String render(JangodInterpreter interpreter)
      throws InterpretException {
    interpreter.setLevel(level);
    Tag tag = TagLibrary.getTag(master.getTagName());
    return tag.interpreter(children(), master.getHelpers(), interpreter);
  }

  @Override
  public String toString() {
    return master.toString();
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.