@param wsdl: A schema object. @type wsdl: L{wsdl.Definitions} @param ps: The path separator character @type ps: char
(self, wsdl, ps='.')
| 77 | """ |
| 78 | |
| 79 | def __init__(self, wsdl, ps='.'): |
| 80 | """ |
| 81 | @param wsdl: A schema object. |
| 82 | @type wsdl: L{wsdl.Definitions} |
| 83 | @param ps: The path separator character |
| 84 | @type ps: char |
| 85 | """ |
| 86 | Resolver.__init__(self, wsdl.schema) |
| 87 | self.wsdl = wsdl |
| 88 | self.altp = re.compile('({)(.+)(})(.+)') |
| 89 | self.splitp = re.compile(r'({.+})*[^\%s]+' % ps[0]) |
| 90 | |
| 91 | def find(self, path, resolved=True): |
| 92 | """ |