Package org.yaml.snakeyaml.error
Class Mark
- java.lang.Object
-
- org.yaml.snakeyaml.error.Mark
-
- All Implemented Interfaces:
Serializable
public final class Mark extends Object implements Serializable
It's just a record and its only use is producing nice error messages. Parser does not use it for any other purposes.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
get_snippet()
String
get_snippet(int indent, int max_length)
int[]
getBuffer()
int
getColumn()
starts with 0int
getIndex()
starts with 0int
getLine()
starts with 0String
getName()
int
getPointer()
String
toString()
-
-
-
Method Detail
-
get_snippet
public String get_snippet(int indent, int max_length)
-
get_snippet
public String get_snippet()
-
getName
public String getName()
-
getLine
public int getLine()
starts with 0- Returns:
- line number
-
getColumn
public int getColumn()
starts with 0- Returns:
- column number
-
getIndex
public int getIndex()
starts with 0- Returns:
- character number
-
getBuffer
public int[] getBuffer()
-
getPointer
public int getPointer()
-
-