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

Class LinkBlock

public class LinkBlock extends Object implements Block

Block that represents a link.

Since: Nov 4, 2005

Author: Juan F. Codagnone

Constructor Summary
LinkBlock(String reference, String text)
Creates the LinkBlock.
Method Summary
booleanequals(Object obj)
inthashCode()
voidtraverse(Sink sink)

Constructor Detail

LinkBlock

public LinkBlock(String reference, String text)
Creates the LinkBlock.

Parameters: reference reference anchor text text to show

Throws: IllegalArgumentException if any argument is null

Method Detail

equals

public final boolean equals(Object obj)

See Also: Object#equals(Object)

hashCode

public final int hashCode()

See Also: Object#hashCode()

traverse

public final void traverse(Sink sink)

See Also: traverse

Copyright © 2002-2011 Apache Software Foundation. All Rights Reserved.