com.microstrategy.web.transform.Layout |
![]() |
The Layout interface represents a single layout that is associated with a style. It consists of three fundamental components:
Layouts
interface will inspect
layouts in order of decreasing precedence order.
LayoutTag
object.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract LayoutTag |
getLayoutDefinition(LayoutParser desiredParser)
This method returns the in-memory representation of the layout definition to
use with this specific style.
| ||||||||||
abstract String |
getLayoutLocator()
This method returns the layout locator string associated with this layout.
| ||||||||||
abstract LayoutSourceDefn |
getLayoutSourceDefn()
This method returns the
LayoutSourceDefn object associated with
this layout. | ||||||||||
abstract String |
getLayoutSourceName()
Return the name of the LayoutSourceDefn currently associated with this Layout.
| ||||||||||
abstract int |
getOrder()
This method is deprecated.
The order is not relevant anymore as there can only be one Layout associated with a Style.
| ||||||||||
abstract void |
setLayoutLocator(String layoutLocator)
This method sets the layout locator (String) associated with this layout.
| ||||||||||
abstract void |
setLayoutSourceDefn(LayoutSourceDefn layoutSourceDefn)
This method is deprecated.
The LayoutSourceDefn should not be explicitly set, it should be resolved automatically by the Layout
automatically from the LayoutSourceName property.
| ||||||||||
abstract void |
setLayoutSourceName(String name)
Associates a LayoutSourceDefn with this Layout based on its name.
| ||||||||||
abstract void |
setOrder(int order)
This method is deprecated.
The order is not relevant anymore as there can only be one Layout associated with a Style.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
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).
desiredParser | If a layout definition needs to be parsed, then use the supplied
LayoutParser object. |
---|
WebTransformException | thrown if there is any error occurred.
LayoutTag tag).
|
---|
This method returns the layout locator string associated with this layout.
This method returns the LayoutSourceDefn
object associated with
this layout. The underlying LayoutSource
object instance is used
to perform the actual retrieval of the layout definition.
LayoutSourceDefn
object associated with this layout.
Return the name of the LayoutSourceDefn currently associated with this Layout.
This method is deprecated.
The order is not relevant anymore as there can only be one Layout associated with a Style.
This method returns the precedence order of this specific layout. The higher the number, the earlier it will get evaluated.
This method sets the layout locator (String) associated with this layout.
layoutLocator | The string representation of the layout location. The
actual syntax is defined by the LayoutSource object it is associated
with.
|
---|
This method is deprecated.
The LayoutSourceDefn should not be explicitly set, it should be resolved automatically by the Layout
automatically from the LayoutSourceName property.
This method sets the LayoutSourceDefn
object associated with this
layout. The underlying LayoutSource
object instance is used
to perform the actual retrieval of the layout definition.
layoutSourceDefn | The LayoutSourceDefn object instance to use. |
---|
Associates a LayoutSourceDefn with this Layout based on its name.
This method is deprecated.
The order is not relevant anymore as there can only be one Layout associated with a Style.
This method sets the precedence order of this specific layout. The higher the number, the earlier it will get evaluated.
order | The numeric value of the precedence order. |
---|