BEA Systems, Inc.

WebLogic Server 5.1.0 API Reference

weblogic.html
Class ParamElement

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

public class ParamElement
extends SinglePartElement

A ParamElement is used to set applet parameters for an AppletElement. Add ParamElements to an AppletElement with the AppletElement.addElement() methods. Note that parsing of parameter names is case-sensitive.

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

Fields inherited from class weblogic.html.HtmlElement
codeset, useObsolete
 
Constructor Summary
ParamElement(java.lang.String name)
          Constructs a ParamElement with the specified parameter name.
ParamElement(java.lang.String name, java.lang.String value)
          Constructs a ParamElement with the specified name and value pair.
 
Method Summary
protected  java.lang.String getHtmlCode()
           
protected  boolean printBody()
           
protected  boolean printCR()
           
protected  boolean printEndingTag()
           
 ParamElement setName(java.lang.String val)
          Sets the NAME attribute of a ParamElement.
 ParamElement setValue(java.lang.String val)
          Sets the VALUE attribute of a ParamElement.
 
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, 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

ParamElement

public ParamElement(java.lang.String name)
Constructs a ParamElement with the specified parameter name.

Parameters:
name - Param name

ParamElement

public ParamElement(java.lang.String name,
                    java.lang.String value)
Constructs a ParamElement with the specified name and value pair.

Parameters:
name - Param name
value - Param value
Method Detail

getHtmlCode

protected java.lang.String getHtmlCode()

Overrides:
getHtmlCode in class ElementWithAttributes

printEndingTag

protected boolean printEndingTag()

Overrides:
printEndingTag in class ElementWithAttributes

printBody

protected boolean printBody()

Overrides:
printBody in class ElementWithAttributes

printCR

protected boolean printCR()

Overrides:
printCR in class ElementWithAttributes

setName

public ParamElement setName(java.lang.String val)
Sets the NAME attribute of a ParamElement.

Parameters:
val - Param name
Returns:
ParamElement object

setValue

public ParamElement setValue(java.lang.String val)
Sets the VALUE attribute of a ParamElement.

Parameters:
val - Param value
Returns:
ParamElement object

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