Package | Description |
---|---|
com.jiowa.template | |
com.jiowa.template.bean.generator | |
com.jiowa.template.reader | |
com.jiowa.template.tag | |
com.jiowa.template.transformer | |
com.jiowa.template.unificator |
Modifier and Type | Field and Description |
---|---|
protected java.util.List<Tag> |
Template.tagList
(compiled) template as tag list
|
Modifier and Type | Method and Description |
---|---|
protected <C extends Tag> |
Template.getTagsAccordingToFilter(java.lang.Class<C> classFilter) |
Modifier and Type | Method and Description |
---|---|
java.util.List<Tag> |
Template.getTagList() |
Constructor and Description |
---|
Template(java.lang.String name,
java.lang.String originalText,
java.util.List<Tag> tagList) |
Modifier and Type | Method and Description |
---|---|
protected void |
JiowaTemplateBeanGenerator.processBeanPartInitializer(java.util.List<Tag> list,
TagValueMap map)
Initializes the bean for the toString() method, i.e.
|
Modifier and Type | Field and Description |
---|---|
protected java.util.Queue<Tag> |
TagReader.queue |
Modifier and Type | Method and Description |
---|---|
Tag |
TagReader.read()
Delivers the next
Tag for this template. |
protected Tag |
TagReader.readNextTag(Token token) |
Modifier and Type | Method and Description |
---|---|
protected java.util.List<Tag> |
TagReader.buildInlineTags(InlineSubTemplateContentToken token) |
protected com.jiowa.util.tuple.Tuple<Tag,TextOperatorTag> |
TagReader.buildTag(Token token)
Builds a tag starting at the current token.
|
java.util.List<Tag> |
TagReader.readAll()
Reads all tags at once.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractSubTemplateTag
Abstract super class for all subtemplate tags.
|
class |
ArbitrarySubTemplateStructureTag
Arbitrary sub template tag: "..." denotes that any kind of template can be used after "-->"
|
class |
ArbitrarySubTemplateTag
Arbitrary sub template tag.
|
class |
IncludeTag
Include tag for the direct inclusion of templates at the occurrence of the inclusion tag.
|
class |
InlineSubTemplateTag
Inline sub template tag.
|
class |
RedefinitionTag
Tag for a template notation redefinition structure.
|
class |
SubTemplateStructureTag
Tag for subtemplate structures.
|
class |
SubTemplateTag
Tag for subtemplates.
|
class |
TextOperatorTag
Text operator tag.
|
class |
TextTag
Tag for the plain text portions within the template.
|
class |
VariableTag
The tag which contains the variables of a template.
|
Modifier and Type | Field and Description |
---|---|
protected java.util.List<Tag> |
InlineSubTemplateTag.content |
Modifier and Type | Method and Description |
---|---|
protected <C extends Tag> |
InlineSubTemplateTag.getTagAccordingToFilter(java.lang.Class<C> classFilter) |
static <C extends Tag> |
TagFilter.getTagsAccordingToFilter(java.lang.Class<C> classFilter,
java.util.List<Tag> tagList) |
Modifier and Type | Method and Description |
---|---|
java.util.List<Tag> |
InlineSubTemplateTag.getContentTagList() |
Modifier and Type | Method and Description |
---|---|
static <C extends Tag> |
TagFilter.getTagsAccordingToFilter(java.lang.Class<C> classFilter,
java.util.List<Tag> tagList) |
Constructor and Description |
---|
InlineSubTemplateTag(InlineSubTemplateIdentifierToken identifier,
NameQualifierToken qualifier,
InlineSubTemplateStartToken start,
java.util.List<Tag> content,
InlineSubTemplateEndToken end) |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
Tag2TextTransformer.computeTextWithIndent(Tag tag,
java.lang.String s,
boolean isNotLastElement)
Computes a text string with the same indent as a given Tag.
|
java.lang.String |
Tag2TextTransformer.transform(Tag tag,
TagValueMap map)
Transforms a
Tag into text using a given TagValueMap which carries
values for variables and subtemplate structures. |
Modifier and Type | Method and Description |
---|---|
protected java.util.List<Tag> |
TemplateUnificator.addLeftOffsetToIncludedTemplate(java.util.List<Tag> tagListOfTemplate,
int offset)
Adjusts the positions of included template according to the given left offset.
|
Modifier and Type | Method and Description |
---|---|
protected java.util.List<Tag> |
TemplateUnificator.addLeftOffsetToIncludedTemplate(java.util.List<Tag> tagListOfTemplate,
int offset)
Adjusts the positions of included template according to the given left offset.
|
protected int |
TemplateUnificator.computeLeftTextOffset(java.util.LinkedList<Tag> list)
Computes the left text offset until the current tag in the given list.
|