Class: Pubid::Xsf::Identifiers::Xep
- Inherits:
-
Pubid::Xsf::Identifier
- Object
- Lutaml::Model::Serializable
- Identifier
- Pubid::Xsf::Identifier
- Pubid::Xsf::Identifiers::Xep
- Defined in:
- lib/pubid/xsf/identifiers/xep.rb
Overview
XMPP Extension Protocol — the sole XSF identifier type. Format: "XEP NNNN" (e.g. XEP 0001, XEP 0218).
polymorphic_name auto-derives "pubid:xsf:xep" from the class name,
which is what serializes into the _type tag and drives from_hash
dispatch (see XSF_TYPE_MAP on the base Identifier).
Constant Summary collapse
- TYPED_STAGES =
[ Pubid::Components::TypedStage.new( code: :xep, stage_code: :published, type_code: :xep, abbr: ["XEP"], name: "XMPP Extension Protocol", harmonized_stages: [], ), ].freeze
Constants inherited from Pubid::Xsf::Identifier
Pubid::Xsf::Identifier::PUBLISHER, Pubid::Xsf::Identifier::XSF_TYPE_MAP
Instance Attribute Summary
Attributes inherited from Pubid::Xsf::Identifier
Class Method Summary collapse
Methods inherited from Pubid::Xsf::Identifier
Methods inherited from Identifier
apply_mappings, #base, #base_document, concrete_class_for, #dated_version_of?, #draft_of?, #drop_supplements, #edition_of?, #eql?, #exclude, from_hash, #has_supplement?, #hash, #includes?, #initialize, #matches?, #mr_all_parts, #mr_edition, #mr_languages, #mr_number, #mr_number_with_part, #mr_part, #mr_publisher, #mr_subpart, #mr_supplement_suffix, #mr_type, #mr_year, #new_edition_of?, polymorphic_name, polymorphic_type_map, #related_to?, #render, #resolve_urn_generator, #root, #sibling_of?, #supplement_of?, #to_hash, #to_mr_string, #to_s, #to_slug, #to_supplement_s, #to_urn, #urn_supplement_type, #urn_type_code, #year
Constructor Details
This class inherits a constructor from Pubid::Identifier
Class Method Details
.type ⇒ Object
24 25 26 27 |
# File 'lib/pubid/xsf/identifiers/xep.rb', line 24 def self.type { key: :xep, web: :xep, title: "XMPP Extension Protocol", short: "XEP" } end |