Treex::PML::Schema::Seq - implements declaration of a sequence.
This class inherits from Treex::PML::Schema::Decl.
See the super-class for the complete list.
Returns the constant PML_SEQUENCE_DECL.
Returns the string 'sequence'.
Return 1 if the sequence allows text content, otherwise return 0.
Returns 0.
Returns undef.
Return content pattern associated with the declaration (if any). Content pattern specifies possible ordering and occurences of elements in DTD-like content-model grammar.
Return a list of element declarations (Treex::PML::Schema::Element).
Treex::PML::Schema::Element
Return a list of names of elements declared for the sequence.
Return the declaration of the element with a given name.
Lookup and return those element declarations whose content declaration is decl.
Lookup and return those element declarations whose content is specified via a reference to the named type with a given name.
Lookup and return declarations of all elements with a given role.
Treex::PML::Schema::Decl, Treex::PML::Schema, Treex::PML::Schema::Element, Treex::PML::Seq.
Copyright (C) 2008-2010 by Petr Pajas, 2010-2024 Jan Stepanek
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.
None reported... yet.
To install Treex::PML, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Treex::PML
CPAN shell
perl -MCPAN -e shell install Treex::PML
For more information on module installation, please visit the detailed CPAN module installation guide.