XML::Essex::Event 0.01
Sponsored Links
XML::Essex::Event 0.01 Ranking & Summary
File size:
0.042 MB
Platform:
Any Platform
License:
Perl Artistic License
Price:
Downloads:
798
Date added:
2007-08-17
Publisher:
Barrie Slaymaker
XML::Essex::Event 0.01 description
XML::Essex::Event is a base event class, also used for unknown event types. Stringifies as $event->type . "()" to indicate an event that has no natural way to represented in XML, or for ones that havent been handled yet in Essex.
Methods
new
XML::Event->new( a => 1, b => 2 );
XML::Event->new( { a => 1, b => 2 } );
## in a subclass:
sub new {
my $self = shift->SUPER::new( @_ );
...
return $self;
}
A generic constructor.
If a single value is passed in, a reference to it is kept. This must be a HASH for all builtin objects.
If an even number of parameters is passed in, treats them as key => value pairs and creates a HASH around them.
isa
Accepts shorthand; if the objects class starts with "XML::Essex::Event::", the parameter is checked against the string after "XML::Essex::Event::". So a XML::Essex::Event::foo->isa( "foo" ) is true (assuming it really is true; in other words, assuming that its @ISA is set properly).
clone
my $clone = $e->clone;
Does a deep copy of an event. Any events that require a deep copy must overload this to provide it, the default action is to just copy the main HASH.
type
Strips all characters up to the "::" and returns the remainder, so, for the XML::Essex::start_document class, this returns "start_document".
This must return a valid SAX event name, it is used to figure out how to serialize most event objects.
This is overloaded in most classes for speed and to allow subclasses to tweak the behavior of a class and still be reported as the proper type.
generate_SAX
$e->generate_SAX( $handler );
Emits the SAX event(s) necessary to serialize this event object and send them to $handler. $handler will always be defined.
Uses the type method to figure out what to send. Some classes (notably XML::Essex::characters) overload this for various reasons.
Assumes scalar context (which should not cause problems).
Methods
new
XML::Event->new( a => 1, b => 2 );
XML::Event->new( { a => 1, b => 2 } );
## in a subclass:
sub new {
my $self = shift->SUPER::new( @_ );
...
return $self;
}
A generic constructor.
If a single value is passed in, a reference to it is kept. This must be a HASH for all builtin objects.
If an even number of parameters is passed in, treats them as key => value pairs and creates a HASH around them.
isa
Accepts shorthand; if the objects class starts with "XML::Essex::Event::", the parameter is checked against the string after "XML::Essex::Event::". So a XML::Essex::Event::foo->isa( "foo" ) is true (assuming it really is true; in other words, assuming that its @ISA is set properly).
clone
my $clone = $e->clone;
Does a deep copy of an event. Any events that require a deep copy must overload this to provide it, the default action is to just copy the main HASH.
type
Strips all characters up to the "::" and returns the remainder, so, for the XML::Essex::start_document class, this returns "start_document".
This must return a valid SAX event name, it is used to figure out how to serialize most event objects.
This is overloaded in most classes for speed and to allow subclasses to tweak the behavior of a class and still be reported as the proper type.
generate_SAX
$e->generate_SAX( $handler );
Emits the SAX event(s) necessary to serialize this event object and send them to $handler. $handler will always be defined.
Uses the type method to figure out what to send. Some classes (notably XML::Essex::characters) overload this for various reasons.
Assumes scalar context (which should not cause problems).
XML::Essex::Event 0.01 Screenshot
XML::Essex::Event 0.01 Keywords
XML
SAX
Event 0.01
HASH
event types
event class
event
class
used
unknown
types
new
XML::Essex::Event
XMLEssexEvent
XML::Essex::Event 0.01
Libraries
Bookmark XML::Essex::Event 0.01
XML::Essex::Event 0.01 Copyright
WareSeeker periodically updates pricing and software information of XML::Essex::Event 0.01 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of XML::Essex::Event 0.01 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
Featured Software
Want to place your software product here?
Please contact us for consideration.
Contact WareSeeker.com
Related Information
event viewer
current events
eventvibe
event horizon
event coordinator
wsop 2009 main event
classic industries
current event
eventing
the event class for this subscription is in an invalid partition
2009 wsop main event
classified ads
event planning
event classes
event management
formal events
eventful
classmates
Related Software
XML::Generator::Essex is a Perl module that can generate XML with Essex. Free Download
XML::SAX is a simple API for XML. Free Download
XML::SAX2Perl is a Perl module to translate Perl SAX methods to Java/CORBA style methods. Free Download
xmlenc provides a light-weight XML output library for Java. Free Download
Persistent::DBI is an Abstract Persistent Class implemented using a DBI Data Source. Free Download
XML::SAX::Simple is a SAX version of XML::Simple. Free Download
EventCal project is a calendar class that allows events to be managed and output to HTML in daily, weekly, and monthly views. Free Download
XML::SAX::Machine is a Perl module that can manage a collection of SAX processors. Free Download
Latest Software
Popular Software
Favourite Software