| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.maven.model.InputLocation
public final class InputLocation
Class InputLocation.
| Constructor Summary | |
|---|---|
InputLocation(int lineNumber,
                           int columnNumber)
 | 
|
InputLocation(int lineNumber,
                           int columnNumber,
                           InputSource source)
 | 
|
| Method Summary | |
|---|---|
 InputLocation | 
clone()
Method clone.  | 
 int | 
getColumnNumber()
Get the one-based column number.  | 
 int | 
getLineNumber()
Get the one-based line number.  | 
 InputLocation | 
getLocation(Object key)
Gets the location of the specified field in the input source.  | 
 Map<Object,InputLocation> | 
getLocations()
 | 
 InputSource | 
getSource()
Get the source field.  | 
static InputLocation | 
merge(InputLocation target,
           InputLocation source,
           boolean sourceDominant)
Method merge.  | 
static InputLocation | 
merge(InputLocation target,
           InputLocation source,
           Collection<Integer> indices)
Method merge.  | 
 void | 
setLocation(Object key,
                       InputLocation location)
Sets the location of the specified field.  | 
 void | 
setLocations(Map<Object,InputLocation> locations)
 | 
 String | 
toString()
 | 
| Methods inherited from class java.lang.Object | 
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Constructor Detail | 
|---|
public InputLocation(int lineNumber,
                     int columnNumber)
public InputLocation(int lineNumber,
                     int columnNumber,
                     InputSource source)
| Method Detail | 
|---|
public InputLocation clone()
clone in class Objectpublic int getColumnNumber()
public int getLineNumber()
public InputLocation getLocation(Object key)
InputLocationTracker
getLocation in interface InputLocationTrackerkey - 
public Map<Object,InputLocation> getLocations()
public InputSource getSource()
public static InputLocation merge(InputLocation target,
                                  InputLocation source,
                                  boolean sourceDominant)
target - sourceDominant - source - 
public static InputLocation merge(InputLocation target,
                                  InputLocation source,
                                  Collection<Integer> indices)
target - indices - source - 
public void setLocation(Object key,
                        InputLocation location)
InputLocationTracker
setLocation in interface InputLocationTrackerkey - location - public void setLocations(Map<Object,InputLocation> locations)
locations - public String toString()
toString in class Object
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||