home *** CD-ROM | disk | FTP | other *** search
- package netscape.plugin.composer.io;
-
- public class Text extends Token {
- private String text;
- private static final String NEWLINE = new String("\n");
-
- public Text(String var1) {
- this.text = var1;
- }
-
- public void setText(String var1) {
- this.text = var1;
- }
-
- public String getText() {
- return this.text;
- }
-
- public String toString() {
- return this.text;
- }
-
- public boolean isNewline() {
- return this.text.equals(NEWLINE);
- }
-
- public int hashCode() {
- return this.text.hashCode();
- }
-
- public boolean equals(Object var1) {
- return var1 != null && var1 instanceof Text ? this.text.equals(((Text)var1).text) : false;
- }
- }
-