FileDocCategorySizeDatePackage
NewLineEvent.javaAPI DocGlassfish v2 API531Wed Feb 08 12:31:22 GMT 2006persistence.antlr.debug

NewLineEvent.java

package persistence.antlr.debug;

public class NewLineEvent extends Event {
	private int line;


	public NewLineEvent(Object source) {
		super(source);
	}
	public NewLineEvent(Object source, int line) {
		super(source);
		setValues(line);
	}
	public int getLine() {
		return line;
	}
	void setLine(int line) {
		this.line = line;
	}
	/** This should NOT be called from anyone other than ParserEventSupport! */
	void setValues(int line) {
		setLine(line);
	}
	public String toString() {
		return "NewLineEvent [" + line + "]";
	}
}