Class WikiText.Heading
java.lang.Object
org.getalp.dbnary.wiki.WikiText.Token
org.getalp.dbnary.wiki.WikiText.Heading
- All Implemented Interfaces:
Visitable
- Enclosing class:
WikiText
-
Field Summary
Fields inherited from class WikiText.Token
offset -
Method Summary
Modifier and TypeMethodDescription<T> Tprotected voidvoidintgetLevel()protected voidsetEndOffset(int position) sets the end offset to the given position (should point just after the last char of the closing "===...")voidsetSection(WikiText.WikiSection section) Methods inherited from class WikiText.Token
addFlattenedTokens, asExternalLink, asHTMLComment, asIndentation, asIndentedItem, asInternalLink, asItem, asLink, asListItem, asNoWiki, asNumberedListItem, asTemplate, asText, asWikiContent, asWikiSection, getBeginIndex, getEndIndex, getFullContent, getText, getWikiText, toString
-
Method Details
-
fillText
- Specified by:
fillTextin classWikiText.Token
-
setEndOffset
protected void setEndOffset(int position) sets the end offset to the given position (should point just after the last char of the closing "===...")- Overrides:
setEndOffsetin classWikiText.Token- Parameters:
position- the position after the last character of the enclosing "===..."
-
addToken
- Specified by:
addTokenin classWikiText.Token
-
getContent
-
getLevel
public int getLevel() -
getSection
-
setSection
-
accept
-
asHeading
- Overrides:
asHeadingin classWikiText.Token
-