com.sapportals.portal.prt.util.html
Class HtmlStyle

java.lang.Object
  |
  +--com.sapportals.portal.prt.util.html.HtmlAttributeContainer
        |
        +--com.sapportals.portal.prt.util.html.HtmlBase
              |
              +--com.sapportals.portal.prt.util.html.HtmlContainer
                    |
                    +--com.sapportals.portal.prt.util.html.HtmlStyle
All Implemented Interfaces:
IHtmlAttributeContainer, IHtmlBase, IHtmlOutputable, IHtmlUniqueObject

public class HtmlStyle
extends HtmlContainer
implements IHtmlUniqueObject

HtmlStyle.java Created: Wed Nov 03 09:59:30 1999

Version:
$Revision: #3 $

Inner Class Summary
static class HtmlStyle.StyleType
           
 
Field Summary
protected  java.lang.String m_styleId
          The identifier of the style
protected  HtmlStyle.StyleType m_styleType
          The type of the style.
protected  java.lang.String m_title
          The title of the style.
 
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
HtmlStyle()
           
HtmlStyle(HtmlStyle.StyleType styleType)
           
HtmlStyle(java.lang.String styleId)
           
 
Method Summary
 java.lang.String getStyleId()
          Get the value of m_styleId.
 HtmlStyle.StyleType getStyleType()
          Get the value of m_styleType.
 java.lang.String getTitle()
          Get the value of m_title.
 void getUniqueHtmlCode(java.io.PrintWriter out)
          Deprecated.  
 void getUniqueHtmlCode(java.lang.StringBuffer strbuf)
           
 void getUniqueHtmlCode(java.io.Writer out)
           
 java.lang.String getUniqueId()
           
 void outputAttributes(java.io.PrintWriter out)
          Deprecated.  
 void outputAttributes(java.lang.StringBuffer strbuf)
           
 void outputAttributes(java.io.Writer out)
           
 void setStyleId(java.lang.String v)
          Set the value of m_styleId.
 HtmlStyle setStyleType(HtmlStyle.StyleType v)
          Set the value of m_styleType.
 void setTitle(java.lang.String v)
          Set the value of m_title.
 
Methods inherited from class com.sapportals.portal.prt.util.html.HtmlContainer
addElement, addElement, destroy, 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
 

Field Detail

m_styleType

protected HtmlStyle.StyleType m_styleType
The type of the style.

m_title

protected java.lang.String m_title
The title of the style.

m_styleId

protected java.lang.String m_styleId
The identifier of the style
Constructor Detail

HtmlStyle

public HtmlStyle()

HtmlStyle

public HtmlStyle(java.lang.String styleId)

HtmlStyle

public HtmlStyle(HtmlStyle.StyleType styleType)
Method Detail

outputAttributes

public void outputAttributes(java.lang.StringBuffer strbuf)
Overrides:
outputAttributes in class HtmlAttributeContainer

outputAttributes

public void outputAttributes(java.io.PrintWriter out)
Deprecated.  

Overrides:
outputAttributes in class HtmlAttributeContainer
Following copied from interface: com.sapportals.portal.prt.util.html.IHtmlAttributeContainer
Parameters:
writer -  

outputAttributes

public void outputAttributes(java.io.Writer out)
Overrides:
outputAttributes in class HtmlAttributeContainer

getStyleType

public HtmlStyle.StyleType getStyleType()
Get the value of m_styleType.
Returns:
Value of m_styleType.

setStyleType

public HtmlStyle setStyleType(HtmlStyle.StyleType v)
Set the value of m_styleType.
Parameters:
v - Value to assign to m_styleType.

getTitle

public java.lang.String getTitle()
Get the value of m_title.
Returns:
Value of m_title.

setTitle

public void setTitle(java.lang.String v)
Set the value of m_title.
Parameters:
v - Value to assign to m_title.

getUniqueId

public java.lang.String getUniqueId()
Specified by:
getUniqueId in interface IHtmlUniqueObject

getUniqueHtmlCode

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

getUniqueHtmlCode

public void getUniqueHtmlCode(java.io.PrintWriter out)
Deprecated.  

Specified by:
getUniqueHtmlCode in interface IHtmlUniqueObject
Following copied from interface: com.sapportals.portal.prt.util.html.IHtmlUniqueObject
Parameters:
writer -  

getUniqueHtmlCode

public void getUniqueHtmlCode(java.io.Writer out)
Specified by:
getUniqueHtmlCode in interface IHtmlUniqueObject

getStyleId

public java.lang.String getStyleId()
Get the value of m_styleId.
Returns:
Value of m_styleId.

setStyleId

public void setStyleId(java.lang.String v)
Set the value of m_styleId.
Parameters:
v - Value to assign to m_styleId.