Package org.verapdf.features
Class FeatureExtractionResult
java.lang.Object
org.verapdf.features.FeatureExtractionResult
Features Collection
- Author:
- Maksim Bezrukov
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addNewError
(FeatureObjectType type, String errorID) Add new error to feature typevoid
addNewFeatureTree
(FeatureObjectType type, FeatureTreeNode root) Add new feature tree for a typeboolean
Gets list of feature trees for the typeGets list of feature trees for the typeint
hashCode()
-
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()
-