Top Description Fields Constructors Methods
org.python.indexer.demos

pack-priv Class HtmlOutline

extends Object
Class Inheritance
Imports
org.python.indexer.Indexer, .Outliner, java.util.List

Generates a static-html outline for a file.

Field Summary

Modifier and TypeField and Description
private StringBuilder
private Indexer

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
private void
add(String text)

private void
private void
public String

Returns:

the html as an UL element
generate
(String path)

Generates HTML outline for path.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

bufferback to summary
private StringBuilder buffer
indexerback to summary
private Indexer indexer

Constructor Detail

HtmlOutlineback to summary
public HtmlOutline(Indexer idx)

Method Detail

addback to summary
private void add(String text)
addEntryback to summary
private void addEntry(Outliner.Entry e)
addOutlineback to summary
private void addOutline(List<Outliner.Entry> entries)
generateback to summary
public String generate(String path) throws Exception

Generates HTML outline for path.

Returns:String

the html as an UL element