public class TwitterUserAutoLinker extends Object implements AutoLinker
| Constructor and Description |
|---|
TwitterUserAutoLinker() |
| Modifier and Type | Method and Description |
|---|---|
List<org.jsoup.nodes.Node> |
createLinks(org.jsoup.nodes.TextNode textNode)
Gets the content of
node and tries to find linkable content. |
public List<org.jsoup.nodes.Node> createLinks(org.jsoup.nodes.TextNode textNode)
AutoLinkernode and tries to find linkable content.
If content is found, create new text nodes before and after the content
and a new anchor element with the new link
createLinks in interface AutoLinkertextNode - The text node which may contain linkable textstextNodeCopyright © 2010–2016 michael-simons.eu. All rights reserved.