BEA Systems, Inc.

WebLogic Server 5.1.0 API Reference

weblogic.html
Class MediaType

java.lang.Object
  |
  +--weblogic.html.HtmlElement
        |
        +--weblogic.html.MarkupElement
              |
              +--weblogic.html.MediaType

public class MediaType
extends MarkupElement

The MediaType class identifies media types for use with the StyleElement.

Style sheets conform to HTML 4.0 and may not be supported in all browsers.

Author:
Copyright (c) 1995-96, WebLogic, Inc.
Copyright © 2000 BEA Systems, Inc. All Rights Reserved.
See Also:
StyleElement

Field Summary
static MediaType all
          Sets the type to "all."
static MediaType braille
          Sets the type to "braille."
static MediaType print
          Sets the type to "print."
static MediaType projection
          Sets the type to "projection."
static MediaType screen
          Sets the type to "screen."
static MediaType speech
          Sets the type to "speech."
 
Fields inherited from class weblogic.html.MarkupElement
BeginAddress, BeginAddressStr, BeginBlockquote, BeginBlockquoteStr, BeginBody, BeginBodyStr, BeginBold, BeginBoldStr, BeginCenter, BeginCenterStr, BeginComment, BeginCommentStr, BeginDiv, BeginDivStr, BeginHeadStr, BeginHtml, BeginHtmlStr, BeginItalic, BeginItalicStr, BeginLiteral, BeginLiteralStr, BeginParagraph, BeginParagraphStr, BeginScriptStr, BeginTitle, BeginTitleStr, Break, BreakStr, contents, CR, CRStr, EndAddress, EndAddressStr, EndBlockquote, EndBlockquoteStr, EndBody, EndBodyStr, EndBold, EndBoldStr, EndCenter, EndCenterStr, EndComment, EndCommentStr, EndDiv, EndDivStr, EndFont, EndFontStr, EndHeadStr, EndHtml, EndHtmlStr, EndItalic, EndItalicStr, EndLiteral, EndLiteralStr, EndParagraph, EndParagraphStr, EndScriptStr, EndTitle, EndTitleStr, HorizontalLine, HorizontalLineStr, HorizontalRule, NoBreak, NoBreakStr, WordBreak, WordBreakStr
 
Fields inherited from class weblogic.html.HtmlElement
codeset, useObsolete
 
Constructor Summary
MediaType(java.lang.String type)
           
 
Methods inherited from class weblogic.html.MarkupElement
BeginFont, BeginFontFace, BeginFontSize, BeginHeader, EndHeader, output, output, output, setContents
 
Methods inherited from class weblogic.html.HtmlElement
asAnchorElement, asBigElement, asBlockquoteElement, asBoldElement, asCenteredElement, asCiteElement, asCodeElement, asCommentElement, asDefineTermElement, asEmphasisElement, asFontElement, asFontElement, asFontElement, asHtmlContainer, asItalicElement, asKeyboardElement, asLiteralElement, asParagraphElement, asSampleElement, asSmallElement, asStrikeElement, asStrongElement, asSubscriptElement, asSuperscriptElement, asTeletypeElement, asUnderlineElement, asVariableElement, getVersion, setAnchorMode, setCodeset, toString, toString, widthAsLiteral
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

all

public static MediaType all
Sets the type to "all."

braille

public static MediaType braille
Sets the type to "braille."

print

public static MediaType print
Sets the type to "print."

projection

public static MediaType projection
Sets the type to "projection."

screen

public static MediaType screen
Sets the type to "screen."

speech

public static MediaType speech
Sets the type to "speech."
Constructor Detail

MediaType

public MediaType(java.lang.String type)

Documentation is available at
http://www.weblogic.com/docs51