Get the cache. @return: The I{options} when I{cachingpolicy} = B{0}. @rtype: L{Cache}
(self)
| 100 | return sax.parse(string=content) |
| 101 | |
| 102 | def cache(self): |
| 103 | """ |
| 104 | Get the cache. |
| 105 | @return: The I{options} when I{cachingpolicy} = B{0}. |
| 106 | @rtype: L{Cache} |
| 107 | """ |
| 108 | if self.options.cachingpolicy == 0: |
| 109 | return self.options.cache |
| 110 | else: |
| 111 | return NoCache() |
| 112 | |
| 113 | |
| 114 | class DefinitionsReader(Reader): |