Class PWAProps

All Implemented Interfaces:
EventListener, IGProp<GProp<?>[]>, IPropCnr, Cloneable
Direct Known Subclasses:
EditorPWAProps

public class PWAProps extends PropCnr
The Progressive Web App (PWA) properties.
Author:
Christopher Mindus
  • Field Details

    • FILE_NAME

      public static final String FILE_NAME
      The file name of the PWA properties container: ".iiziPWA".
      See Also:
    • ATOM

      public static final Atom ATOM
      The atom for the PWA properties container: "$pwa".
    • LOCALIZED_LANGUAGES_PROPNAME

      public static final String LOCALIZED_LANGUAGES_PROPNAME
      The property name for the localized languages String: "localized".
      See Also:
    • UNKNOWN

      public static final String UNKNOWN
      The String "UNKNOWN".
      See Also:
  • Constructor Details

    • PWAProps

      public PWAProps()
      Creates a PWAProps container without name and with a null value.
    • PWAProps

      public PWAProps(Atom propertyAtom)
      Creates a PWAProps container with the specified name with a null value.
      Parameters:
      propertyAtom - the property atom.
  • Method Details

    • clone

      public PWAProps clone()
      Creates a clone out of this property.
      Overrides:
      clone in class PropCnr
      Returns:
      The clone of the PWAProps.
    • getLocalizedLanguages

      public String getLocalizedLanguages()
      Gets the list of localized languages.
      Returns:
      A comma separated list of language codes, null if undefined.
    • verify

      public boolean verify(PropVerification verification)
      Verifies this property container. The check performed is the extension of classes and that no circular reference is present.
      Specified by:
      verify in interface IGProp<GProp<?>[]>
      Overrides:
      verify in class PropCnr
      Parameters:
      verification - The property verification class.
      Returns:
      true if verification should proceed, false if disposed of and verification should not take place.