Class TocText
- java.lang.Object
-
- org.nuxeo.ecm.platform.rendering.wiki.TocText
-
- All Implemented Interfaces:
WikiText
public class TocText extends Object implements WikiText
- Author:
- Bogdan Stefanescu
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
printHeading(WikiSerializerHandler serializer, Writer writer, Toc.Entry entry)
void
printToc(WikiSerializerHandler serializer, Writer writer)
protected void
printTocFooter(WikiSerializerHandler serializer, Writer writer)
protected void
printTocHeader(WikiSerializerHandler serializer, Writer writer, String title)
void
writeTo(WikiSerializerHandler handler, Writer writer)
-
-
-
Field Detail
-
title
protected String title
-
-
Constructor Detail
-
TocText
public TocText(String title)
-
-
Method Detail
-
writeTo
public void writeTo(WikiSerializerHandler handler, Writer writer) throws IOException
- Specified by:
writeTo
in interfaceWikiText
- Throws:
IOException
-
printToc
public void printToc(WikiSerializerHandler serializer, Writer writer) throws IOException
- Throws:
IOException
-
printTocHeader
protected void printTocHeader(WikiSerializerHandler serializer, Writer writer, String title) throws IOException
- Throws:
IOException
-
printTocFooter
protected void printTocFooter(WikiSerializerHandler serializer, Writer writer) throws IOException
- Throws:
IOException
-
printHeading
protected void printHeading(WikiSerializerHandler serializer, Writer writer, Toc.Entry entry) throws IOException
- Throws:
IOException
-
-