Package | Description |
---|---|
org.rythmengine.internal | |
org.rythmengine.template | |
org.rythmengine.utils |
Modifier and Type | Class and Description |
---|---|
class |
AutoToStringCodeBuilder
Created with IntelliJ IDEA.
|
class |
CodeBuilder |
class |
TemplateBuilder
A special TextBuilder provides additional print utilities for expressions
|
class |
Token |
static class |
Token.StringToken |
class |
ToStringTemplateBase
The template base used in ToString mode or AutoToString mode
|
Modifier and Type | Method and Description |
---|---|
TextBuilder |
CodeBuilder.build() |
TextBuilder |
AutoToStringCodeBuilder.build() |
TextBuilder |
TemplateBuilder.pe(boolean b)
Print a boolean expression.
|
TextBuilder |
TemplateBuilder.pe(boolean b,
Escape escape)
See
p(boolean) |
TextBuilder |
TemplateBuilder.pe(byte b)
Print a byte expression.
|
TextBuilder |
TemplateBuilder.pe(char c)
Print a char expression.
|
TextBuilder |
TemplateBuilder.pe(char c,
Escape escape)
See
p(char) |
TextBuilder |
TemplateBuilder.pe(double d)
Print a double.
|
TextBuilder |
TemplateBuilder.pe(double d,
Escape escape)
See
p(double) |
TextBuilder |
TemplateBuilder.pe(float f)
Print a float expression.
|
TextBuilder |
TemplateBuilder.pe(float f,
Escape escape)
See
p(float) |
TextBuilder |
TemplateBuilder.pe(int i)
Print an integer expression.
|
TextBuilder |
TemplateBuilder.pe(int i,
Escape escape)
See
p(int) |
TextBuilder |
TemplateBuilder.pe(long l)
Print a long expression.
|
TextBuilder |
TemplateBuilder.pe(long l,
Escape escape)
See
p(long) |
Modifier and Type | Method and Description |
---|---|
Token |
Token.clone(TextBuilder caller) |
Constructor and Description |
---|
Token(String s,
TextBuilder caller) |
Token(String s,
TextBuilder caller,
boolean disableCompactMode) |
Modifier and Type | Class and Description |
---|---|
class |
EmptyTemplate
Created by luog on 21/08/2014.
|
static class |
ITag.__Body
Defines a tag body type
|
class |
JavaTagBase
classes extends JavaTagBase are not template based, it's kind of like FastTag in Play
|
class |
TagBase
Define a tag
|
class |
TemplateBase
The base class of template implementation.
|
Modifier and Type | Method and Description |
---|---|
TextBuilder |
TemplateBase.build()
The
CodeBuilder will generate the
implementation of this method usually |
TextBuilder |
JavaTagBase.build() |
TextBuilder |
EmptyTemplate.build() |
Modifier and Type | Field and Description |
---|---|
protected TextBuilder |
TextBuilder.__caller
The caller text builder.
|
Modifier and Type | Method and Description |
---|---|
TextBuilder |
TextBuilder.build()
Sub class could implement this method to append the generated
source code to the buffer
|
TextBuilder |
TextBuilder.clone(TextBuilder caller)
return a clone of this TextBuilder instance
|
TextBuilder |
TextBuilder.np(Object o)
Print an new line break followed by an object
|
TextBuilder |
TextBuilder.p(boolean b)
Print a boolean to internal buffer or output (os or writer)
|
TextBuilder |
TextBuilder.p(byte b)
Print a byte to internal buffer or output (os or writer)
|
TextBuilder |
TextBuilder.p(char c)
Print a char to internal buffer or output (os or writer)
|
TextBuilder |
TextBuilder.p(double d)
Print a double to internal buffer or output (os or writer)
|
TextBuilder |
TextBuilder.p(float f)
Print a float to internal buffer or output (os or writer)
|
TextBuilder |
TextBuilder.p(int i)
Print an integer to internal buffer or output (os or writer)
|
TextBuilder |
TextBuilder.p(long l)
Print a long to internal buffer or output (os or writer)
|
TextBuilder |
TextBuilder.p(Object o)
Print a
Object to internal buffer or output (os or writer)
null object will not be printed |
TextBuilder |
TextBuilder.p(TextBuilder.StrBuf wrapper)
Print a
TextBuilder.StrBuf to internal buffer or output (os or writer)
null object will not be printed |
TextBuilder |
TextBuilder.p2t(Object o)
Print an object followed by two tabs
\t |
TextBuilder |
TextBuilder.p2tn(Object o)
Print an object followed by 2 tabs
\t and an line break |
TextBuilder |
TextBuilder.p3t(Object o)
Print an object followed by 3 tabs
\t |
TextBuilder |
TextBuilder.p3tn(Object o)
Print an object followed by 3 tabs
\t and an line break |
TextBuilder |
TextBuilder.p4t(Object o)
Print an object followed by 4 tabs
\t |
TextBuilder |
TextBuilder.p4tn(Object o)
Print an object followed by 4 tabs
\t and an line break |
TextBuilder |
TextBuilder.pn()
Print an new line break
|
TextBuilder |
TextBuilder.pn(Object o)
Print an object followed by an new line break
|
TextBuilder |
TextBuilder.pt(Object o)
Print an object followed by a tab
\t |
TextBuilder |
TextBuilder.ptn(Object o)
Print an object followed by a tab
\t and an new line break |
Modifier and Type | Method and Description |
---|---|
TextBuilder |
TextBuilder.clone(TextBuilder caller)
return a clone of this TextBuilder instance
|
Constructor and Description |
---|
TextBuilder(TextBuilder caller)
Construct a chained text builder with a
caller() instance |
Copyright © 2015. All Rights Reserved.