Package org.verapdf.features.objects
Class FormXObjectFeaturesObject
- java.lang.Object
-
- org.verapdf.features.objects.FeaturesObject
-
- org.verapdf.features.objects.FormXObjectFeaturesObject
-
public class FormXObjectFeaturesObject extends FeaturesObject
Feature object for form xobject- Author:
- Maksim Bezrukov
-
-
Field Summary
-
Fields inherited from class org.verapdf.features.objects.FeaturesObject
adapter, errors
-
-
Constructor Summary
Constructors Constructor Description FormXObjectFeaturesObject(FormXObjectFeaturesObjectAdapter adapter)
Constructs new From XObject Feature Object
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FeatureTreeNode
collectFeatures()
Reports all features from the object into the collectionFeaturesData
getData()
FeatureObjectType
getType()
-
Methods inherited from class org.verapdf.features.objects.FeaturesObject
generateAttributeXPath, generateVariableXPath, registerNewError, reportFeatures
-
-
-
-
Constructor Detail
-
FormXObjectFeaturesObject
public FormXObjectFeaturesObject(FormXObjectFeaturesObjectAdapter adapter)
Constructs new From XObject Feature Object- Parameters:
adapter
- class represents form xobject adapter
-
-
Method Detail
-
getType
public FeatureObjectType getType()
- Specified by:
getType
in classFeaturesObject
- Returns:
- FORM_XOBJECT instance of the FeatureObjectType enumeration
-
collectFeatures
public FeatureTreeNode collectFeatures() throws FeatureParsingException
Reports all features from the object into the collection- Overrides:
collectFeatures
in 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:
getData
in classFeaturesObject
- Returns:
- null
-
-