Class WikiText.ExternalLink
java.lang.Object
org.getalp.dbnary.wiki.WikiText.Token
org.getalp.dbnary.wiki.WikiText.Link
org.getalp.dbnary.wiki.WikiText.ExternalLink
- All Implemented Interfaces:
Visitable
- Enclosing class:
WikiText
-
Field Summary
Fields inherited from class WikiText.Link
linkTextContent, targetFields inherited from class WikiText.Token
offset -
Method Summary
Modifier and TypeMethodDescription<T> Tvoidprotected voidsetEndOffset(int position) sets the end offset to the given position (should point to the first char of the closing "]")Methods inherited from class WikiText.Link
addToken, asLink, getAnchorText, getFullTargetText, getLink, getLinkContent, getLinkText, getTarget, getTargetText, hasAnchorMethods inherited from class WikiText.Token
addFlattenedTokens, asHeading, asHTMLComment, asIndentation, asIndentedItem, asInternalLink, asItem, 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 to the first char of the closing "]")- Overrides:
setEndOffsetin classWikiText.Token- Parameters:
position- the position of the first character of the enclosing "]"
-
accept
-
asExternalLink
- Overrides:
asExternalLinkin classWikiText.Token
-