Package intermine :: Module webservice :: Class EchoParser
[hide private]
[frames] | no frames]

Class EchoParser

source code

object --+    
         |    
    Parser --+
             |
            EchoParser

A result parser that echoes its input

Use for parsing situations when you don't actually want to change the data

Instance Methods [hide private]
 
parse(self, data)
Most basic parser - just returns the fed in data structure
source code

Inherited from Parser: __init__

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

parse(self, data)

source code 

Most basic parser - just returns the fed in data structure

Parameters:
  • data - the data from the result set
Overrides: Parser.parse