Package org.verapdf.features
Class FeatureExtractionResult
java.lang.Object
org.verapdf.features.FeatureExtractionResult
Features Collection
- Author:
- Maksim Bezrukov
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddNewError(FeatureObjectType type, String errorID) Add new error to feature typevoidaddNewFeatureTree(FeatureObjectType type, FeatureTreeNode root) Add new feature tree for a typebooleanGets list of feature trees for the typeGets list of feature trees for the typeinthashCode()
-
Constructor Details
-
FeatureExtractionResult
public FeatureExtractionResult()Constructs new object
-
-
Method Details
-
addNewFeatureTree
Add new feature tree for a type- Parameters:
type- type of feature objectroot- root element of a feature tree
-
getFeatureTreesForType
Gets list of feature trees for the type- Parameters:
type- type of the feature object- Returns:
- list of feature trees for the given type
-
addNewError
Add new error to feature type- Parameters:
type- type of feature objecterrorID- errorID
-
getErrorsForType
Gets list of feature trees for the type- Parameters:
type- type of the feature object- Returns:
- list of errorss for the given type
-
equals
-
hashCode
public int hashCode()
-