| Modifier and Type | Field and Description |
|---|---|
| private final int[] | |
| private final int | |
| private final int | |
| private final int | |
| private final String | |
| private final int |
| Access | Constructor and Description |
|---|---|
| public | Mark(String
- the name to be used as identifier name, int - the index from the beginning of the stream index, int - line of the mark from beginning of the stream line, int - column of the mark from beginning of the line column, int[] - the data buffer, int - the position of the mark from the beginning of the data pointer)Creates |
| public | Mark(String
- the name to be used as identifier name, int - the index from the beginning of the stream index, int - line of the mark from beginning of the stream line, int - column of the mark from beginning of the line column, char[] - the data str, int - the position of the mark from the beginning of the data pointer)This constructor is only for test |
| Modifier and Type | Method and Description |
|---|---|
| public String | Returns: readable piece of YAML where a problem detected- the indent indent, int - cut data after this length maxLength)Create readable snippet |
| public String | Returns: readable piece of YAML where a problem detectedCreate readable YAML with indent 4 and n ot longer that 75 characters long |
| public int[] | |
| public int | |
| public int | |
| public int | |
| public String | |
| public int | |
| private boolean | |
| private static int[] | |
| public String |
| buffer | back to summary |
|---|---|
| private final int[] buffer | |
| column | back to summary |
|---|---|
| private final int column | |
| index | back to summary |
|---|---|
| private final int index | |
| line | back to summary |
|---|---|
| private final int line | |
| name | back to summary |
|---|---|
| private final String name | |
| pointer | back to summary |
|---|---|
| private final int pointer | |
| Mark | back to summary |
|---|---|
| public Mark(String name, int index, int line, int column, int[] buffer, int pointer) Creates
| |
| Mark | back to summary |
|---|---|
| public Mark(String name, int index, int line, int column, char[] str, int pointer) This constructor is only for test
| |
| createSnippet | back to summary |
|---|---|
| public String createSnippet(int indent, int maxLength) Create readable snippet
| |
| createSnippet | back to summary |
|---|---|
| public String createSnippet() Create readable YAML with indent 4 and n ot longer that 75 characters long
| |
| getBuffer | back to summary |
|---|---|
| public int[] getBuffer() getter
| |
| getColumn | back to summary |
|---|---|
| public int getColumn() starts with 0
| |
| getIndex | back to summary |
|---|---|
| public int getIndex() starts with 0
| |
| getLine | back to summary |
|---|---|
| public int getLine() starts with 0
| |
| getName | back to summary |
|---|---|
| public String getName() getter
| |
| getPointer | back to summary |
|---|---|
| public int getPointer() getter
| |
| isLineBreak | back to summary |
|---|---|
| private boolean isLineBreak(int c) | |
| toCodePoints | back to summary |
|---|---|
| private static int[] toCodePoints(char[] str) | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |