Class TextResult
java.lang.Object
com.itextpdf.pdf2data.result.value.AbstractValueResult
com.itextpdf.pdf2data.result.value.TextResult
Class representing text result.
-
Constructor Summary
ConstructorDescriptionTextResult
(PageLocationMetaResult pageLocationMeta, FontMetaResult fontMeta, String content) Creates an instance of text result. -
Method Summary
Modifier and TypeMethodDescriptionClones this instance without metadata entries.boolean
Get text content.Get text font metadata.Get text page location.int
hashCode()
Methods inherited from class com.itextpdf.pdf2data.result.value.AbstractValueResult
getResultType
-
Constructor Details
-
TextResult
public TextResult(PageLocationMetaResult pageLocationMeta, FontMetaResult fontMeta, String content) Creates an instance of text result.- Parameters:
-
pageLocationMeta
- text page location -
fontMeta
- text font metadata -
content
- text content
-
-
Method Details
-
getPageLocationMeta
Get text page location.- Returns:
- text page location
-
getFontMeta
Get text font metadata.- Returns:
- text font metadata
-
getContent
Get text content.- Returns:
- text content.
-
cloneWithoutMeta
Description copied from class:AbstractValueResult
Clones this instance without metadata entries.- Specified by:
-
cloneWithoutMeta
in classAbstractValueResult
- Returns:
- clone of the current result without metadata
-
equals
- Overrides:
-
equals
in classAbstractValueResult
-
hashCode
public int hashCode()- Overrides:
-
hashCode
in classAbstractValueResult
-