Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.yaml.snakeyaml.error
Class Mark

    java.lang.Object
      org.yaml.snakeyaml.error.Mark

    public final class Mark

extends Object

It's just a record and its only use is producing nice error messages. Parser does not use it for any other purposes.

Constructor Summary
`Mark(String name, int index, int line, int column, String buffer, int pointer)`

Method Summary
`String` | `get_snippet()`
`String` | `get_snippet(int indent, int max_length)`
`int` | `getColumn()` starts with 0
`int` | `getIndex()` starts with 0
`int` | `getLine()` starts with 0
`String` | `getName()`
`String` | `toString()`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Constructor Detail

### Mark

    public Mark(String name,
                int index,
                int line,
                int column,
                String buffer,
                int pointer)

Method Detail

### get_snippet

    public String get_snippet(int indent,
                              int max_length)

### get_snippet

    public String get_snippet()

### toString

    public String toString()

  Overrides:
    `toString` in class `Object`

### getName

    public String getName()

### getLine

    public int getLine()

  starts with 0

### getColumn

    public int getColumn()

  starts with 0

### getIndex

    public int getIndex()

  starts with 0

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2008-2011. All Rights Reserved.