E. Choroba

NAME

Treex::PML::Schema::XMLNode - base class for Treex::PML::Schema components

SYNOPSIS

   use Treex::PML::Schema::XMLNode;

DESCRIPTION

A common base class for components of a Treex::PML::Schema object.

METHODS

$self->copy_decl ($decl)

Creates a recursive copy of a given declaration, transfering it to the current schema and parent-node if necessary.

$self->write ({option => value})

This method serializes an object based on XMLNode the class to XML. See Treex::PML::Schema->write for details.

EXPORT

None by default.

SEE ALSO

Treex::PML::Schema, Treex::PML::Schema::Reader

COPYRIGHT AND LICENSE

Copyright (C) 2008-2010 by Petr Pajas

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.2 or, at your option, any later version of Perl 5 you may have available.

BUGS

None reported... yet.