public class PBAnnotationFeaturesObject extends Object
| Constructor and Description |
|---|
PBAnnotationFeaturesObject(PDAnnotation annot,
String id,
String popupId,
Set<String> formXObjects)
Constructs new Annotation Feature Object
|
| Modifier and Type | Method and Description |
|---|---|
FeaturesData |
getData() |
FeatureObjectType |
getType() |
FeatureTreeNode |
reportFeatures(FeatureExtractionResult collection)
Reports featurereport into collection
|
public PBAnnotationFeaturesObject(PDAnnotation annot,
String id,
String popupId,
Set<String> formXObjects)
annot - pdfbox class represents annotation objectid - annotation idpopupId - id of the popup annotationformXObjects - set of id of the form XObjects which used in appearance stream of this annotationpublic FeatureObjectType getType()
public FeatureTreeNode reportFeatures(FeatureExtractionResult collection)
throws FeatureParsingException
collection - collection for feature reportFeatureParsingException - occurs when wrong features tree node constructspublic FeaturesData getData()
Copyright © 2015–2017 The veraPDF Consortium. All rights reserved.