Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 976 Categories, Downloaded 29.869.304 Times

XML::Essex::Event 0.01

  Date Added: August 10, 2010  |  Visits: 589

XML::Essex::Event

Report Broken Link
Printer Friendly Version


Product Homepage
Download (72 downloads)



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)..

Requirements: No special requirements
Platforms: Linux
Keyword: Class Event Event Class Hash Libraries New Programming Sax Type Unknown Used Xml Xmlessexevent
Users rating: 0/10

License: Freeware Size: 43.01 KB
USER REVIEWS
More Reviews or Write Review


XML::ESSEX::EVENT RELATED
Network & Internet  -  Hop 1.6.0
Hop is a new programming language designed for the Web 2.0. Hop is a higher-order language for programming interactive web applications such as web agendas, web galleries, music players, etc. Hop can be viewed as a replacement for traditional...
655.36 KB  
Libraries  -  Class::Struct::FIELDS 1.1
Class::Struct::FIELDS module combine Class::Struct, base and fields. SYNOPSIS (This page documents Class::Struct::FIELDS v.1.1.) use Class::Struct::FIELDS; # declare struct, based on fields, explicit class name: struct (CLASS_NAME => {...
18.43 KB  
Libraries  -  Class::Bits 0.05
Class::Bits is a Perl module with class wrappers around bit vectors. SYNOPSIS package MyClass; use Class::Bits; make_bits( a => 4, # 0..15 b => 1, # 0..1 c => 1, # 0..1 d => 2, # 0..3 e => s4 # -8..7 f => s1 # -1..0 ); package;...
4.1 KB  
Libraries  -  DateTime::Event::Sunrise 0.0501
DateTime::Event::Sunrise is a Perl DateTime extension for computing the sunrise/sunset on a given day. SYNOPSIS use DateTime; use DateTime::Event::Sunrise; my $dt = DateTime->new( year => 2000, month => 6, day => 20, ); my $sunrise =...
12.29 KB  
Libraries  -  Class::StrongSingleton 0.02
Class::StrongSingleton is a stronger and more secure Singleton base class. SYNOPSIS package My::Singleton::Class; use base qw(Class::StrongSingleton); sub new { my ($class, %my_params) = @_; # create our object instance my $instance = {...
6.14 KB  
Libraries  -  Channel 0.3 Beta
Channel is a generic/simple facility with the purpose of making event dispatching and message passing as straightforward to use as data structures: Channel is a template library, with its major components configurable as template parameters:...
5.5 MB  
Libraries  -  Class::Meta::Express 0.04
Class::Meta::Express is a Perl module for concise, expressive creation of Class::Meta classes. Synopsis package My::Contact; use Class::Meta::Express; class { meta contact => ( default_type => string ); has name; has contact => (...
9.22 KB  
Libraries  -  Class::Meta 0.53
Class::Meta is a Perl class automation, introspection, and data validation. SYNOPSIS Generate a class: package MyApp::Thingy; use strict; use Class::Meta; use Class::Meta::Types::String; use Class::Meta::Types::Numeric; BEGIN { #...
61.44 KB  
Libraries  -  Access_user Class 1.92
Access_user Class is an easy to use system for protecting pages and registering users. The main features are user login, user registration, page protection, forgotten password recovery, and email-based account activation. The class is powered by...
36.86 KB  
Libraries  -  Class::Declare::Attributes 0.04
Class::Declare::Attributes is a Perl module with Class::Declare method types using Perl attributes. SYNOPSIS package My::Class; use 5.006; use strict; use warnings; use base qw( Class::Declare::Attributes ); # declare the...
21.5 KB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  FLEX-db Digital Asset Manager 3.0.9
FLEX-db - an enterprise Digital Asset Manager (DAM). It ingests and links metadata with files, creates thumbnails, and processes files using business rules. FLEX-db has a JSP client, Java app server for file input and output and an EJB metadata...
21.57 MB  
Programming  -  Libicom 0.9.0
The libicom library is a character based dynamicly linked library for Linux. It is used to remotely control the Icom IC-R8500 wide band receiver via an RS232 link. All call and return parameters to the control functions are character string based....
20.48 KB  
Programming  -  dotdesktop 0.3
Dotdesktop library provides ability to parse desktop entry file and access the information in a convenient way. Desktop entry file format is defined by freedesktop.org, it is used to describe information about an application such as the name and...
327.68 KB  
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  libyasl 0.2
Libyasl is a C++ class library to easily realize TCP/UDP/Multicast clientsand servers in IPv4 and IPv6 environments under GNU/Linux systems.
143.36 KB  
Libraries  -  wolfSSL 3.11.0
The wolfSSL embedded SSL/TLS library is a lightweight SSL library written in ANSI standard C and targeted for embedded and RTOS environments - primarily because of its small size, speed, and feature set. It is commonly used in standard operating...
2.73 MB  
Libraries  -  EuGTK 4.8.9
Makes it easy to develop good- looking, fast, cross-platform programs that run on Linux, OS X, and Windows. Euphoria is a very fast interpreted/compiled language with straight-forward syntax. EuGTK allows programming in a clean, object-oriented...
10.68 MB  
Libraries  -  Linux User Group Library Manager 1.0
The LUG Library Manager is a project to help Linux User Groups start their own library. A LUG library is helpful to the community at large because it increases access to information, and gives everyone the opportunity to become more knowledgeable.
5.35 KB  
Libraries  -  Module::MakefilePL::Parse 0.12
Module::MakefilePL::Parse is a Perl module to parse required modules from Makefile.PL. SYNOPSIS use Module::MakefilePL::Parse; open $fh, Makefile.PL; $parser = Module::MakefilePL::Parse->new( join("", ) ); $info = $parser->required;...
8.19 KB  
Libraries  -  sqlpp 0.06
sqlpp Perl package is a SQL preprocessor. sqlpp is a conventional cpp-alike preprocessor taught to understand SQL ( PgSQL, in particular) syntax specificities. In addition to the standard #define/#ifdef/#else/#endif cohort, provides also...
10.24 KB