xml 
[ doc home ] [ class tree: xml ] [ index: xml ] [ all elements ]

Class: IsterXmlExpatDumper

Source Location: /IsterXmlExpatDumper.php

Class Overview

IsterObject
   |
   --IsterXmlExpat
      |
      --IsterXmlExpatDumper

This class represents an expat parser dumping everything as it is parsed to STDOUT.


Author(s): Ingo Schramm   

Copyright: Copyright (c) 2005 Ister.ORG Ingo Schramm

Methods


Inherited Constants

Inherited Variables

Inherited Methods

Class: IsterXmlExpat

IsterXmlExpat::IsterXmlExpat()
Constructor
IsterXmlExpat::getParser()
IsterXmlExpat::locate()
Get current parser position.
IsterXmlExpat::parse()
Parse the current XML source.
IsterXmlExpat::register()
IsterXmlExpat::setParser()
IsterXmlExpat::setSourceFile()
IsterXmlExpat::setSourceString()

Class: IsterObject

IsterObject::IsterObject()
Constructor
IsterObject::abstractMethodError()
Report attempt to call an abstract method.
IsterObject::addLogger()
Add an IsterLogger to process log messages.
IsterObject::deleteLogger()
Delete an already registered IsterLogger.
IsterObject::getLoggerNames()
Fetch the names of all currently registered IsterLoggers.
IsterObject::getMem()
Return maximum amount of memory an application has allocated at this point.
IsterObject::log()
Trigger a log message.
IsterObject::passPHPmessage()
Catch PHP E_WARNING and E_NOTICE messages.
IsterObject::serialize()
Serialize the object.
IsterObject::setLogLocal()
Set logging local for the current object.
IsterObject::setupLogger()
Setup a logger.
IsterObject::triggerError()
Alias for log();
IsterObject::unserialize()
Unserialize the object.
IsterObject::__sleep()
Executed prior to serialize().
IsterObject::__wakeup()
Executed prior to unserialize().

Class Details

This class represents an expat parser dumping everything as it is parsed to STDOUT.

The parser expects UTF-8 input.


copyright:  Copyright (c) 2005 Ister.ORG Ingo Schramm
author:  Ingo Schramm


[ Top ]


Class Methods


constructor IsterXmlExpatDumper

IsterXmlExpatDumper IsterXmlExpatDumper( [boolean $dump = true], [mixed $options = null])

Constructor

Parameters:

boolean   $dump   whether to dump to STDOUT or not

[ Top ]

method character_data

boolean character_data( resource $parser, string $data)

Parameters:

resource   $parser  
string   $data  

[ Top ]

method default_data

boolean default_data( resource $parser, string $data)

Parameters:

resource   $parser  
string   $data  

[ Top ]

method end_namespace_decl

boolean end_namespace_decl( resource $parser, string $data)

Parameters:

resource   $parser  
string   $data  

[ Top ]

method external_entity_ref

boolean external_entity_ref( resource $parser, string $openentitynames, string $base, string $systemid, string $publicid)

Parameters:

resource   $parser  
string   $openentitynames  
string   $base  
string   $systemid  
string   $publicid  

[ Top ]

method notation_decl

boolean notation_decl( resource $parser, string $notationname, string $base, string $systemid, string $publicid)

Parameters:

resource   $parser  
string   $notationname  
string   $base  
string   $systemid  
string   $publicid  

[ Top ]

method processing_instruction

boolean processing_instruction( resource $parser, string $target, string $data)

Parameters:

resource   $parser  
string   $target  
string   $data  

[ Top ]

method start_namespace_decl

boolean start_namespace_decl( resource $parser, string $id, string $uri)

Parameters:

resource   $parser  
string   $id  
string   $uri  

[ Top ]

method tag_close

boolean tag_close( resource $parser, string $tag)

Parameters:

resource   $parser  
string   $tag  

[ Top ]

method tag_open

boolean tag_open( resource $parser, string $tag, array $attributes)

Parameters:

resource   $parser  
string   $tag  
array   $attributes  

[ Top ]

method unparsed_entity

boolean unparsed_entity( resource $parser, string $entityname, string $base, string $systemid, string $publicid, string $notationname)

Parameters:

resource   $parser  
string   $entityname  
string   $base  
string   $systemid  
string   $publicid  
string   $notationname  

[ Top ]


Documentation generated on Tue, 20 Dec 2005 11:21:37 +0100 by phpDocumentor 1.3.0RC4