com.aspose.html.services

Interface IUserAgentService

  • All Superinterfaces:
    com.aspose.ms.System.IDisposable, IService


    public interface IUserAgentService
    extends IService

    An interface that is described a user agent environment.

    See Also:
    IService
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      String getCharSet()
      Gets or sets the primary character-set for a document.
      int getCSSEngineMode()
      Gets or sets mode in which CSS engine works.
      String getLanguage()
      The Language specifies the primary language for the element's contents and for any of the element's attributes that contain text.
      String getUserStyleSheet()
      Allows to specify style information for a particular document
      void setCharSet(String value)
      Gets or sets the primary character-set for a document.
      void setCSSEngineMode(int value)
      Gets or sets mode in which CSS engine works.
      void setLanguage(String value)
      The Language specifies the primary language for the element's contents and for any of the element's attributes that contain text.
      void setUserStyleSheet(String value)
      Allows to specify style information for a particular document
      • Methods inherited from interface com.aspose.ms.System.IDisposable

        dispose
    • Method Detail

      • getLanguage

        String getLanguage()

        The Language specifies the primary language for the element's contents and for any of the element's attributes that contain text. Its value must be a valid BCP 47 () language tag, or the empty string. Setting the attribute to the empty string indicates that the primary language is unknown.

        Value: The user agent language.
        See Also:
        http://www.ietf.org/rfc/bcp/bcp47.txt
      • setLanguage

        void setLanguage(String value)

        The Language specifies the primary language for the element's contents and for any of the element's attributes that contain text. Its value must be a valid BCP 47 () language tag, or the empty string. Setting the attribute to the empty string indicates that the primary language is unknown.

        Value: The user agent language.
        See Also:
        http://www.ietf.org/rfc/bcp/bcp47.txt
      • getUserStyleSheet

        String getUserStyleSheet()

        Allows to specify style information for a particular document

      • setUserStyleSheet

        void setUserStyleSheet(String value)

        Allows to specify style information for a particular document

      • getCharSet

        String getCharSet()

        Gets or sets the primary character-set for a document.

        Value: The character set.
      • setCharSet

        void setCharSet(String value)

        Gets or sets the primary character-set for a document.

        Value: The character set.
      • getCSSEngineMode

        int getCSSEngineMode()

        Gets or sets mode in which CSS engine works.

        Value: The engine mode.
      • setCSSEngineMode

        void setCSSEngineMode(int value)

        Gets or sets mode in which CSS engine works.

        Value: The engine mode.