Class MediaQuery

    • Constructor Detail

      • MediaQuery

        public MediaQuery​(String media)
        Ctor.
        Parameters:
        media - the media string
      • MediaQuery

        public MediaQuery​(String media,
                          boolean isOnly,
                          boolean isNot)
        Ctor.
        Parameters:
        media - the media string
        isOnly - is only flag
        isNot - is not flag
    • Method Detail

      • getMedia

        public String getMedia()

        getMedia.

        Returns:
        the media
      • getProperties

        public List<Property> getProperties()

        getProperties.

        Returns:
        the list of properties
      • addMediaProperty

        public void addMediaProperty​(Property mp)
        Adds a property to the list.
        Parameters:
        mp - the property to add
      • isOnly

        public boolean isOnly()

        isOnly.

        Returns:
        the is only flag
      • isNot

        public boolean isNot()

        isNot.

        Returns:
        the is not flag