Treex::PML::Schema::CDATA - implements cdata declaration.
This class inherits from Treex::PML::Schema::Decl.
See the super-class for the complete list.
Returns the constant PML_CDATA_DECL.
Returns the string 'cdata'.
Return identifier of the data format.
Set format to a given format identifier.
If the format-id argument is specified, return 1 if the string
confirms to the given format. If the format-id argument is
omitted, return 1 if the string conforms to the format specified in
the type declaration in the PML schema. Otherwise return 0.
Returns a list of formats for which the current implementation
of validate_object provides a reasonable validator.
Currently all formats defined in the PML Schema specification revision 1.1.2 are supported, namely:
any, anyURI, base64Binary, boolean, byte, date, dateTime, decimal, double, duration, float, gDay, gMonth, gMonthDay, gYear, gYearMonth, hexBinary, ID, IDREF, IDREFS, int, integer, language, long, Name, NCName, negativeInteger, NMTOKEN, NMTOKENS, nonNegativeInteger, nonPositiveInteger, normalizedString, PMLREF, positiveInteger, short, string, time, token, unsignedByte, unsignedInt, unsignedLong, unsignedShort
Treex::PML::Schema::Decl, Treex::PML::Schema. Treex::PML::Schema::Choice, Treex::PML::Schema::Constant.
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.