public abstract class FeaturesObject extends Object
| Modifier and Type | Field and Description |
|---|---|
protected FeaturesObjectAdapter |
adapter |
protected List<String> |
errors |
| Modifier and Type | Method and Description |
|---|---|
protected FeatureTreeNode |
collectFeatures() |
protected static String |
generateAttributeXPath(String... node) |
protected static String |
generateVariableXPath(String... node) |
abstract FeaturesData |
getData() |
abstract FeatureObjectType |
getType() |
void |
registerNewError(String error) |
FeatureTreeNode |
reportFeatures(FeatureExtractionResult collection)
Reports all features from the object into the collection
|
protected FeaturesObjectAdapter adapter
public void registerNewError(String error)
public abstract FeatureObjectType getType()
public FeatureTreeNode reportFeatures(FeatureExtractionResult collection) throws FeatureParsingException
collection - collection for feature reportFeatureParsingException - occurs when wrong features tree node constructsprotected FeatureTreeNode collectFeatures() throws FeatureParsingException
FeatureParsingExceptionpublic abstract FeaturesData getData()
Copyright © 2015–2017 The veraPDF Consortium. All rights reserved.