Class LayoutsImpl

    • Field Detail

      • NODE_LAYOUTS

        protected static final java.lang.String NODE_LAYOUTS
        Since:
        MicroStrategy Web 9.0.0
        See Also:
        Constant Field Values
    • Constructor Detail

      • LayoutsImpl

        public LayoutsImpl()
        Since:
        MicroStrategy Web 9.0.0
    • Method Detail

      • getLayout

        public Layout getLayout​(int index)
                         throws java.lang.IndexOutOfBoundsException
        Description copied from interface: Layouts
        Gets the Layout associated with supplied index. A valid index begins at 0 and continues to getCount() - 1.
        Specified by:
        getLayout in interface Layouts
        Parameters:
        index - The index of the Layout to return.
        Returns:
        The Layout at the supplied index.
        Throws:
        java.lang.IndexOutOfBoundsException - This exception is thown if the argument is outside the range of a valid index.
      • getLayout

        public Layout getLayout()
        Since:
        MicroStrategy Web 9.0.0
      • newLayout

        public Layout newLayout()
                         throws java.lang.UnsupportedOperationException
        Description copied from interface: Layouts
        Creates a new layout object.
        Specified by:
        newLayout in interface Layouts
        Returns:
        The new layout object.
        Throws:
        java.lang.UnsupportedOperationException - This exception is thrown if the Style Catalog is in "read only" mode.
      • getLayoutDefinition

        public LayoutTag getLayoutDefinition​(LayoutParser desiredParser)
                                      throws WebTransformException
        Description copied from interface: Layouts
        This method returns the in-memory representation of the layout definition to use with this specific style. This object may be the result of a parse operation or it may have been previously cached (and simply returned). Individual Layout objects are ordered in this object by decreasing precedence order (see Layout.getOrder()). Each one is evaluated until the underlying layout returns a valid, non-null LayoutTag object.
        Specified by:
        getLayoutDefinition in interface Layouts
        Parameters:
        desiredParser - If a layout definition needs to be parsed, then use the supplied LayoutParser object.
        Returns:
        The in-memory representation of the layout definition (in the form of a root
        Throws:
        WebTransformException - thrown if there is any error occurred. LayoutTag tag).
      • getListClass

        protected java.lang.Class getListClass()
        Description copied from class: AbstractElementList
        Returns the Class items beloging to this list will be instance of.
        Specified by:
        getListClass in class AbstractElementList
        Since:
        MicroStrategy Web 9.0.0
      • getListNodeName

        protected java.lang.String getListNodeName()
        Description copied from class: AbstractElementList
        Returns the name of the node representing children of this list.
        Specified by:
        getListNodeName in class AbstractElementList
        Since:
        MicroStrategy Web 9.0.0