Fslib documentation

Table of contents


NAME

ToC

Fslib - compatibility module, use Treex::PML for new projects instead!

DESCRIPTION

ToC

DEPRECATED!

This module is provided for backward compatibility only. Please use Treex::PML instead!

The module defines Fslib and FSFile (almost by importing/deriving from Treex::PML and Treex::PML::Document) and provides the following package aliasing:

    FSNode           => Treex::PML::Node
    FSFormat         => Treex::PML::FSFormat
    FSBackend        => Treex::PML::Backend::FS
    IOBackend        => Treex::PML::IO
    PMLBackend       => Treex::PML::Backend::PML
    PMLSchema        => Treex::PML::Schema
    PMLInstance      => Treex::PML::Instance

    Fslib::Struct    => Treex::PML::Struct
    Fslib::List      => Treex::PML::List
    Fslib::Alt       => Treex::PML::Alt
    Fslib::Seq       => Treex::PML::Seq
    Fslib::Container => Treex::PML::Container
    Fslib::Attribute => Treex::PML::Attribute

To force creation of objects from the old Fslib family of classes (left) rather than from the new Treex::PML family (right) in factory calls, set the environment variable FORCE_FS_CLASSES to 1 or call

	Fslib::Factory->make_default();

PORTING TO Treex::PML

ToC

In order to port code using the old Fslib interfaces to Treex::PML, one has to do the following steps:

SEE ALSO

ToC

Treex::PML

COPYRIGHT AND LICENSE

ToC

BUGS

ToC

None reported... yet.