0
|
1 |
"{ Package: 'stx:goodies/xmlsuite/xpath' }"
|
|
2 |
|
|
3 |
"{ NameSpace: XMLv2 }"
|
|
4 |
|
|
5 |
Object subclass:#XPathDocumentProvider
|
|
6 |
instanceVariableNames:''
|
|
7 |
classVariableNames:'Default'
|
|
8 |
poolDictionaries:''
|
|
9 |
category:'XML Suite-XPath-Adaptors'
|
|
10 |
!
|
|
11 |
|
|
12 |
|
|
13 |
!XPathDocumentProvider class methodsFor:'instance creation'!
|
|
14 |
|
|
15 |
default
|
|
16 |
|
|
17 |
"
|
|
18 |
XMLv2::XPathDocumentProvider reset
|
|
19 |
XMLv2::XPathDocumentProvider default
|
|
20 |
"
|
|
21 |
|
|
22 |
Default ifNil:[Default := XPathSimpleDocumentProvider new].
|
|
23 |
^Default.
|
|
24 |
|
|
25 |
"Created: / 05-12-2006 / 14:59:49 / janfrog"
|
|
26 |
! !
|
|
27 |
|
|
28 |
!XPathDocumentProvider class methodsFor:'initialization & release'!
|
|
29 |
|
|
30 |
reset
|
|
31 |
|
|
32 |
"
|
|
33 |
XMLv2::XPathDocumentProvider reset
|
|
34 |
"
|
|
35 |
|
|
36 |
Default := nil
|
|
37 |
! !
|
|
38 |
|
|
39 |
!XPathDocumentProvider methodsFor:'accessing'!
|
|
40 |
|
|
41 |
documentAdaptorsFor: aStringOrURI
|
|
42 |
|
|
43 |
"
|
|
44 |
Returns a document adaptor for document at given URI.
|
|
45 |
@param aStringOrURI
|
|
46 |
"
|
|
47 |
|
|
48 |
^ self subclassResponsibility
|
|
49 |
|
|
50 |
"Created: / 20-09-2007 / 10:32:28 / janfrog"
|
|
51 |
! !
|
|
52 |
|
|
53 |
!XPathDocumentProvider class methodsFor:'documentation'!
|
|
54 |
|
|
55 |
version
|
|
56 |
^ '$Header: /opt/data/cvs/stx/goodies/xmlsuite/xpath/XMLv2__XPathDocumentProvider.st,v 1.6 2007-09-21 11:06:48 vranyj1 Exp $'
|
|
57 |
! !
|