Interface PropertyStatus

All Known Implementing Classes:
PackageVocabs.LINKREL_PROPERTIES, RenditionVocabs.ITEMREF_PROPERTIES, RenditionVocabs.META_PROPERTIES, StructureVocab.EPUB_TYPES

public interface PropertyStatus
Holds info about an EPUB vocabulary property, specifically whether it's disallowed (ERROR) or deprecate (WARNING).
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final PropertyStatus
    The 'allowed' status (for properties that are neither disallowed or deprecated).
    static final PropertyStatus
    The 'deprecated' status (for properties that are allowed but deprecated).
    static final PropertyStatus
    The status of properties that are disallowed on Content Documents (documents of type 'application/xhtml+xml')
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    boolean
     
  • Field Details

    • ALLOWED

      static final PropertyStatus ALLOWED
      The 'allowed' status (for properties that are neither disallowed or deprecated).
    • DEPRECATED

      static final PropertyStatus DEPRECATED
      The 'deprecated' status (for properties that are allowed but deprecated).
    • DISALLOWED_ON_CONTENT_DOCS

      static final PropertyStatus DISALLOWED_ON_CONTENT_DOCS
      The status of properties that are disallowed on Content Documents (documents of type 'application/xhtml+xml')
  • Method Details

    • isAllowed

      boolean isAllowed(ValidationContext context)
    • isDeprecated

      boolean isDeprecated()