| Modifier and Type | Field and Description |
|---|---|
private Block |
content
content to show in the wiki word link
|
private java.lang.String |
wikiword
the wiki word
|
private WikiWordLinkResolver |
wikiWordLinkResolver
Resolves WikiWord links
|
| Constructor and Description |
|---|
WikiWordBlock(java.lang.String aWikiword,
Block content,
WikiWordLinkResolver resolver)
Creates the WikiWordBlock.
|
WikiWordBlock(java.lang.String aWikiword,
java.lang.String aText,
WikiWordLinkResolver resolver)
Deprecated.
|
WikiWordBlock(java.lang.String aWikiword,
WikiWordLinkResolver resolver) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
void |
traverse(Sink sink)
Traverse the block
|
private final java.lang.String wikiword
private final Block content
private final WikiWordLinkResolver wikiWordLinkResolver
WikiWordBlock(java.lang.String aWikiword,
WikiWordLinkResolver resolver)
aWikiword - the wikiWordresolver - responsible of resolving the link to the wikiWord#WikiWordBlock(String, String)WikiWordBlock(java.lang.String aWikiword,
java.lang.String aText,
WikiWordLinkResolver resolver)
aWikiword - the wiki wordaText - text to show in the wiki linkresolver - responsible of resolving the link to the wikiWordjava.lang.IllegalArgumentException - if the wikiword is nullWikiWordBlock(java.lang.String aWikiword,
Block content,
WikiWordLinkResolver resolver)
aWikiword - the wiki wordcontent - content to show in the wiki linkresolver - responsible of resolving the link to the wikiWordjava.lang.IllegalArgumentException - if the wikiword is nullpublic final void traverse(Sink sink)
public final boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic final int hashCode()
hashCode in class java.lang.Object