com.java4less.ocr.docparser
Class ParserContext

java.lang.Object
  extended by com.java4less.ocr.docparser.ParserContext

public class ParserContext
extends java.lang.Object

for internal use of the parser only


Constructor Summary
ParserContext()
           
 
Method Summary
 SectionDef getCurrentSection()
           
 DocumentDef getDocDef()
           
 Document getDocument()
           
 int getLineInSection()
           
 Lines getLines()
           
 SectionDef getNextSection()
           
 Section getSection()
           
 int getSectionIndex()
           
 void moveNextLine()
           
 void setCurrentSection(SectionDef currentSection)
           
 void setDocDef(DocumentDef docDef)
           
 void setDocument(Document document)
           
 void setLineInSection(int lineInSection)
           
 void setLines(Lines lines)
           
 void setSection(Section section)
           
 void setSectionIndex(int sectionIndex)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParserContext

public ParserContext()
Method Detail

getSectionIndex

public int getSectionIndex()

setSectionIndex

public void setSectionIndex(int sectionIndex)

getDocDef

public DocumentDef getDocDef()

setDocDef

public void setDocDef(DocumentDef docDef)

getCurrentSection

public SectionDef getCurrentSection()

setCurrentSection

public void setCurrentSection(SectionDef currentSection)

getLineInSection

public int getLineInSection()

setLineInSection

public void setLineInSection(int lineInSection)

getLines

public Lines getLines()

setLines

public void setLines(Lines lines)

getNextSection

public SectionDef getNextSection()

moveNextLine

public void moveNextLine()

getDocument

public Document getDocument()

setDocument

public void setDocument(Document document)

getSection

public Section getSection()

setSection

public void setSection(Section section)