org.apache.maven.doxia.module.twiki.parser
Class WikiWordBlock

java.lang.Object
  extended byorg.apache.maven.doxia.module.twiki.parser.WikiWordBlock
All Implemented Interfaces:
Block

public class WikiWordBlock
extends Object
implements Block

Represent a WikiWord

Since:
Nov 4, 2005
Author:
Juan F. Codagnone

Constructor Summary
WikiWordBlock(String wikiword)
           
WikiWordBlock(String wikiword, String showText)
          Creates the WikiWordBlock.
 
Method Summary
 boolean equals(Object obj)
           
 int hashCode()
           
 void traverse(Sink sink)
          Traverse the block
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WikiWordBlock

public WikiWordBlock(String wikiword)
See Also:
WikiWordBlock(String, String)

WikiWordBlock

public WikiWordBlock(String wikiword,
                     String showText)
              throws IllegalArgumentException
Creates the WikiWordBlock.

Parameters:
wikiword - the wiki word
showText - text to show in the wiki link
Throws:
IllegalArgumentException - if the wikiword is null
Method Detail

traverse

public final void traverse(Sink sink)
Description copied from interface: Block
Traverse the block

Specified by:
traverse in interface Block
Parameters:
sink - the sink that travers
See Also:
Block.traverse(org.apache.maven.doxia.sink.Sink)

equals

public final boolean equals(Object obj)
See Also:
Object.equals(Object)

hashCode

public final int hashCode()
See Also:
Object.hashCode()


Copyright © 2002-2008 The Apache Software Foundation. All Rights Reserved.