com.sapportals.portal.prt.util.html

Class HtmlScript

java.lang.Object
  extended bycom.sapportals.portal.prt.util.html.HtmlAttributeContainer
      extended bycom.sapportals.portal.prt.util.html.HtmlBase
          extended bycom.sapportals.portal.prt.util.html.HtmlContainer
              extended bycom.sapportals.portal.prt.util.html.HtmlContainerIdentifiable
                  extended bycom.sapportals.portal.prt.util.html.HtmlScript
All Implemented Interfaces:
IHtmlAttributeContainer, IHtmlBase, IHtmlIdentifiable, IHtmlOutputable, IHtmlUniqueObject

public class HtmlScript
extends HtmlContainerIdentifiable
implements IHtmlUniqueObject

HtmlScript.java Created: Thu Nov 04 14:46:14 1999


Field Summary
protected  boolean m_deferred
          IF the script is deferred
protected  String m_event
          Which event is catched
protected  String m_for
          For which object the script is dedicated.
protected  String m_language
          The language used byte the script.
protected  String m_src
          Source
protected  String m_type
          The type of the script
protected  String m_uniqueId
          The unique identifier of the script.
 
Fields inherited from class com.sapportals.portal.prt.util.html.HtmlContainer
m_htmlElements
 
Fields inherited from class com.sapportals.portal.prt.util.html.HtmlBase
m_hasTag
 
Fields inherited from class com.sapportals.portal.prt.util.html.HtmlAttributeContainer
EQUALS_BEGIN, EQUALS_END, m_attributes, SPACE
 
Constructor Summary
HtmlScript()
           
HtmlScript(String src)
           
 
Method Summary
 boolean getDeferred()
          Get the value of m_deferred.
 String getEvent()
          Get the value of m_event.
 String getFor()
          Get the value of m_for.
 String getLanguage()
          Get the value of m_language.
 String getSrc()
          Get the value of m_src.
 String getType()
          Get the value of m_type.
 void getUniqueHtmlCode(PrintWriter writer)
          Deprecated.  
 void getUniqueHtmlCode(StringBuffer strbuf)
           
 void getUniqueHtmlCode(Writer writer)
           
 String getUniqueId()
          Get the value of m_uniqueId.
 void outputAttributes(PrintWriter out)
          Deprecated.  
 void outputAttributes(StringBuffer strbuf)
           
 void outputAttributes(Writer out)
           
 HtmlScript setDeferred(boolean v)
          Set the value of m_deferred.
 HtmlScript setEvent(String v)
          Set the value of m_event.
 HtmlScript setFor(String v)
          Set the value of m_for.
 HtmlScript setLanguage(String v)
          Set the value of m_language.
 HtmlScript setSrc(String v)
          Set the value of m_src.
 HtmlScript setType(String v)
          Set the value of m_type.
 void setUniqueId(String v)
          Set the value of m_uniqueId.
 
Methods inherited from class com.sapportals.portal.prt.util.html.HtmlContainerIdentifiable
destroy, setID
 
Methods inherited from class com.sapportals.portal.prt.util.html.HtmlContainer
addElement, addElement, getElementCount, getHtmlElements, output, output, output, outputChildren, outputChildren, outputEndTag, outputEndTag, outputStartTag, outputStartTag, removeAllElements, removeElement, setHtmlElements, toString
 
Methods inherited from class com.sapportals.portal.prt.util.html.HtmlBase
getTag, hasTag, requireClosingTag, requireClosingTag, setClass, setStyle, setTag
 
Methods inherited from class com.sapportals.portal.prt.util.html.HtmlAttributeContainer
addAttribute, appendToAttribute, getAttributes, removeAttribute
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.sapportals.portal.prt.util.html.IHtmlOutputable
destroy, getElementCount, output, output, output, toString
 
Methods inherited from interface com.sapportals.portal.prt.util.html.IHtmlIdentifiable
setClass
 

Field Detail

m_uniqueId

protected String m_uniqueId
The unique identifier of the script. This is either the src property or gets the value set with the SET method


m_language

protected String m_language
The language used byte the script.


m_src

protected String m_src
Source


m_type

protected String m_type
The type of the script


m_for

protected String m_for
For which object the script is dedicated.


m_event

protected String m_event
Which event is catched


m_deferred

protected boolean m_deferred
IF the script is deferred

Constructor Detail

HtmlScript

public HtmlScript(String src)

HtmlScript

public HtmlScript()
Method Detail

outputAttributes

public void outputAttributes(StringBuffer strbuf)
Specified by:
outputAttributes in interface IHtmlAttributeContainer
Overrides:
outputAttributes in class HtmlAttributeContainer

outputAttributes

public void outputAttributes(PrintWriter out)
Deprecated.  

Specified by:
outputAttributes in interface IHtmlAttributeContainer
Overrides:
outputAttributes in class HtmlAttributeContainer

outputAttributes

public void outputAttributes(Writer out)
Specified by:
outputAttributes in interface IHtmlAttributeContainer
Overrides:
outputAttributes in class HtmlAttributeContainer

getUniqueId

public String getUniqueId()
Get the value of m_uniqueId.

Specified by:
getUniqueId in interface IHtmlUniqueObject
Returns:
Value of m_uniqueId.

setUniqueId

public void setUniqueId(String v)
Set the value of m_uniqueId.

Parameters:
v - Value to assign to m_uniqueId.

getUniqueHtmlCode

public void getUniqueHtmlCode(StringBuffer strbuf)
Specified by:
getUniqueHtmlCode in interface IHtmlUniqueObject

getUniqueHtmlCode

public void getUniqueHtmlCode(PrintWriter writer)
Deprecated.  

Specified by:
getUniqueHtmlCode in interface IHtmlUniqueObject
Parameters:
writer -

getUniqueHtmlCode

public void getUniqueHtmlCode(Writer writer)
Specified by:
getUniqueHtmlCode in interface IHtmlUniqueObject

getLanguage

public String getLanguage()
Get the value of m_language.

Returns:
Value of m_language.

setLanguage

public HtmlScript setLanguage(String v)
Set the value of m_language.

Parameters:
v - Value to assign to m_language.

getSrc

public String getSrc()
Get the value of m_src.

Returns:
Value of m_src.

setSrc

public HtmlScript setSrc(String v)
Set the value of m_src.

Parameters:
v - Value to assign to m_src.

getType

public String getType()
Get the value of m_type.

Returns:
Value of m_type.

setType

public HtmlScript setType(String v)
Set the value of m_type.

Parameters:
v - Value to assign to m_type.

getFor

public String getFor()
Get the value of m_for.

Returns:
Value of m_for.

setFor

public HtmlScript setFor(String v)
Set the value of m_for.

Parameters:
v - Value to assign to m_for.

getEvent

public String getEvent()
Get the value of m_event.

Returns:
Value of m_event.

setEvent

public HtmlScript setEvent(String v)
Set the value of m_event.

Parameters:
v - Value to assign to m_event.

getDeferred

public boolean getDeferred()
Get the value of m_deferred.

Returns:
Value of m_deferred.

setDeferred

public HtmlScript setDeferred(boolean v)
Set the value of m_deferred.

Parameters:
v - Value to assign to m_deferred.


Copyright 2006 SAP AG. All rights reserved. No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP AG. The information contained herein may be changed without prior notice. Microsoft, Windows, Outlook, and PowerPoint are registered trademarks of Microsoft Corporation. Oracle is a registered trademark of Oracle Corporation. UNIX, X/Open, OSF/1, and Motif are registered trademarks of the Open Group. Citrix, ICA, Program Neighborhood, MetaFrame, WinFrame, VideoFrame, and MultiWin are trademarks or registered trademarks of Citrix Systems, Inc. HTML, XML, XHTML and W3C are trademarks or registered trademarks of W3C, World Wide Web Consortium, Massachusetts Institute of Technology. Java is a registered trademark of Sun Microsystems, Inc. JavaScript is a registered trademark of Sun Microsystems, Inc., used under license for technology invented and implemented by Netscape. MaxDB is a trademark of MySQL AB, Sweden. SAP, R/3, mySAP, mySAP.com, xApps, xApp, SAP NetWeaver, and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and in several other countries all over the world. All other product and service names mentioned are the trademarks of their respective companies. Data contained in this document serves informational purposes only. National product specifications may vary. These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies ("SAP Group") for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty.