eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'XML::Attribute':

Home

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

Class: Attribute (in XML)


Inheritance:

   Object
   |
   +--XML::Node
      |
      +--XML::Attribute

Package:
stx:goodies/xml/vw
Category:
XML-VW-Nodes
Version:
rev: 1.19 date: 2017/01/03 13:57:41
user: stefan
file: Attribute.st directory: goodies/xml/vw
module: stx stc-classLibrary: vw

Description:


XML elements may have name-value pairs called attributes associated with them. This class instantiates an XML attribute.

Instance Variables:
	name    <XML.Node | XML.NodeTag>        tag name
	value   <Object>                                        tag value


Class protocol:

instance creation
o  name: nm value: val


Instance protocol:

accessing
o  characterData

o  characterDataDo: aBlock
left blank

o  characterDataOnto: aStream

o  expandedName

o  key

o  tag

o  value

o  value: aValue

o  xPath

comparing
o  = anXmlAttribute

o  hash

initialization
o  name: nm value: val

o  tag: aTag

printing
o  prettyPrintColorizedOn: aStream

o  prettyPrintOn: aStream

o  printCanonicalOn: aStream

o  printColorizedOn: aStream

o  printNoIndentOn: aStream endSpacing: endSpacingBlock spacing: spacingBlock

o  printOn: aStream

o  simpleDescription

testing
o  isAttribute

o  isLike: aNode

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; Tue, 19 Nov 2019 06:05:07 GMT