public final class InputLocation extends Objectimplements Serializable , Cloneable , InputLocationTracker
| Constructor and Description |
|---|
InputLocation(int lineNumber, int columnNumber)
|
InputLocation(int lineNumber, int columnNumber, InputSource
|
| Modifier and Type | Method and Description |
|---|---|
InputLocation |
clone()
Method clone.
|
int |
getColumnNumber()
Get the one-based column number.
|
int |
getLineNumber()
Get the one-based line number.
|
InputLocation |
getLocation(Object
Gets the location of the specified field in the input source.
|
Map |
getLocations()
|
InputSource |
getSource()
Get the source field.
|
static InputLocation |
merge(InputLocation
Method merge.
|
static InputLocation |
merge(InputLocation
Method merge.
|
void |
setLocation(Object
Sets the location of the specified field.
|
void |
setLocations(Map
|
String |
toString()
|
public InputLocation(int lineNumber,
int columnNumber)public InputLocation(int lineNumber,
int columnNumber,
InputSource source) public InputLocationclone()
public int getColumnNumber()
public int getLineNumber()
public InputLocationgetLocation(Object key)
InputLocationTracker
getLocation in interface
InputLocationTracker
key -
public Map<Object ,InputLocation > getLocations()
public InputSourcegetSource()
public static InputLocationmerge(InputLocation target, InputLocation source, boolean sourceDominant)
target -
sourceDominant -
source -
public static InputLocationmerge(InputLocation target, InputLocation source, Collection <Integer > indices)
target -
indices -
source -
public void setLocation(Objectkey, InputLocation location)
InputLocationTracker
setLocation in interface
InputLocationTracker
key -
location -
public void setLocations(Map<Object ,InputLocation > locations)
locations -
public StringtoString()