|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjfun.yan.xml.Location
public class Location
This class represents a location within the config file.
| Constructor Summary | |
|---|---|
Location(java.lang.String module,
int line,
int col)
To create a Location object. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
|
int |
getColumnNo()
Get the 1-based column number. |
int |
getLineNo()
Get the 1-based line number. |
java.lang.String |
getModule()
Get the module name. |
int |
hashCode()
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Location(java.lang.String module,
int line,
int col)
module - the module name.line - the line number.col - the column number.| Method Detail |
|---|
public int getColumnNo()
public int getLineNo()
public java.lang.String getModule()
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||