Package fitnesse.wikitext.parser
Class Headings
- java.lang.Object
-
- fitnesse.wikitext.parser.SymbolType
-
- fitnesse.wikitext.parser.Headings
-
- All Implemented Interfaces:
Matchable
,Rule
,Translation
public class Headings extends SymbolType implements Rule, Translation
Generates a ordered list of all headers from within the current wiki page.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
DEFAULT_STYLE
static Headings
symbolType
-
Fields inherited from class fitnesse.wikitext.parser.SymbolType
Bold, CenterLine, CloseBrace, CloseBracket, CloseCollapsible, CloseEvaluator, CloseLiteral, CloseNesting, CloseParenthesis, ClosePlainTextTable, ClosePreformat, Colon, Comma, DateFormatOption, Delta, EMail, Empty, EndCell, Italic, Meta, Newline, NoteLine, OpenBrace, OpenBracket, OpenParenthesis, OrderedList, Strike, Style, SymbolList, Text, UnorderedList, Whitespace
-
-
Constructor Summary
Constructors Constructor Description Headings()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Maybe<Symbol>
parse(Symbol current, Parser parser)
java.lang.String
toTarget(Translator translator, Symbol current)
-
Methods inherited from class fitnesse.wikitext.parser.SymbolType
addDecorator, getHtmlTranslation, getWikiMatchers, getWikiRule, htmlTranslation, makeMatch, matchesFor, removeDecorator, toString, wikiMatcher, wikiRule
-
-
-
-
Field Detail
-
symbolType
public static final Headings symbolType
-
DEFAULT_STYLE
public static final java.lang.String DEFAULT_STYLE
- See Also:
- Constant Field Values
-
-
Method Detail
-
toTarget
public java.lang.String toTarget(Translator translator, Symbol current)
- Specified by:
toTarget
in interfaceTranslation
-
-