xpath/XMLv2__XPathAxisDescendant.st
author Patrik Svestka <patrik.svestka@gmail.com>
Wed, 14 Nov 2018 13:13:37 +0100
changeset 306 fb9d45df523b
parent 296 ea3dbc023c80
permissions -rw-r--r--
Issue #239: Fix all Smalltak/X source files to be in unicode (UTF8 without BOM) and prefixed by "{ Encoding: utf8 }" when any unicode character is present - All source *.st files are now Unicode UTF8 without BOM Files are in two groups (fileOut works this way in Smalltalk/X): - containing a unicode character have "{ Encoding: utf8 }" at the header - ASCII only are without the header

"{ Package: 'stx:goodies/xmlsuite/xpath' }"

"{ NameSpace: XMLv2 }"

XPathAxis subclass:#XPathAxisDescendant
	instanceVariableNames:''
	classVariableNames:''
	poolDictionaries:''
	category:'XML Suite-XPath-Axes'
!


!XPathAxisDescendant methodsFor:'filtering'!

createNodeSetFromContext:aContext 

    ^aContext newNodeSetWithAll:
        (aContext documentAdaptor xpathDescendantOf: aContext node)

    "Modified: / 13-10-2006 / 20:43:47 / janfrog"
! !

!XPathAxisDescendant methodsFor:'printing'!

printOn: stream

    stream nextPutAll:'descendant::'

    "Created: / 15-11-2007 / 22:04:40 / janfrog"
! !

!XPathAxisDescendant methodsFor:'testing'!

isXPathAxisDescendant
    ^ true

    "Created: / 16-11-2007 / 09:25:08 / janfrog"
! !

!XPathAxisDescendant methodsFor:'visiting'!

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

    "stub code automatically generated - please change if required"

    ^ aVisitor visitXPathAxisDescendant:self

    "Created: / 17-11-2007 / 15:31:52 / janfrog"
! !

!XPathAxisDescendant class methodsFor:'documentation'!

version
    ^ '$Header: /opt/data/cvs/stx/goodies/xmlsuite/xpath/XMLv2__XPathAxisDescendant.st,v 1.5 2007-11-18 08:57:53 vranyj1 Exp $'
! !