com.x5.template
Class SnippetBlockTag

java.lang.Object
  extended by com.x5.template.SnippetPart
      extended by com.x5.template.SnippetTag
          extended by com.x5.template.SnippetBlockTag

public class SnippetBlockTag
extends SnippetTag


Field Summary
 
Fields inherited from class com.x5.template.SnippetTag
tag
 
Fields inherited from class com.x5.template.SnippetPart
snippetText
 
Constructor Summary
SnippetBlockTag(SnippetTag tagOpen, java.util.List<SnippetPart> bodyParts, SnippetTag tagClose, java.lang.String origin)
           
 
Method Summary
 boolean doSmartTrimAroundBlock()
           
 Snippet getBody()
           
 SnippetTag getCloseTag()
           
 SnippetTag getOpenTag()
           
 void render(java.io.Writer out, Chunk context, java.lang.String origin, int depth)
           
 java.lang.String toString()
          toString() returns the un-interpreted content for this part
 
Methods inherited from class com.x5.template.SnippetTag
applyFiltersFirst, getBlockTagType, getDefaultValue, getFilters, getPath, getTag, isTag
 
Methods inherited from class com.x5.template.SnippetPart
depthCheckFails, getText, isLiteral, setLiteral, setText
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SnippetBlockTag

public SnippetBlockTag(SnippetTag tagOpen,
                       java.util.List<SnippetPart> bodyParts,
                       SnippetTag tagClose,
                       java.lang.String origin)
Method Detail

render

public void render(java.io.Writer out,
                   Chunk context,
                   java.lang.String origin,
                   int depth)
            throws java.io.IOException
Overrides:
render in class SnippetTag
Throws:
java.io.IOException

toString

public java.lang.String toString()
Description copied from class: SnippetPart
toString() returns the un-interpreted content for this part

Overrides:
toString in class SnippetPart

getOpenTag

public SnippetTag getOpenTag()

getBody

public Snippet getBody()

getCloseTag

public SnippetTag getCloseTag()

doSmartTrimAroundBlock

public boolean doSmartTrimAroundBlock()


Copyright © 2015. All Rights Reserved.