public class

ScriptTagImpl

extends TagImpl
java.lang.Object
   ↳ com.microstrategy.web.tags.TagImpl
     ↳ com.microstrategy.web.app.tags.ScriptTagImpl

Summary

[Expand]
Inherited Constants
From interface com.microstrategy.web.tags.EnumHTMLTags
Public Constructors
ScriptTagImpl()
Public Methods
void render(MarkupOutput markup, LayoutContext context)
(1) context == null, print out layout-related tags (2) context != null, render dynamic content from layout-related tags
Protected Methods
PageComponent getPage(LayoutContext context)
boolean usePageResourceManagerForScripts(PageComponent pg)
[Expand]
Inherited Methods
From class com.microstrategy.web.tags.TagImpl
void doStartTag(LayoutContext context)
This method is called before the rendering method renderOpenTag(MarkupOutput, LayoutContext) is called to render the opening part of a tag, such as "".
String generateErrorMessage(Tag origin, String msg)
String getAttribute(String attrName)
Returns the attribute value with the specified attribute name.
Enumeration getAttributeNames()
Returns a Enumeration of attributes of the current tag.
Map getAttributeNamesCollection()
Map getAttributesCollection()
Enumeration getChildren()
Returns a Enumeration of children of the current tag.
List getChildrenCollection()
MarkupOutput getContent()
Returns a new MarkupOutput instance and Adds it as a child of the current tag.
String getCssClass()
Returns the Cascading Style Sheets class name associated with the current tag.
Tag getDeepCopy()
Returns a deep copy of this tag
List getDynamicAttributesCollection()
String getId()
Returns the ID attribute value of the current tag.
int getLineNumber()
Returns the line number of the current tag in the layout source.
boolean getPreserveCase()
Gets the character cases when rendering the tag name and attribute name.
Tag getRootTag()
Returns the root tag in the tag hierarchical tree.
boolean getSealed()
Returns a boolean value indicating whether the current tag is read-only.
String getStyle()
Returns the value of the style attribute.
String getTagName()
Returns the name of the current tag.
boolean isClosedRequired()
Returns a boolean value indicating whether a closing tag, which looks like </foo>, is required when rendering the current tag.
boolean isContentInline()
Returns a boolean value indicating whether the rendering result of the current tag needs to be written in a single line.
boolean isDynamic()
Returns a boolean value indicating whether the current tag is dynamic.
void removeAttribute(String name)
void removeChildren()
Remove any existing child tag from this tag.
void render(MarkupOutput markup, LayoutContext context)
(1) context == null, print out layout-related tags (2) context != null, render dynamic content from layout-related tags
void render(MarkupOutput markup)
Renders the current tag including all its children tags and stores the rendering result in the specified MarkupOutput instance.
void renderAllAttributes(MarkupOutput markup, LayoutContext context)
void renderChildTags(MarkupOutput markup, LayoutContext context)
void renderCloseTag(MarkupOutput markup, LayoutContext context)
void renderCloseTag(MarkupOutput markup)
Renders the closing tag of the current tag and stores the rendering result in the specified MarkupOutput object.
void renderOpenTag(MarkupOutput markup)
Renders the openning tag of the current tag ans store the rendering result in the specified MarkupOutput object.
void renderOpenTag(MarkupOutput markup, LayoutContext context)
Renders the openning tag of the current tag and stores the rendering result in the specified MarkupOutput object.
void replaceContent(Tag srcTag)
copyContent Replace the current tag's content with the srcTag's content
void setAttribute(String attrName, String attrValue)
Sets a new value to the attribute with the specified attribute name.
void setAttributes(Map attributes)
Sets a Map of attributes to the current tag.
void setCssClass(String css)
Sets a class name for the Cascading Style Sheets attribute on the current tag.
void setDynamic(boolean dyn)
Sets a boolean value indicating whether the current tag is dynamic.
void setDynamicInternal(boolean dyn)
void setId(String id)
Sets a value to the ID attribute on the current tag.
void setIsClosedRequired(boolean closeReq)
Sets a boolean value indicating whether a closing tag, which looks like </foo>, is required when rendering the current tag.
void setIsContentInline(boolean inline)
Sets a boolean value indicating whether the rendering result of the current tag needs to be written in a single line.
void setLineNumber(int lineNumber)
Sets the line number of the current tag in the layout source.
void setPreserveCase(boolean preserveCase)
Sets the character cases when rendering the tag name and attribute name.
void setRootTag(Tag root)
Sets a root tag of the tag tree to which the current tag belongs.
void setSealed()
Marks the current tag as read-only.
void setStyle(String style)
Set a value to the style attribute.
void setTagName(String name)
Sets the current tag name.
boolean shouldCloseTag()
From class java.lang.Object
From interface com.microstrategy.web.tags.Tag
abstract void doStartTag(LayoutContext context)
This method is called before the rendering method renderOpenTag(MarkupOutput, LayoutContext) is called to render the opening part of a tag, such as "".
abstract String getAttribute(String attrName)
Returns the attribute value with the specified attribute name.
abstract Enumeration getAttributeNames()
Returns a Enumeration of attributes of the current tag.
abstract Enumeration getChildren()
Returns a Enumeration of children of the current tag.
abstract MarkupOutput getContent()
Returns a new MarkupOutput instance and Adds it as a child of the current tag.
abstract String getCssClass()
Returns the Cascading Style Sheets class name associated with the current tag.
abstract Tag getDeepCopy()
Returns a deep copy of this tag
abstract String getId()
Returns the ID attribute value of the current tag.
abstract int getLineNumber()
Returns the line number of the current tag in the layout source.
abstract boolean getPreserveCase()
Gets the character cases when rendering the tag name and attribute name.
abstract Tag getRootTag()
Returns the root tag in the tag hierarchical tree.
abstract boolean getSealed()
Returns a boolean value indicating whether the current tag is read-only.
abstract String getStyle()
Returns the value of the style attribute.
abstract String getTagName()
Returns the name of the current tag.
abstract boolean isClosedRequired()
Returns a boolean value indicating whether a closing tag, which looks like </foo>, is required when rendering the current tag.
abstract boolean isContentInline()
Returns a boolean value indicating whether the rendering result of the current tag needs to be written in a single line.
abstract boolean isDynamic()
Returns a boolean value indicating whether the current tag is dynamic.
abstract void removeChildren()
Remove any existing child tag from this tag.
abstract void render(MarkupOutput markup)
Renders the current tag including all its children tags and stores the rendering result in the specified MarkupOutput instance.
abstract void render(MarkupOutput markup, LayoutContext context)
Renders the current tag including all its children tagas and stores the rendering result in the specified MarkupOutput object.
abstract void renderCloseTag(MarkupOutput markup)
Renders the closing tag of the current tag and stores the rendering result in the specified MarkupOutput object.
abstract void renderOpenTag(MarkupOutput markup)
Renders the openning tag of the current tag ans store the rendering result in the specified MarkupOutput object.
abstract void renderOpenTag(MarkupOutput markup, LayoutContext context)
Renders the openning tag of the current tag and stores the rendering result in the specified MarkupOutput object.
abstract void replaceContent(Tag srcTag)
Replace the current tag's content with the srcTag's content
abstract void setAttribute(String attrName, String attrValue)
Sets a new value to the attribute with the specified attribute name.
abstract void setAttributes(Map attributes)
Sets a Map of attributes to the current tag.
abstract void setCssClass(String css)
Sets a class name for the Cascading Style Sheets attribute on the current tag.
abstract void setDynamic(boolean dyn)
Sets a boolean value indicating whether the current tag is dynamic.
abstract void setId(String id)
Sets a value to the ID attribute on the current tag.
abstract void setIsClosedRequired(boolean closeReq)
Sets a boolean value indicating whether a closing tag, which looks like </foo>, is required when rendering the current tag.
abstract void setIsContentInline(boolean inline)
Sets a boolean value indicating whether the rendering result of the current tag needs to be written in a single line.
abstract void setLineNumber(int lineNumber)
Sets the line number of the current tag in the layout source.
abstract void setPreserveCase(boolean preserveCase)
Sets the character cases when rendering the tag name and attribute name.
abstract void setRootTag(Tag root)
Sets a root tag of the tag tree to which the current tag belongs.
abstract void setSealed()
Marks the current tag as read-only.
abstract void setStyle(String style)
Set a value to the style attribute.
abstract void setTagName(String name)
Sets the current tag name.

Public Constructors

public ScriptTagImpl ()

Public Methods

public void render (MarkupOutput markup, LayoutContext context)

(1) context == null, print out layout-related tags (2) context != null, render dynamic content from layout-related tags

Parameters
markup MarkupOutput
context LayoutContext

Protected Methods

protected PageComponent getPage (LayoutContext context)

protected boolean usePageResourceManagerForScripts (PageComponent pg)