eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'HTML::Paragraph':

Home

Documentation
www.exept.de
Everywhere
for:
[back]

Class: Paragraph (in HTML)


Inheritance:

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

Package:
stx:goodies/webServer/htmlTree
Category:
Net-Documents-HTML-ModelTree-BlockLevel
Version:
rev: 1.19 date: 2018/04/26 10:30:08
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 in: aParser
(comment from inherited method)
return true, if anotherElement is allowed as my child

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 htmlString. Create a paragraph:
    |heading|
    heading := Paragraph with:'This is a paragraph.'.
    heading htmlString.


ST/X 7.2.0.0; WebServer 1.670 at bd0aa1f87cdd.unknown:8081; Tue, 19 Mar 2024 04:26:48 GMT