ch.ethz.mxquery.exceptions
Class QueryLocation
java.lang.Object
ch.ethz.mxquery.exceptions.QueryLocation
public class QueryLocation
- extends java.lang.Object
Represents a textual location/region in an XQuery file
Constructor Summary |
QueryLocation()
|
QueryLocation(int indexStart,
int indexEnd)
Generate a location based on the flat character indexes |
QueryLocation(int lineBegin,
int lineEnd,
int columnBegin,
int columnEnd,
java.lang.String file)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OUTSIDE_QUERY_LOC
public static final QueryLocation OUTSIDE_QUERY_LOC
QueryLocation
public QueryLocation()
QueryLocation
public QueryLocation(int indexStart,
int indexEnd)
- Generate a location based on the flat character indexes
- Parameters:
indexStart
- indexEnd
-
QueryLocation
public QueryLocation(int lineBegin,
int lineEnd,
int columnBegin,
int columnEnd,
java.lang.String file)
getLineBegin
public int getLineBegin()
setLineBegin
public void setLineBegin(int lineBegin)
getLineEnd
public int getLineEnd()
setLineEnd
public void setLineEnd(int lineEnd)
getColumnBegin
public int getColumnBegin()
setColumnBegin
public void setColumnBegin(int columnBegin)
getColumnEnd
public int getColumnEnd()
setColumnEnd
public void setColumnEnd(int columnEnd)
getFile
public java.lang.String getFile()
setFile
public void setFile(java.lang.String file)
getStartIndex
public int getStartIndex()
getEndIndex
public int getEndIndex()
MXQuery 0.6.0 API Documentation - Copyright 2006-2009 ETH Zurich