Treex::PML::Schema::Container - implements declaration of a container.
This class inherits from Treex::PML::Schema::Decl, but provides
several methods which make its interface largely compatible with
the Treex::PML::Schema::Struct
class.
See the super-class for the complete list.
Returns the constant PML_CONTAINER_DECL.
Returns the string 'container'.
Return declaration of the content type.
Return a list of the associated attribute declarations
(Treex::PML::Schema::Attribute
).
Return true if the container declares attributes.
Return a list of names of attributes associated with the container.
Return the declaration of the attribute with a given name.
Lookup and return those attribute declarations whose content declaration is decl.
Lookup and return those attribute declarations whose content is specified via a reference to the named type with a given name.
Lookup and return declarations of all members with a given role.
Return declarations of all associated attributes and of the content type.
If name is equal to '#content', return the content type declaration,
otherwise acts like get_attribute_by_name
.
Return a list of all attribute names plus the string '#content'.
Lookup and return those member (attribute or content) declarations whose content declaration is decl.
Lookup and return those member (attribute or content) declarations whose content is specified via a reference to the named type with a given name.
Lookup and return declarations of all members (attribute or content) with a given role.
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.
None reported... yet.