BEA Systems, Inc.


weblogic.html
Class CommentElement

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

public final class CommentElement
extends SinglePartElement

A CommentElement is used to place comments within an HtmlPage. Note that multiple dashes ("------") inside a comment are not recommended, since browsers may try to truncate the comment (unless there are an even number of dashes in the interior of the comment) when encountering a set of two dashes ("--"), which signals the end of a comment.

Version:
2.1
Author:
Copyright (c) 1996 by WebLogic, Inc.

Fields inherited from class weblogic.html.HtmlElement
codeset, useObsolete
 
Constructor Summary
CommentElement()
          Deprecated. Constructs an empty CommentElement.
CommentElement(HtmlElement comment)
          Deprecated. Constructs a CommentElement with the specified HtmlElement.
CommentElement(java.lang.String comment)
          Deprecated. Constructs a CommentElement with the specified string.
 
Method Summary
protected  java.lang.String getHtmlCode()
          Deprecated.  
protected  boolean printBody()
          Deprecated.  
protected  boolean printCR()
          Deprecated.  
protected  boolean printEndingTag()
          Deprecated.  
 
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

CommentElement

public CommentElement()
Deprecated. 
Constructs an empty CommentElement.

CommentElement

public CommentElement(java.lang.String comment)
Deprecated. 
Constructs a CommentElement with the specified string.

Parameters:
comment - Comment

CommentElement

public CommentElement(HtmlElement comment)
Deprecated. 
Constructs a CommentElement with the specified HtmlElement.

Parameters:
comment - Comment
Method Detail

getHtmlCode

protected java.lang.String getHtmlCode()
Deprecated. 

Overrides:
getHtmlCode in class ElementWithAttributes

printEndingTag

protected boolean printEndingTag()
Deprecated. 

Overrides:
printEndingTag in class ElementWithAttributes

printBody

protected boolean printBody()
Deprecated. 

Overrides:
printBody in class ElementWithAttributes

printCR

protected boolean printCR()
Deprecated. 

Overrides:
printCR in class ElementWithAttributes

Documentation is available at
http://download.oracle.com/docs/cd/E13222_01/wls/docs70

Copyright © 2004 BEA Systems, Inc. All Rights Reserved.
WebLogic Server 7.0 API Reference