1 25 26 package org.snipsnap.render.macro.parameter; 27 28 import org.radeox.api.engine.context.RenderContext; 29 import org.radeox.macro.parameter.BaseMacroParameter; 30 import org.snipsnap.snip.Snip; 31 import org.snipsnap.render.context.SnipRenderContext; 32 33 import java.util.HashMap ; 34 35 44 45 public class SnipMacroParameter extends BaseMacroParameter { 46 47 public SnipMacroParameter(RenderContext context) { 48 params = new HashMap (); 49 this.context = context; 50 } 51 52 public SnipMacroParameter(String stringParams) { 53 setParams(stringParams); 54 } 55 56 public SnipRenderContext getSnipRenderContext() { 57 return (SnipRenderContext) context; 58 } 59 } 60 | Popular Tags |