Package org.verapdf.features.objects
Class PropertiesDictFeaturesObject
- java.lang.Object
-
- org.verapdf.features.objects.FeaturesObject
-
- org.verapdf.features.objects.PropertiesDictFeaturesObject
-
public class PropertiesDictFeaturesObject extends FeaturesObject
Feature object for properties dict part of the features report- Author:
- Maksim Bezrukov
-
-
Field Summary
-
Fields inherited from class org.verapdf.features.objects.FeaturesObject
adapter, errors
-
-
Constructor Summary
Constructors Constructor Description PropertiesDictFeaturesObject(PropertiesDictFeaturesObjectAdapter adapter)Constructs new properties dict feature object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FeatureTreeNodecollectFeatures()Reports all features from the object into the collectionFeaturesDatagetData()FeatureObjectTypegetType()-
Methods inherited from class org.verapdf.features.objects.FeaturesObject
generateAttributeXPath, generateVariableXPath, registerNewError, reportFeatures
-
-
-
-
Constructor Detail
-
PropertiesDictFeaturesObject
public PropertiesDictFeaturesObject(PropertiesDictFeaturesObjectAdapter adapter)
Constructs new properties dict feature object.- Parameters:
adapter- properties dict adapter class represents document object
-
-
Method Detail
-
getType
public FeatureObjectType getType()
- Specified by:
getTypein classFeaturesObject- Returns:
- PROPERTIES instance of the FeatureObjectType enumeration
-
collectFeatures
public FeatureTreeNode collectFeatures() throws FeatureParsingException
Reports all features from the object into the collection- Overrides:
collectFeaturesin classFeaturesObject- Returns:
- FeatureTreeNode class which represents a root node of the constructed collection tree
- Throws:
FeatureParsingException- occurs when wrong features tree node constructs
-
getData
public FeaturesData getData()
- Specified by:
getDatain classFeaturesObject- Returns:
- null
-
-