Class EditorCommentsOptions

  • All Implemented Interfaces:
    java.io.Serializable

    public class EditorCommentsOptions
    extends org.primefaces.shaded.json.JSONObject
    implements java.io.Serializable
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from class org.primefaces.shaded.json.JSONObject

        NULL
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Boolean isIgnoreEmptyLines()  
      java.lang.Boolean isInsertSpace()  
      EditorCommentsOptions setIgnoreEmptyLines​(java.lang.Boolean ignoreEmptyLines)  
      EditorCommentsOptions setInsertSpace​(java.lang.Boolean insertSpace)  
      • Methods inherited from class org.primefaces.shaded.json.JSONObject

        accumulate, append, doubleToString, entrySet, get, getBigDecimal, getBigInteger, getBoolean, getDouble, getEnum, getFloat, getInt, getJSONArray, getJSONObject, getLong, getNames, getNames, getNumber, getString, has, increment, isDecimalNotation, isEmpty, isNull, keys, keySet, length, names, numberToString, opt, optBigDecimal, optBigInteger, optBoolean, optBoolean, optDouble, optDouble, optEnum, optEnum, optFloat, optFloat, optInt, optInt, optJSONArray, optJSONObject, optLong, optLong, optNumber, optNumber, optQuery, optQuery, optString, optString, put, put, put, put, put, put, put, put, putOnce, putOpt, query, query, quote, quote, remove, similar, stringToNumber, stringToValue, testValidity, toJSONArray, toMap, toString, toString, valueToString, wrap, write, write
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • EditorCommentsOptions

        public EditorCommentsOptions()
    • Method Detail

      • isIgnoreEmptyLines

        public java.lang.Boolean isIgnoreEmptyLines()
        Returns:
        Ignore empty lines when inserting line comments. Defaults to true.
      • setIgnoreEmptyLines

        public EditorCommentsOptions setIgnoreEmptyLines​(java.lang.Boolean ignoreEmptyLines)
        Parameters:
        ignoreEmptyLines - Ignore empty lines when inserting line comments. Defaults to true.
        Returns:
        This same instance, useful for chaining multiple setter methods in one call.
      • isInsertSpace

        public java.lang.Boolean isInsertSpace()
        Returns:
        Insert a space after the line comment token and inside the block comments tokens. Defaults to true.
      • setInsertSpace

        public EditorCommentsOptions setInsertSpace​(java.lang.Boolean insertSpace)
        Parameters:
        insertSpace - Insert a space after the line comment token and inside the block comments tokens. Defaults to true.
        Returns:
        This same instance, useful for chaining multiple setter methods in one call.