com.x5.template
Class IfTag
java.lang.Object
com.x5.template.BlockTag
com.x5.template.IfTag
public class IfTag
- extends BlockTag
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IfTag
public IfTag(java.lang.String params,
Snippet body)
IfTag
public IfTag()
getBlockStartMarker
public java.lang.String getBlockStartMarker()
- Specified by:
getBlockStartMarker in class BlockTag
getBlockEndMarker
public java.lang.String getBlockEndMarker()
- Specified by:
getBlockEndMarker in class BlockTag
doSmartTrimAroundBlock
public boolean doSmartTrimAroundBlock()
- Overrides:
doSmartTrimAroundBlock in class BlockTag
renderBlock
public void renderBlock(java.io.Writer out,
Chunk context,
java.lang.String origin,
int depth)
throws java.io.IOException
- Specified by:
renderBlock in class BlockTag
- Throws:
java.io.IOException
renderChosenParts
public void renderChosenParts(java.io.Writer out,
Chunk context,
java.lang.String origin,
int depth,
java.util.List<SnippetPart> parts,
int a,
int b)
throws java.io.IOException
- Throws:
java.io.IOException
Copyright © 2015. All Rights Reserved.