Package org.verapdf.features
Class FeatureExtractionResult
- java.lang.Object
-
- org.verapdf.features.FeatureExtractionResult
-
public final class FeatureExtractionResult extends Object
Features Collection- Author:
- Maksim Bezrukov
-
-
Constructor Summary
Constructors Constructor Description FeatureExtractionResult()Constructs new object
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddNewError(FeatureObjectType type, String errorID)Add new error to feature typevoidaddNewFeatureTree(FeatureObjectType type, FeatureTreeNode root)Add new feature tree for a typebooleanequals(Object o)List<String>getErrorsForType(FeatureObjectType type)Gets list of feature trees for the typeList<FeatureTreeNode>getFeatureTreesForType(FeatureObjectType type)Gets list of feature trees for the typeinthashCode()
-
-
-
Method Detail
-
addNewFeatureTree
public void addNewFeatureTree(FeatureObjectType type, FeatureTreeNode root)
Add new feature tree for a type- Parameters:
type- type of feature objectroot- root element of a feature tree
-
getFeatureTreesForType
public List<FeatureTreeNode> getFeatureTreesForType(FeatureObjectType type)
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
public void addNewError(FeatureObjectType type, String errorID)
Add new error to feature type- Parameters:
type- type of feature objecterrorID- errorID
-
getErrorsForType
public List<String> getErrorsForType(FeatureObjectType type)
Gets list of feature trees for the type- Parameters:
type- type of the feature object- Returns:
- list of errorss for the given type
-
-