Class FastTextExtractor
- java.lang.Object
-
- org.pentaho.reporting.engine.classic.core.modules.output.fast.template.FastTextExtractor
-
- Direct Known Subclasses:
FastExcelTextExtractor
,FastHtmlTextExtractor
public class FastTextExtractor extends Object
-
-
Constructor Summary
Constructors Constructor Description FastTextExtractor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
clearText()
Object
compute(ReportElement content, ExpressionRuntime runtime)
Object
getRawResult()
String
getText()
protected StringBuilder
getTextBuffer()
protected int
getTextLength()
protected void
handleValueContent(ReportElement element, Object value, boolean inlineSection)
protected void
inspectElement(ReportElement element, boolean inlineSection)
protected void
inspectEndSection(ReportElement section, boolean inlineSection)
protected boolean
inspectStartSection(ReportElement section, boolean inlineSection)
protected void
setRawResult(Object rawResult)
void
setRuntime(ExpressionRuntime runtime)
protected void
traverseSection(Section section)
-
-
-
Method Detail
-
compute
public Object compute(ReportElement content, ExpressionRuntime runtime) throws ContentProcessingException
- Throws:
ContentProcessingException
-
setRuntime
public void setRuntime(ExpressionRuntime runtime)
-
clearText
protected void clearText()
-
getRawResult
public Object getRawResult()
-
getText
public String getText()
-
traverseSection
protected void traverseSection(Section section) throws ContentProcessingException
- Throws:
ContentProcessingException
-
inspectEndSection
protected void inspectEndSection(ReportElement section, boolean inlineSection)
-
inspectStartSection
protected boolean inspectStartSection(ReportElement section, boolean inlineSection)
-
inspectElement
protected void inspectElement(ReportElement element, boolean inlineSection) throws ContentProcessingException
- Throws:
ContentProcessingException
-
handleValueContent
protected void handleValueContent(ReportElement element, Object value, boolean inlineSection) throws ContentProcessingException
- Throws:
ContentProcessingException
-
getTextBuffer
protected StringBuilder getTextBuffer()
-
setRawResult
protected void setRawResult(Object rawResult)
-
getTextLength
protected int getTextLength()
-
-