eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'XML::PI':

Home

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

Class: PI (in XML)


Inheritance:

   Object
   |
   +--XML::Node
      |
      +--XML::PI

Package:
stx:goodies/xml/vw
Category:
XML-VW-Nodes
Version:
rev: 1.11 date: 2013/07/03 07:04:27
user: stefan
file: PI.st directory: goodies/xml/vw
module: stx stc-classLibrary: vw

Description:


This class represents the XML Processing Instruction element. Processing instructions allow XML documents to contain instructions for applications. The 'name' instance variable represents the target of this processing instruction and is used to identify the application to which this processing instruction is directed.

 XML processing instructions are delimited by the start-tag '<?' and the end-tag '?>'. 

According to the XML 1.0 specification, the target names "XML", "xml" and so on are reserved for standardization


Instance Variables:
	name    <XML.NodeTag>   the target of this processing instruction, used to identify the application to which this processing instruction is directed.
	text            <String>                        the processing instructions themselves


Class protocol:

instance creation
o  name: nm text: aString


Instance protocol:

accessing
o  name

o  text

o  xPath

o  xpathStringData

comparing
o  = anXmlPI

o  hash

initialization
o  name: nm text: aString

printing
o  prettyPrintOn: aStream depth: indent

o  printCanonicalOn: aStream

o  printHTMLOn: aStream

o  printNoIndentOn: aStream endSpacing: endSpacingBlock spacing: spacingBlock

o  printOn: aStream

testing
o  isLike: aNode

o  isProcessingInstruction

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, 14 Nov 2019 19:41:38 GMT