Class WikiWordBlock
- java.lang.Object
-
- org.apache.maven.doxia.module.twiki.parser.WikiWordBlock
-
-
Field Summary
Fields Modifier and Type Field Description private Block
content
content to show in the wiki word linkprivate java.lang.String
wikiword
the wiki wordprivate WikiWordLinkResolver
wikiWordLinkResolver
Resolves WikiWord links
-
Constructor Summary
Constructors Constructor Description WikiWordBlock(java.lang.String aWikiword, java.lang.String aText, WikiWordLinkResolver resolver)
Deprecated.WikiWordBlock(java.lang.String aWikiword, Block content, WikiWordLinkResolver resolver)
Creates the WikiWordBlock.WikiWordBlock(java.lang.String aWikiword, WikiWordLinkResolver resolver)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
int
hashCode()
void
traverse(Sink sink)
Traverse the block
-
-
-
Field Detail
-
wikiword
private final java.lang.String wikiword
the wiki word
-
content
private final Block content
content to show in the wiki word link
-
wikiWordLinkResolver
private final WikiWordLinkResolver wikiWordLinkResolver
Resolves WikiWord links
-
-
Constructor Detail
-
WikiWordBlock
WikiWordBlock(java.lang.String aWikiword, WikiWordLinkResolver resolver)
- Parameters:
aWikiword
- the wikiWordresolver
- responsible of resolving the link to the wikiWord- See Also:
#WikiWordBlock(String, String)
-
WikiWordBlock
WikiWordBlock(java.lang.String aWikiword, java.lang.String aText, WikiWordLinkResolver resolver)
Deprecated.Creates the WikiWordBlock.- Parameters:
aWikiword
- the wiki wordaText
- text to show in the wiki linkresolver
- responsible of resolving the link to the wikiWord- Throws:
java.lang.IllegalArgumentException
- if the wikiword isnull
-
WikiWordBlock
WikiWordBlock(java.lang.String aWikiword, Block content, WikiWordLinkResolver resolver)
Creates the WikiWordBlock.- Parameters:
aWikiword
- the wiki wordcontent
- content to show in the wiki linkresolver
- responsible of resolving the link to the wikiWord- Throws:
java.lang.IllegalArgumentException
- if the wikiword isnull
-
-
Method Detail
-
traverse
public final void traverse(Sink sink)
Traverse the block
-
equals
public final boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public final int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-