org.jfree.xml.generator.model

Class Comments


public class Comments
extends java.lang.Object

A set of comments for a model.

Constructor Summary

Comments(String[] openTagComment, String[] closeTagComment)
Creates a new set of comments.

Method Summary

String[]
getCloseTagComment()
Returns the close tag comments.
String[]
getOpenTagComment()
Returns the open tag comments.
String
toString()
Returns a string representation of the set of comments.

Constructor Details

Comments

public Comments(String[] openTagComment,
                String[] closeTagComment)
Creates a new set of comments.
Parameters:
openTagComment - the open tag comment.
closeTagComment - the close tag comment.

Method Details

getCloseTagComment

public String[] getCloseTagComment()
Returns the close tag comments.
Returns:
The close tag comments.

getOpenTagComment

public String[] getOpenTagComment()
Returns the open tag comments.
Returns:
The open tag comments.

toString

public String toString()
Returns a string representation of the set of comments.
Returns:
A string.