Class BaseTagHelper
- java.lang.Object
-
- com.microstrategy.web.app.taglibs.CoreTagHelper
-
- com.microstrategy.web.app.taglibs.MstrPageTagHelper
-
- com.microstrategy.web.app.taglibs.AbstractNoBodyTagHelper
-
- com.microstrategy.web.app.taglibs.BaseTagHelper
-
public class BaseTagHelper extends AbstractNoBodyTagHelper
Helper for theBaseTag
tag library.- Since:
- MicroStrategy Web 7.3.1 or earlier
-
-
Field Summary
-
Fields inherited from class com.microstrategy.web.app.taglibs.MstrPageTagHelper
_mstrPage
-
-
Constructor Summary
Constructors Constructor Description BaseTagHelper()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
cleanState()
Resets the state of the tag library, by cleaning the values of the properties initialized for this tag.MarkupOutput
getContent()
Obtains the contents to render based on the attributes defined (if existing).static boolean
isValidTheme(ShortcutList themeShortcuts, java.lang.String theme)
void
setAttribute(java.lang.String value)
Sets the value assigned to the attribute attribute of the custom tag instance that uses this helpervoid
setBundleName(java.lang.String value)
void
setDebugBundleName(java.lang.String value)
void
setLocation(java.lang.String value)
Sets the value assigned to the location attribute of the custom tag instance that uses this helpervoid
setName(java.lang.String value)
Sets the value assigned to the name attribute of the custom tag instance that uses this helpervoid
setType(java.lang.String value)
Sets the value assigned to the type attribute of the custom tag instance that uses this helper-
Methods inherited from class com.microstrategy.web.app.taglibs.MstrPageTagHelper
getContainerServices, newHiddenInputBuilder, newURIBuilder, resolveNumericAttribute, setPageComponent
-
Methods inherited from class com.microstrategy.web.app.taglibs.CoreTagHelper
getTagsFactory
-
-
-
-
Method Detail
-
cleanState
public void cleanState()
Resets the state of the tag library, by cleaning the values of the properties initialized for this tag.- Overrides:
cleanState
in classMstrPageTagHelper
-
getContent
public MarkupOutput getContent() throws java.io.IOException
Obtains the contents to render based on the attributes defined (if existing).- Specified by:
getContent
in classAbstractNoBodyTagHelper
- Returns:
- a
MarkupOutput
instance initialized with the contents to display - Throws:
java.io.IOException
- if an error happens while getting the contents to render.
-
isValidTheme
public static boolean isValidTheme(ShortcutList themeShortcuts, java.lang.String theme)
-
setType
public void setType(java.lang.String value)
Sets the value assigned to the type attribute of the custom tag instance that uses this helper- Parameters:
value
-String
that indicates the type of resource information to retrieve
-
setAttribute
public void setAttribute(java.lang.String value)
Sets the value assigned to the attribute attribute of the custom tag instance that uses this helper- Parameters:
value
-String
that indicates the HTML tag attribute to create with the resource information as value
-
setName
public void setName(java.lang.String value)
Sets the value assigned to the name attribute of the custom tag instance that uses this helper- Parameters:
value
-String
that indicates the name of the file or property to get its resource information
-
setLocation
public void setLocation(java.lang.String value)
Sets the value assigned to the location attribute of the custom tag instance that uses this helper- Parameters:
value
-String
that indicates the location of the resource output. The value can be either "head" or "tail".- Since:
- MicroStrategy Web 9.0.0
-
setBundleName
public void setBundleName(java.lang.String value)
-
setDebugBundleName
public void setDebugBundleName(java.lang.String value)
-
-