Class FeatureReport.Feature
java.lang.Object
com.adobe.epubcheck.api.FeatureReport.Feature
- Enclosing class:
FeatureReport
A noteworthy feature in an EPUB Rendition (e.g. presence of page breaks,
encryption, subject, etc.)
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate com.google.common.base.Optional<EPUBLocation> private FeatureEnumprivate com.google.common.base.Optional<String> -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateFeature(FeatureEnum name, EPUBLocation location, String value) -
Method Summary
Modifier and TypeMethodDescriptioncom.google.common.base.Optional<EPUBLocation> The location of the feature.getName()The name of the featurecom.google.common.base.Optional<String> getValue()The value of the feature, when relevant (can be absent).
-
Field Details
-
name
-
location
-
value
-
-
Constructor Details
-
Feature
-
-
Method Details
-
getName
-
getLocation
The location of the feature.- Returns:
- the path to the document containing the feature (can be absent).
-
getValue
The value of the feature, when relevant (can be absent).- Returns:
- the value of the feature if it has one, or
Optional.absent().
-