Class TextBlock
java.lang.Object
org.apache.maven.doxia.module.twiki.parser.TextBlock
- All Implemented Interfaces:
Block
Block that holds plain text
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
text
the text
-
-
Constructor Details
-
TextBlock
TextBlock(String text) Creates the TextBlock.- Parameters:
text
- some text. can't bennull
- Throws:
IllegalArgumentException
- if parameters are not in the domain
-
-
Method Details
-
traverse
Traverse the block -
toString
-
getText
Returns the text.- Returns:
String
with the text.
-
equals
-
hashCode
public final int hashCode()
-