org.mortbay.html
Class StyleLink
java.lang.Object
org.mortbay.html.Element
org.mortbay.html.Tag
org.mortbay.html.StyleLink
public class StyleLink
- extends Tag
CSS Style LINK.
- Version:
- $Id: StyleLink.java,v 1.3 2004/05/09 20:31:28 gregwilkins Exp $
- Author:
- Greg Wilkins (gregw)
Fields inherited from class org.mortbay.html.Tag |
tag |
Fields inherited from class org.mortbay.html.Element |
ALIGN, attributeMap, BGCOLOR, BOTTOM, CENTER, CLASS, COLOR, HEIGHT, ID, LEFT, MIDDLE, noAttributes, RIGHT, SIZE, STYLE, TOP, VALIGN, WIDTH |
Methods inherited from class org.mortbay.html.Tag |
write |
Methods inherited from class org.mortbay.html.Element |
attribute, attribute, attribute, attributes, attributes, bgColor, bottom, center, color, cssClass, cssID, height, height, height, left, middle, right, setAttributesFrom, size, size, size, style, top, toString, width, width, width, write, write |
REL
public static final String REL
- See Also:
- Constant Field Values
HREF
public static final String HREF
- See Also:
- Constant Field Values
TYPE
public static final String TYPE
- See Also:
- Constant Field Values
MEDIA
public static final String MEDIA
- See Also:
- Constant Field Values
StyleLink
public StyleLink(String href)
- Constructor.
- Parameters:
href
- The URL of the style sheet
StyleLink
public StyleLink(String rel,
String href,
String type,
String media)
- Full Constructor.
- Parameters:
rel
- Style Relationship, default StyleSheet if null.href
- The URL of the style sheettype
- The type, default text/css if nullmedia
- The media, not specified if null