br.eti.kinoshita.tap4j.model
Class Footer

java.lang.Object
  extended by br.eti.kinoshita.tap4j.model.Footer
All Implemented Interfaces:
Serializable

public class Footer
extends Object
implements Serializable

This class represents a Footer in the TAP Stream. A Footer, or tail is a mere line with some text. In the very beginning there is a 'TAP' token and then the text. For instance, 'TAP done' is a valid Footer.

Since:
1.0
Author:
Bruno P. Kinoshita - http://www.kinoshita.eti.br
See Also:
Comment}, Serialized Form

Constructor Summary
Footer(String text)
          Constructor that calls super class constructor.
 
Method Summary
 Comment getComment()
           
 String getText()
           
 void setComment(Comment comment)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Footer

public Footer(String text)
Constructor that calls super class constructor.

Parameters:
text - Footer text
See Also:
Comment#Comment(String)}
Method Detail

getText

public String getText()
Returns:
Footer's text.

setComment

public void setComment(Comment comment)
Parameters:
comment - Comment.

getComment

public Comment getComment()
Returns:
Comment.

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2010. All Rights Reserved.