dk.brics.servletvalidator
Class CodeLocation

java.lang.Object
  extended by dk.brics.servletvalidator.CodeLocation

public class CodeLocation
extends Object

A code location is a location in the code. This is used to determine the place that some nonterminal or automaton originates in order to give a clear error message


Constructor Summary
CodeLocation(int line, String file)
           
 
Method Summary
 String getFile()
           
 int getLine()
           
 void setFile(String file)
           
 void setLine(int line)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CodeLocation

public CodeLocation(int line,
                    String file)
Method Detail

getFile

public String getFile()

getLine

public int getLine()

setFile

public void setFile(String file)

setLine

public void setLine(int line)


Copyright © 2008 Mathias Schwarz.