Class: RCAP::CAP_1_0::Resource
- Inherits:
-
Base::Resource
- Object
- Base::Resource
- RCAP::CAP_1_0::Resource
- Defined in:
- lib/rcap/cap_1_0/resource.rb
Overview
A Resource object is valid if
-
it has a resource description
Constant Summary
Constant Summary
Constants inherited from Base::Resource
Base::Resource::DIGEST_ELEMENT_NAME, Base::Resource::DIGEST_KEY, Base::Resource::DIGEST_XPATH, Base::Resource::DIGEST_YAML, Base::Resource::MIME_TYPE_ELEMENT_NAME, Base::Resource::MIME_TYPE_KEY, Base::Resource::MIME_TYPE_XPATH, Base::Resource::MIME_TYPE_YAML, Base::Resource::RESOURCE_DESC_ELEMENT_NAME, Base::Resource::RESOURCE_DESC_KEY, Base::Resource::RESOURCE_DESC_XPATH, Base::Resource::RESOURCE_DESC_YAML, Base::Resource::SIZE_ELEMENT_NAME, Base::Resource::SIZE_KEY, Base::Resource::SIZE_XPATH, Base::Resource::SIZE_YAML, Base::Resource::URI_ELEMENT_NAME, Base::Resource::URI_KEY, Base::Resource::URI_XPATH, Base::Resource::URI_YAML, Base::Resource::XML_ELEMENT_NAME, Base::Resource::XPATH
Instance Attribute Summary
Attributes inherited from Base::Resource
#digest, #mime_type, #resource_desc, #size, #uri
Instance Method Summary (collapse)
Methods inherited from Base::Resource
#calculate_hash_and_size, #decoded_deref_uri, from_h, from_xml_element, from_yaml_data, #initialize, #inspect, #size_in_kb, #to_h, #to_s, #to_xml, #to_xml_element, #to_yaml
Constructor Details
This class inherits a constructor from RCAP::Base::Resource