|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.maven.doxia.module.twiki.parser.TextBlock
Block that holds plain text
Constructor Summary | |
TextBlock(String text)
Creates the TextBlock. |
Method Summary | |
boolean |
equals(Object obj)
|
String |
getText()
Returns the text. |
int |
hashCode()
|
String |
toString()
|
void |
traverse(Sink sink)
Traverse the block |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public TextBlock(String text) throws IllegalArgumentException
text
- some text. can't ben null
IllegalArgumentException
- if parameters are not in the domainMethod Detail |
public final void traverse(Sink sink)
Block
traverse
in interface Block
sink
- the sink that traversBlock.traverse(org.apache.maven.doxia.sink.Sink)
public final String toString()
Object.toString()
public final String getText()
String
with the text.public final boolean equals(Object obj)
Object.equals(Object)
public final int hashCode()
Object.hashCode()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |