org.apache.turbine.util.template
Class HtmlPageAttributes.StyleSheet

java.lang.Object
  extended byorg.apache.turbine.util.template.HtmlPageAttributes.StyleSheet
Enclosing class:
HtmlPageAttributes

public class HtmlPageAttributes.StyleSheet
extends java.lang.Object

Helper class to hold data about a stylesheet


Constructor Summary
HtmlPageAttributes.StyleSheet(java.lang.String url)
          Constructor requiring the URL to be set
 
Method Summary
 java.lang.String getMedia()
          Gets the media for which the stylesheet should be applied.
 java.lang.String getTitle()
          Gets the title of the style sheet
 java.lang.String getType()
          Gets the content type of the style sheet
 java.lang.String getUrl()
           
 void setMedia(java.lang.String media)
          Sets the media for which the stylesheet should be applied.
 void setTitle(java.lang.String title)
          Sets the title of the stylesheet
 void setType(java.lang.String type)
          Sets the content type of the style sheet
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HtmlPageAttributes.StyleSheet

public HtmlPageAttributes.StyleSheet(java.lang.String url)
Constructor requiring the URL to be set

Parameters:
url - URL of the external style sheet
Method Detail

getType

public java.lang.String getType()
Gets the content type of the style sheet

Returns:
content type

setType

public void setType(java.lang.String type)
Sets the content type of the style sheet

Parameters:
type - content type

getUrl

public java.lang.String getUrl()
Returns:
String representation of the URL

getTitle

public java.lang.String getTitle()
Gets the title of the style sheet

Returns:
title

setTitle

public void setTitle(java.lang.String title)
Sets the title of the stylesheet

Parameters:
title -

getMedia

public java.lang.String getMedia()
Gets the media for which the stylesheet should be applied.

Returns:
name of the media

setMedia

public void setMedia(java.lang.String media)
Sets the media for which the stylesheet should be applied.

Parameters:
media - name of the media


Copyright © 2000-2005 Apache Software Foundation. All Rights Reserved.