org.attoparser
Class AbstractBufferedAttoParser.BufferParseResult

Object
  extended by org.attoparser.AbstractBufferedAttoParser.BufferParseResult
Enclosing class:
AbstractBufferedAttoParser

public static final class AbstractBufferedAttoParser.BufferParseResult
extends Object

This class encapsulates the results of parsing a fragment (a buffer) of a document.

Will only be used by implementations of AbstractBufferedAttoParser.

It contains:

Since:
1.0
Author:
Daniel Fernández

Constructor Summary
AbstractBufferedAttoParser.BufferParseResult(int offset, int line, int col, boolean inStructure, char[] skipUntilSequence)
           Create a new instance of this class.
 
Method Summary
 int getCol()
           
 int getLine()
           
 int getOffset()
           
 char[] getSkipUntilSequence()
           
 boolean isInStructure()
           
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractBufferedAttoParser.BufferParseResult

public AbstractBufferedAttoParser.BufferParseResult(int offset,
                                                    int line,
                                                    int col,
                                                    boolean inStructure,
                                                    char[] skipUntilSequence)

Create a new instance of this class.

Parameters:
offset - the offset of the last unfinished artifact.
line - line of the last unfinished artifact.
col - column of the last unfinished artifact.
inStructure - whether the last unfinished artifact is a structure or not.
skipUntilSequence - whether parsing must be disabled until a specific char sequence is found, or null.
Method Detail

getOffset

public int getOffset()

getLine

public int getLine()

getCol

public int getCol()

isInStructure

public boolean isInStructure()

getSkipUntilSequence

public char[] getSkipUntilSequence()


Copyright © 2014 The ATTOPARSER team. All Rights Reserved.