Uses of Class
com.samskivert.mustache.Template.Segment
-
-
Uses of Template.Segment in com.samskivert.mustache
Subclasses of Template.Segment in com.samskivert.mustache Modifier and Type Class Description protected static class
Mustache.AbstractPartialSegment
An abstract segment that is a template include.protected static class
Mustache.AbstractSectionSegment
A helper class for section-like segments.protected static class
Mustache.BlockSegment
A parent partial parameter using $ as the sigil.protected static class
Mustache.FauxSegment
protected static class
Mustache.IncludedTemplateSegment
A segment that loads and executes a sub-template by spec called a partial.protected static class
Mustache.InvertedSegment
A segment that represents an inverted section.protected static class
Mustache.NamedSegment
A helper class for named segments.protected static class
Mustache.ParentTemplateSegment
A segment that loads and executes a parent template by spec called inheritance.protected static class
Mustache.SectionSegment
A segment that represents a section.protected static class
Mustache.StringSegment
A simple segment that reproduces a string.protected static class
Mustache.VariableSegment
A segment that substitutes the contents of a variable.Fields in com.samskivert.mustache declared as Template.Segment Modifier and Type Field Description protected Template.Segment[]
Mustache.AbstractSectionSegment. _segs
protected Template.Segment[]
Mustache.ParentTemplateSegment. _segs
protected Template.Segment[]
Template. _segs
Fields in com.samskivert.mustache with type parameters of type Template.Segment Modifier and Type Field Description protected java.util.List<Template.Segment>
Mustache.Accumulator. _segs
Methods in com.samskivert.mustache that return Template.Segment Modifier and Type Method Description Template.Segment[]
Mustache.AbstractSectionSegment. _segs()
Template.Segment[]
Mustache.ParentTemplateSegment. _segs()
Template.Segment[]
Mustache.StandaloneSection. _segs()
Template.Segment[]
Mustache.Accumulator. finish()
(package private) abstract Template.Segment
Template.Segment. indent(java.lang.String indent, boolean first, boolean last)
Recursively indent by the parameter indent.(package private) static Template.Segment[]
Mustache. indentSegs(Template.Segment[] _segs, java.lang.String indent, boolean _first, boolean _last)
Indents segments by indent.private static Template.Segment[]
Mustache.ParentTemplateSegment. removeNonBlocks(Template.Segment[] segs)
Template.Segment
Mustache.BlockReplaceable. replaceBlocks(java.util.Map<java.lang.String,Mustache.BlockSegment> blocks)
(package private) static Template.Segment[]
Mustache. replaceBlockSegs(Template.Segment[] _segs, java.util.Map<java.lang.String,Mustache.BlockSegment> blocks)
protected static Template.Segment[]
Mustache. trim(Template.Segment[] segs, boolean top)
Methods in com.samskivert.mustache with parameters of type Template.Segment Modifier and Type Method Description protected Template.Fragment
Template. createFragment(Template.Segment[] segs, Template.Context currentCtx)
(package private) static Template.Segment[]
Mustache. indentSegs(Template.Segment[] _segs, java.lang.String indent, boolean _first, boolean _last)
Indents segments by indent.private static Template.Segment[]
Mustache.ParentTemplateSegment. removeNonBlocks(Template.Segment[] segs)
(package private) static Template.Segment[]
Mustache. replaceBlockSegs(Template.Segment[] _segs, java.util.Map<java.lang.String,Mustache.BlockSegment> blocks)
protected static Template.Segment[]
Mustache. trim(Template.Segment[] segs, boolean top)
-