TM::Materialized::LTM - Topic Maps, Parsing of LTM instances.


TM documentation Contained in the TM distribution.

Index


Code Index:

NAME

Top

TM::Materialized::LTM - Topic Maps, Parsing of LTM instances.

SYNOPSIS

Top

  # reading a topic map description from a file/url
  use TM::Materialized::LTM
  $tm = new TM::Materialized::LTM (file => 'mymap.ltm');
  $tm->sync_in();

DESCRIPTION

Top

This package provides parsing functionality for LTM instances. Please see TM::Serializable::LTM for details how well LTM is supported.

INTERFACE

Top

Constructor

The constructor expects a hash as described in TM::Materialized::Stream.

SEE ALSO

Top

TM

AUTHOR INFORMATION

Top

Copyright 200[1-6], Robert Barta <drrho@cpan.org>, All rights reserved.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. http://www.perl.com/perl/misc/Artistic.html


TM documentation Contained in the TM distribution.
package TM::Materialized::LTM;

use TM::Materialized::Stream;
use base qw (TM::Materialized::Stream);

use Class::Trait 'TM::Serializable::LTM';

use Data::Dumper;

sub new {
    my $class   = shift;
    my %options = @_;
    $options{psis} = $TM::PSI::topicmaps; # make sure we have what we need
    return bless $class->SUPER::new (%options), $class;
}

our $VERSION  = '0.3';
our $REVISION = '$Id: LTM.pm,v 1.7 2006/12/29 09:33:42 rho Exp $';

1;

__END__