Class: Lutaml::Xml::W3c::XmlIdType

Inherits:
Model::Type::String show all
Defined in:
lib/lutaml/xml/w3c.rb

Overview

Type for xml:id attribute

Unique identifier of type ID, independent of DTD/schema. Must be a valid NCName (XML Name without colons) and unique within document.

Examples:

Valid IDs

"elem1"
"section_2"
"figure-A"

See Also:

Constant Summary

Constants inherited from Model::Type::Value

Model::Type::Value::EMPTY_OPTIONS

Instance Attribute Summary

Attributes inherited from Model::Type::Value

#value

Method Summary

Methods inherited from Model::Type::String

cast, default_xsd_type

Methods inherited from Model::Type::Value

cast, format_type_serializer_for, from_format, #initialize, #initialized?, register_format_to_from_methods, register_format_type_serializer, serialize, #to_s

Methods included from Type::Configurable

included

Methods included from Model::Type::UninitializedClassGuard

#cast, #serialize

Constructor Details

This class inherits a constructor from Lutaml::Model::Type::Value