|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.jelly.apt.freemarker.FreemarkerTransform<IfHasDeclarationStrategy>
net.sf.jelly.apt.freemarker.transforms.IfHasDeclarationTransform
public class IfHasDeclarationTransform
Evalute the body of the tag if the specified type has a declaration. If the specified type is an array type, the body will not be evaluated.
| Field Summary |
|---|
| Fields inherited from interface freemarker.template.TemplateModel |
|---|
NOTHING |
| Constructor Summary | |
|---|---|
IfHasDeclarationTransform(java.lang.String namespace)
Construct a new transform under the specified namespace. |
|
| Method Summary | |
|---|---|
IfHasDeclarationStrategy |
newStrategy()
Instantiate a new strategy instance. |
| Methods inherited from class net.sf.jelly.apt.freemarker.FreemarkerTransform |
|---|
convertString, findSetter, getTransformName, getTransformNamespace, getWriter, setupStrategy, unwrap |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IfHasDeclarationTransform(java.lang.String namespace)
null or "" means the root namespace.
namespace - The namespace.| Method Detail |
|---|
public IfHasDeclarationStrategy newStrategy()
FreemarkerTransform
newStrategy in class FreemarkerTransform<IfHasDeclarationStrategy>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||