Show
Ignore:
Timestamp:
02/22/08 18:13:10 (7 months ago)
Author:
mikey
Message:

added possiblity to check if a stream writer is finished, i.e it has no open elements left

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/src/main/php/net/stubbles/xml/stubLibXmlXMLStreamWriter.php

    r1301 r1359  
    6262 
    6363    /** 
    64      * Write an opening tag 
     64     * really writes an opening tag 
    6565     * 
    6666     * @param  string  $elementName 
    6767     */ 
    68     public function writeStartElement($elementName) 
     68    protected function doWriteStartElement($elementName) 
    6969    { 
    7070        $this->writer->startElement($elementName); 
     
    134134 
    135135    /** 
    136      * Write an end element 
     136     * really writes an end element 
    137137     */ 
    138     public function writeEndElement() 
     138    protected function doWriteEndElement() 
    139139    { 
    140140        $this->writer->endElement();