CodeAnalysis
Class Comment

java.lang.Object
  extended by CodeAnalysis.Comment

public class Comment
extends java.lang.Object


Field Summary
 java.lang.String close
           
 java.lang.String display
           
 boolean eol
           
 java.lang.String open
           
 
Constructor Summary
Comment(Comment old)
          Creates a new instance of Comment
Comment(java.lang.String opening, java.lang.String closing, boolean endofline)
          Creates a new instance of Comment
 
Method Summary
 int closeLength()
           
 boolean equals(java.lang.Object obj)
           
 java.lang.String getClosing()
           
 java.lang.String getOpening()
           
 boolean isClosing(java.lang.String str)
           
 boolean isEOL()
           
 boolean isOpening(java.lang.String str)
           
 int openLength()
           
 void setClosing(java.lang.String val)
           
 void setEOL(boolean val)
           
 void setOpening(java.lang.String val)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

open

public java.lang.String open

close

public java.lang.String close

eol

public boolean eol

display

public java.lang.String display
Constructor Detail

Comment

public Comment(java.lang.String opening,
               java.lang.String closing,
               boolean endofline)
Creates a new instance of Comment


Comment

public Comment(Comment old)
Creates a new instance of Comment

Method Detail

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getOpening

public java.lang.String getOpening()

getClosing

public java.lang.String getClosing()

setOpening

public void setOpening(java.lang.String val)

setClosing

public void setClosing(java.lang.String val)

setEOL

public void setEOL(boolean val)

isEOL

public boolean isEOL()

isOpening

public boolean isOpening(java.lang.String str)

isClosing

public boolean isClosing(java.lang.String str)

openLength

public int openLength()

closeLength

public int closeLength()