Interface ICSSWriteable

    • Method Detail

      • getAsCSSString

        @Nonnull
        default String getAsCSSString()
        Get the contents of this object as a serialized CSS string for writing to an output using the default writer settings.
        Returns:
        The content of this object as CSS string. Never null.
        Since:
        6.0.0
        See Also:
        getAsCSSString(ICSSWriterSettings, int)
      • getAsCSSString

        @Nonnull
        default String getAsCSSString​(@Nonnull
                                      ICSSWriterSettings aSettings)
        Get the contents of this object as a serialized CSS string for writing to an output.
        Parameters:
        aSettings - The settings to be used to format the output. May not be null.
        Returns:
        The content of this object as CSS string. Never null.
        Since:
        5.0.4
        See Also:
        getAsCSSString(ICSSWriterSettings, int)
      • getAsCSSString

        @Nonnull
        String getAsCSSString​(@Nonnull
                              ICSSWriterSettings aSettings,
                              @Nonnegative
                              int nIndentLevel)
        Get the contents of this object as a serialized CSS string for writing to an output.
        Parameters:
        aSettings - The settings to be used to format the output. May not be null.
        nIndentLevel - The current indentation level
        Returns:
        The content of this object as CSS string. Never null.