BEA Systems, Inc.

WebLogic Server 5.1.0 API Reference

weblogic.html
Class SuperscriptElement

java.lang.Object
  |
  +--weblogic.html.HtmlElement
        |
        +--weblogic.html.ElementWithAttributes
              |
              +--weblogic.html.SinglePartElement
                    |
                    +--weblogic.html.SuperscriptElement

public class SuperscriptElement
extends SinglePartElement

A SuperscriptElement object is used to set the superscript attribute for an HtmlElement.

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

Fields inherited from class weblogic.html.HtmlElement
codeset, useObsolete
 
Constructor Summary
SuperscriptElement()
          Constructs a SuperscriptElement.
SuperscriptElement(HtmlElement val)
          Constructs a SuperscriptElement with the specified value.
SuperscriptElement(java.lang.String val)
          Constructs a SuperscriptElement with the specified value.
 
Method Summary
protected  java.lang.String getHtmlCode()
           
 
Methods inherited from class weblogic.html.SinglePartElement
getElement, printBody, printBody, printBody, setElement, setElement, widthAsLiteral
 
Methods inherited from class weblogic.html.ElementWithAttributes
addAttribute, addAttribute, escapeQuotes, getBooleanAttribute, getElementAttribute, getLocalVar, getQuotedAttribute, output, output, output, printBody, printCR, printEndingTag, setBooleanAttribute, setBooleanAttribute, setClass, setDirection, setElementAttribute, setElementAttribute, setElementAttribute, setElementAttribute, setElementAttribute, setId, setLang, setLocalVar, setQuotedAttribute, setStyle
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SuperscriptElement

public SuperscriptElement()
Constructs a SuperscriptElement.

SuperscriptElement

public SuperscriptElement(java.lang.String val)
Constructs a SuperscriptElement with the specified value.

Parameters:
val - String to be superscripted

SuperscriptElement

public SuperscriptElement(HtmlElement val)
Constructs a SuperscriptElement with the specified value.

Parameters:
val - HtmlElement to be superscripted
Method Detail

getHtmlCode

protected java.lang.String getHtmlCode()

Overrides:
getHtmlCode in class ElementWithAttributes

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