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)
           Create a new instance of this class.
 
Method Summary
 int getCol()
           
 int getLine()
           
 int getOffset()
           
 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)

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.
Method Detail

getOffset

public int getOffset()

getLine

public int getLine()

getCol

public int getCol()

isInStructure

public boolean isInStructure()


Copyright © 2013 The ATTOPARSER team. All Rights Reserved.