Uses of Class
com.samskivert.mustache.Template.Segment
-
Uses of Template.Segment in com.samskivert.mustache
Subclasses of Template.Segment in com.samskivert.mustacheModifier and TypeClassDescriptionprotected static classAn abstract segment that is a template include.protected static classA helper class for section-like segments.protected static classA parent partial parameter using $ as the sigil.protected static classprotected static classA segment that loads and executes a sub-template by spec called a partial.protected static classA segment that represents an inverted section.protected static classA helper class for named segments.protected static classA segment that loads and executes a parent template by spec called inheritance.protected static classA segment that represents a section.protected static classA simple segment that reproduces a string.protected static classA segment that substitutes the contents of a variable.Fields in com.samskivert.mustache declared as Template.SegmentModifier and TypeFieldDescriptionprotected final Template.Segment[]Mustache.AbstractSectionSegment._segsprotected final Template.Segment[]Mustache.ParentTemplateSegment._segsprotected final Template.Segment[]Template._segsFields in com.samskivert.mustache with type parameters of type Template.SegmentModifier and TypeFieldDescriptionprotected final List<Template.Segment> Mustache.Accumulator._segsMethods in com.samskivert.mustache that return Template.SegmentModifier and TypeMethodDescriptionMustache.AbstractSectionSegment._segs()Mustache.ParentTemplateSegment._segs()Mustache.StandaloneSection._segs()Mustache.Accumulator.finish()(package private) abstract Template.SegmentRecursively indent by the parameter indent.(package private) static Template.Segment[]Mustache.indentSegs(Template.Segment[] _segs, String indent, boolean _first, boolean _last) Indents segments by indent.private static Template.Segment[]Mustache.ParentTemplateSegment.removeNonBlocks(Template.Segment[] segs) Mustache.BlockReplaceable.replaceBlocks(Map<String, Mustache.BlockSegment> blocks) (package private) static Template.Segment[]Mustache.replaceBlockSegs(Template.Segment[] _segs, Map<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.SegmentModifier and TypeMethodDescriptionprotected Template.FragmentTemplate.createFragment(Template.Segment[] segs, Template.Context currentCtx) (package private) static Template.Segment[]Mustache.indentSegs(Template.Segment[] _segs, 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, Map<String, Mustache.BlockSegment> blocks) protected static Template.Segment[]Mustache.trim(Template.Segment[] segs, boolean top) Constructors in com.samskivert.mustache with parameters of type Template.SegmentModifierConstructorDescriptionprotectedAbstractSectionSegment(Mustache.AbstractSectionSegment original, Template.Segment[] segs) protectedAbstractSectionSegment(Mustache.Compiler compiler, String name, Template.Segment[] segs, int line) protectedBlockSegment(Mustache.BlockSegment original, Template.Segment[] segs) BlockSegment(Mustache.Compiler compiler, String name, Template.Segment[] segs, int line) InvertedSegment(Mustache.Compiler compiler, String name, Template.Segment[] segs, int line) protectedInvertedSegment(Mustache.InvertedSegment original, Template.Segment[] segs) ParentTemplateSegment(Mustache.Compiler compiler, String name, Template.Segment[] segs, int line) privateParentTemplateSegment(Mustache.Compiler compiler, String name, Template.Segment[] segs, int line, String indent) privateParentTemplateSegment(Mustache.ParentTemplateSegment original, Template.Segment[] segs, String indent, Map<String, Mustache.BlockSegment> blocks) SectionSegment(Mustache.Compiler compiler, String name, Template.Segment[] segs, int line) protectedSectionSegment(Mustache.SectionSegment original, Template.Segment[] segs) protectedTemplate(Template.Segment[] segs, Mustache.Compiler compiler)