OwlCyberSecurity - MANAGER
Edit File: parser_base.pyc
� �t�ac @ sC d g Z d d l m Z d d l m Z d e f d � � YZ d S( t AbstractWebDAVDocumenti����( t StringIO( t WebDAVElementc B sY e Z d Z e d � � Z e d � � Z d � Z d � Z d � Z d � Z d � Z RS( s WebDAV XML document. c C s t � � d S( N( t NotImplementedError( t clst source( ( s( /opt/cpanel-ccs/txdav/xml/parser_base.pyt fromStream$ s c C s/ t | � } z | j | � SWd | j � Xd S( N( R R t close( R R ( ( s( /opt/cpanel-ccs/txdav/xml/parser_base.pyt fromString( s c C sE t t | � j � t | t � s8 t d | f � � n | | _ d S( s@ root_element must be a WebDAVElement instance. s Not a WebDAVElement: %rN( t superR t __init__t isinstanceR t ValueErrort root_element( t selfR ( ( s( /opt/cpanel-ccs/txdav/xml/parser_base.pyR 0 s c C s | j � S( N( t toxml( R ( ( s( /opt/cpanel-ccs/txdav/xml/parser_base.pyt __str__; s c C s'