#!/usr/bin/env python
#
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
#                             Michael A.G. Aivazis
#                      California Institute of Technology
#                      (C) 1998-2005  All Rights Reserved
#
# <LicenseText>
#
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#


from pyre.xml.Parser import Parser as BaseParser


class Parser(BaseParser):


    def parse(self, stream, parserFactory=None):
        from parser.Document import Document
        return BaseParser.parse(self, stream, Document(stream.name), parserFactory)


    def __init__(self):
        BaseParser.__init__(self)
        return
           

# version
__id__ = "$Id: Parser.py,v 1.1.1.1 2005/03/08 16:13:45 aivazis Exp $"

# End of file 
