Class FeatureReport.Feature

java.lang.Object
com.adobe.epubcheck.api.FeatureReport.Feature
Enclosing class:
FeatureReport

public static final class FeatureReport.Feature extends Object
A noteworthy feature in an EPUB Rendition (e.g. presence of page breaks, encryption, subject, etc.)
  • Field Details

    • name

      private FeatureEnum name
    • location

      private com.google.common.base.Optional<EPUBLocation> location
    • value

      private com.google.common.base.Optional<String> value
  • Constructor Details

  • Method Details

    • getName

      public FeatureEnum getName()
      The name of the feature
      Returns:
      the name of the feature
    • getLocation

      public com.google.common.base.Optional<EPUBLocation> getLocation()
      The location of the feature.
      Returns:
      the path to the document containing the feature (can be absent).
    • getValue

      public com.google.common.base.Optional<String> getValue()
      The value of the feature, when relevant (can be absent).
      Returns:
      the value of the feature if it has one, or Optional.absent().