eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'HTML::Paragraph':

Home

everywhere
www.exept.de
for:
[back]

Class: Paragraph (in HTML)


Inheritance:

   Object
   |
   +--HTML::AbstractElement
      |
      +--HTML::AbstractHTMLElement
         |
         +--HTML::Paragraph

Package:
stx:goodies/webServer/htmlTree
Category:
Net-Documents-ModelTree-BlockLevel
Version:
rev: 1.15 date: 2008-01-11 09:03:19
user: cg
file: HTML__Paragraph.st directory: goodies/webServer/htmlTree
module: stx stc-classLibrary: htmlTree

Class protocol:

required protocol
o  tagName


Instance protocol:

queries
o  canHaveChild: anElement

o  mustBeClosed

o  printInlineWithSimpleElements

required-visiting
o  acceptHTMLVisitor: aVisitor
visitor pattern: dispatch me to the visitor

testing
o  isBlockElement

o  isParagraph


Examples:


Create paragraph in document: [exBeginn] |document| document := Document new. document addParagraph:'This is a paragraph.'. document printHtmlString. Create a paragraph:


    |heading|
    heading := Paragraph with:'This is a paragraph.'.
    heading printHtmlString.


ST/X 5.4.6; WebServer 1.618 at exept:8080; Thu, 11 Mar 2010 15:21:57 GMT