freemarker.debug

Class Breakpoint

Implemented Interfaces:
Comparable, Serializable

public class Breakpoint
extends java.lang.Object
implements Serializable, Comparable

Represents a breakpoint location consisting of a template name and a line number.
Version:
$Id: Breakpoint.java,v 1.1.2.1 2006/11/27 07:54:19 szegedia Exp $
Author:
Attila Szegedi

Constructor Summary

Breakpoint(String templateName, int line)
Creates a new breakpoint.

Method Summary

int
compareTo(Object o)
boolean
equals(Object o)
int
getLine()
Returns the line number of the breakpoint
String
getLocationString()
Returns the template name and the line number separated with a colon
String
getTemplateName()
Returns the template name of the breakpoint
int
hashCode()

Constructor Details

Breakpoint

public Breakpoint(String templateName,
                  int line)
Creates a new breakpoint.
Parameters:
templateName - the name of the template
line - the line number in the template where to put the breakpoint

Method Details

compareTo

public int compareTo(Object o)

equals

public boolean equals(Object o)

getLine

public int getLine()
Returns the line number of the breakpoint

getLocationString

public String getLocationString()
Returns the template name and the line number separated with a colon

getTemplateName

public String getTemplateName()
Returns the template name of the breakpoint

hashCode

public int hashCode()