eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'XML::Text':

Home

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

Class: Text (in XML)


Inheritance:

   Object
   |
   +--XML::Node
      |
      +--XML::Text

Package:
stx:goodies/xml/vw
Category:
XML-VW-Nodes
Version:
rev: 1.15 date: 2018/03/15 15:36:47
user: mawalch
file: Text.st directory: goodies/xml/vw
module: stx stc-classLibrary: vw

Description:


This class represents an XML textual object,
i.e. a sequence of legal characters as defined in the XML 1.0 specification
and may represent markup or character data.

Instance Variables:
        text    <CharacterArray | nil>
        stripped        <Boolean>


Class protocol:

instance creation
o  text: aString


Instance protocol:

accessing
o  characterData

o  characterDataDo: aBlock

o  characterDataOnto: str

o  description

o  string

o  strip: aBoolean

o  text

o  text: aText

o  xPath

comparing
o  = anXmlText

o  hash

converting
o  asString

printing
o  prettyPrintOn: aStream depth: indent
(comment from inherited method)
self subclassResponsibility

o  printCanonicalOn: aStream

o  printHTMLOn: aStream

o  printNoIndentOn: aStream endSpacing: endSpacingBlock spacing: spacingBlock

o  printOn: aStream
text size <= 80

testing
o  isBlankText

o  isContent

o  isStripped

o  isText

visiting
o  acceptVisitor: aVisitor
Double dispatch back to the visitor, passing my type encoded in
the selector (visitor pattern)



ST/X 7.2.0.0; WebServer 1.670 at bd0aa1f87cdd.unknown:8081; Thu, 28 Mar 2024 12:46:13 GMT