BEA Systems, Inc.

WebLogic Server 5.1.0 API Reference

weblogic.html
Class BlockquoteElement

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

public class BlockquoteElement
extends SinglePartElement

A BlockquoteElement is used for quotes or citations that appear in an indented block in a document. It is a text rendering element. Use a BlockquoteElement as the argument for any of the HtmlContainer.addElement() methods. You can also set an element by using the HtmlElement.asBlockquoteElement() method.

Author:
Copyright (c) 1996-97 by WebLogic, Inc. All RightsReserved
Copyright © 2000 BEA Systems, Inc. All Rights Reserved.
See Also:
HtmlElement.asBlockquoteElement(), QElement

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

BlockquoteElement

public BlockquoteElement()
Constructs an empty BlockquoteElement.

BlockquoteElement

public BlockquoteElement(java.lang.String contents)
Constructs a BlockquoteElement with the specified string.

Parameters:
val - String that is the blockquote

BlockquoteElement

public BlockquoteElement(HtmlElement contents)
Constructs a BlockquoteElement with the specified HtmlElement.

Parameters:
val - HtmlElement that is the blockquote
Method Detail

getHtmlCode

protected java.lang.String getHtmlCode()

Overrides:
getHtmlCode in class ElementWithAttributes

printCR

protected boolean printCR()

Overrides:
printCR in class ElementWithAttributes

printEndingTag

protected boolean printEndingTag()

Overrides:
printEndingTag in class ElementWithAttributes

printBody

protected boolean printBody()

Overrides:
printBody in class ElementWithAttributes

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