com.sapportals.portal.prt.util.html

Class HtmlInlineScriptItem

java.lang.Object
  extended by com.sapportals.portal.prt.util.html.HtmlInlineScriptItem
All Implemented Interfaces:
IHtmlOutputable

public class HtmlInlineScriptItem
extends Object
implements IHtmlOutputable

A script item to put in an instance of HtmlInlineScript. Created: Fri Nov 05 11:29:18 1999


Field Summary
protected  String m_scriptString
          The content of the script item (it's a string).
 
Constructor Summary
HtmlInlineScriptItem()
           
HtmlInlineScriptItem(String scriptString)
           
 
Method Summary
 void destroy()
           
 int getElementCount()
          Returns the number of elements in the container and all sub elements
 String getScriptString()
          Get the value of m_scriptString.
 void output(PrintWriter writer)
          Deprecated.  
 void output(StringBuffer strbuf)
          Method to get the Html Out[ut of the object The StringBuffer must be filled with HTML string content.
 void output(Writer writer)
          Method to get the Html Output of the object into a java.io.Writer
 void setScriptString(String v)
          Set the value of m_scriptString.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

m_scriptString

protected String m_scriptString
The content of the script item (it's a string).

Constructor Detail

HtmlInlineScriptItem

public HtmlInlineScriptItem(String scriptString)

HtmlInlineScriptItem

public HtmlInlineScriptItem()
Method Detail

output

public void output(StringBuffer strbuf)
Description copied from interface: IHtmlOutputable
Method to get the Html Out[ut of the object The StringBuffer must be filled with HTML string content.

Specified by:
output in interface IHtmlOutputable

output

public void output(PrintWriter writer)
Deprecated. 

Description copied from interface: IHtmlOutputable
Method to get the Html Output of the object into a PrintWriter

Specified by:
output in interface IHtmlOutputable

output

public void output(Writer writer)
Description copied from interface: IHtmlOutputable
Method to get the Html Output of the object into a java.io.Writer

Specified by:
output in interface IHtmlOutputable

toString

public final String toString()
Specified by:
toString in interface IHtmlOutputable
Overrides:
toString in class Object

getElementCount

public int getElementCount()
Returns the number of elements in the container and all sub elements

Specified by:
getElementCount in interface IHtmlOutputable
Returns:
number of elements + sub elements

getScriptString

public String getScriptString()
Get the value of m_scriptString.

Returns:
Value of m_scriptString.

setScriptString

public void setScriptString(String v)
Set the value of m_scriptString.

Parameters:
v - Value to assign to m_scriptString.

destroy

public void destroy()
Specified by:
destroy in interface IHtmlOutputable
Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] EP-BASIS-API [sap.com] epbc.prtapi._apideprecated default EP-PIN-PRT
[sap.com] EP-BASIS-API [sap.com] tc/epbc/prt/api api EP-PIN
[sap.com] EP-BASIS-API [sap.com] tc/epbc/prt/lib/api api EP-PIN
[sap.com] EP-RUNTIME [sap.com] tc/ep/semantics/api api EP-PIN
[sap.com] KMC-WPC [sap.com] tc/kmc/wpc/wpcfacade api EP-PIN-WPC-WCM


Copyright 2015 SAP AG Complete Copyright Notice