org.apache.maven.doxia.module.twiki.parser
Class LinkBlock
java.lang.Object
org.apache.maven.doxia.module.twiki.parser.LinkBlock
- All Implemented Interfaces:
- Block
- public class LinkBlock
- extends Object
- implements Block
Block that represents a link.
- Since:
- Nov 4, 2005
- Author:
- Juan F. Codagnone
LinkBlock
public LinkBlock(String reference,
String text)
throws IllegalArgumentException
- Creates the LinkBlock.
- Parameters:
reference
- reference anchortext
- text to show
- Throws:
IllegalArgumentException
- if any argument is null
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.