Class WCMResourceOptions

  • All Implemented Interfaces:, java.lang.Cloneable, java.util.Map<java.lang.String,​java.lang.String>

    public class WCMResourceOptions
    extends java.util.HashMap<java.lang.String,​java.lang.String>
    The WCMResourceOptions class is designed as a helper class for storing options used for including resources into Sightly scripts through data-sly-resource. This class is not meant to be extended.
    See Also:
    Serialized Form
    • Nested Class Summary

      • Nested classes/interfaces inherited from class java.util.AbstractMap

        java.util.AbstractMap.SimpleEntry<K extends java.lang.Object,​V extends java.lang.Object>, java.util.AbstractMap.SimpleImmutableEntry<K extends java.lang.Object,​V extends java.lang.Object>
      • Nested classes/interfaces inherited from interface java.util.Map

        java.util.Map.Entry<K extends java.lang.Object,​V extends java.lang.Object>
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getCssClassName()  
      boolean getDecoration()  
      java.lang.String getDecorationTagName()  
      WCMMode getWCMMode()  
      void setCssClassName​(java.lang.String cssClassName)  
      void setOptionDecoration​(boolean decoration)  
      void setOptionDecorationTagName​(java.lang.String decorationTagName)  
      void setWcmMode​(java.lang.String wcmMode)  
      • Methods inherited from class java.util.HashMap

        clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
      • Methods inherited from class java.util.AbstractMap

        equals, hashCode, toString
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface java.util.Map

        equals, hashCode
    • Field Detail


        public static final java.lang.String OPTION_DECORATION_TAG_NAME
        See Also:
        Constant Field Values

        public static final java.lang.String OPTION_DECORATION
        See Also:
        Constant Field Values

        public static final java.lang.String OPTION_CSS_CLASS
        See Also:
        Constant Field Values
    • Constructor Detail

      • WCMResourceOptions

        public WCMResourceOptions()
    • Method Detail

      • getWCMMode

        public WCMMode getWCMMode()
      • getDecorationTagName

        public java.lang.String getDecorationTagName()
      • getCssClassName

        public java.lang.String getCssClassName()
      • getDecoration

        public boolean getDecoration()
      • setOptionDecoration

        public void setOptionDecoration​(boolean decoration)
      • setOptionDecorationTagName

        public void setOptionDecorationTagName​(java.lang.String decorationTagName)
      • setCssClassName

        public void setCssClassName​(java.lang.String cssClassName)
      • setWcmMode

        public void setWcmMode​(java.lang.String wcmMode)