E. Choroba > Treex-PML > Treex::PML::Schema::Root

Download:
Treex-PML-2.17.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Module Version: 2.16   Source  

NAME ^

Treex::PML::Schema::Root - implements root PML-schema declaration

INHERITANCE ^

This class inherits from Treex::PML::Schema::Decl.

METHODS ^

See the super-class for the complete list.

$decl->is_root ()

Returns 1.

$decl->get_name ()

Returns the declared PML root-element name.

$decl->get_decl_type ()

Returns the constant PML_ROOT_DECL.

$decl->get_decl_type_str ()

Returns the string 'root'.

$decl->get_content_decl ()

Returns declaration of the content type.

SEE ALSO ^

Treex::PML::Schema::Decl, Treex::PML::Schema, Treex::PML::Instance.

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.

syntax highlighting: