XML::XBEL::node - private methods for XBEL nodes.


XML-XBEL documentation Contained in the XML-XBEL distribution.

Index


Code Index:

NAME

Top

XML::XBEL::node - private methods for XBEL nodes.

SYNOPSIS

Top

 None.

DESCRIPTION

Top

Private methods for XBEL nodes.

VERSION

Top

$Revision: 1.2 $

DATE

Top

$Date: 2004/06/23 04:15:13 $

AUTHOR

Top

Aaron Straup Cope <ascope@cpan.org>

SEE ALSO

Top

<XML::XBEL>

LICENSE

Top

Copyright (c) 2004 Aaron Straup Cope. All Rights Reserved.

This is free software, you may use it and distribute it under the same terms as Perl itself.


XML-XBEL documentation Contained in the XML-XBEL distribution.
use strict;
package XML::XBEL::node;

use base qw (XML::XBEL::base);

# $Id: node.pm,v 1.2 2004/06/23 04:15:13 asc Exp $

sub id {
    my $self = shift;

    return $self->_attribute("id",$_[0]);
}

sub added {
    my $self = shift;

    return $self->_attribute("added",@_);
}

return 1;