org.rythmengine.internal.parser
Class BlockCodeToken

java.lang.Object
  extended by org.rythmengine.utils.TextBuilder
      extended by org.rythmengine.internal.Token
          extended by org.rythmengine.internal.parser.CodeToken
              extended by org.rythmengine.internal.parser.BlockCodeToken
All Implemented Interfaces:
Cloneable, IBlockHandler
Direct Known Subclasses:
AssignParser.AssignToken, ForEachCodeToken, IfParser.IfBlockCodeToken, RenderSectionParser.DefaultSectionToken, SectionParser.SectionToken

public class BlockCodeToken
extends CodeToken
implements IBlockHandler


Nested Class Summary
 
Nested classes/interfaces inherited from class org.rythmengine.internal.Token
Token.StringToken
 
Nested classes/interfaces inherited from class org.rythmengine.utils.TextBuilder
TextBuilder.StrBuf
 
Field Summary
 
Fields inherited from class org.rythmengine.internal.Token
ctx, disableCompactMode, EMPTY_TOKEN, EMPTY_TOKEN2, line, logger, removeNextLineBreak, s
 
Fields inherited from class org.rythmengine.utils.TextBuilder
__buffer, __caller
 
Constructor Summary
BlockCodeToken(String s, IContext context)
           
 
Method Summary
 String closeBlock()
           
 void openBlock()
           
 
Methods inherited from class org.rythmengine.internal.parser.CodeToken
output
 
Methods inherited from class org.rythmengine.internal.Token
build, build, clone, compact, compact, compactMode, fail, isOk, outputExpression, outputExpression, outputExpression, p2tline, p3tline, p4tline, p5tline, pline, pline, pp, processRythmExpression, ptline, removeLeadingLineBreak, stripJavaExtension, test
 
Methods inherited from class org.rythmengine.utils.TextBuilder
__append, __append, __append, __append, __append, __append, __append, __append, __append, __getBuffer, __setBuffer, buffer, caller, getSelfOut, np, p, p, p, p, p, p, p, p, p, p2t, p2tn, p3t, p3tn, p4t, p4tn, pn, pn, pt, ptn, setSelfOut, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BlockCodeToken

public BlockCodeToken(String s,
                      IContext context)
Method Detail

openBlock

public void openBlock()
Specified by:
openBlock in interface IBlockHandler

closeBlock

public String closeBlock()
Specified by:
closeBlock in interface IBlockHandler


Copyright © 2014. All Rights Reserved.