Class: RDF::Vocab::CNT

Inherits:
StrictVocabulary show all
Defined in:
vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-7bb82695cd86/lib/rdf/vocab/cnt.rb

Overview

Vocabulary for http://www.w3.org/2011/content#

Representing Content in RDF

Representing Content in RDF as defined by http://www.w3.org/TR/Content-in-RDF/

See Also:

Version:

  • Working Draft 29 April 2011

Instance Attribute Summary collapse

Method Summary

Methods inherited from StrictVocabulary

[], strict?

Methods inherited from RDF::Vocabulary

[], #[], __prefix__, _orig_each, _orig_from_sym, camelize, each, each_statement, enum_for, expand_pname, find, find_term, from_graph, from_sym, imported_from, imports, #initialize, inspect, #inspect, limit_vocabs, list, method_missing, #method_missing, ontology, properties, property, strict?, to_html, to_iri, to_jsonld, #to_s, to_s, to_ttl, #to_uri, to_uri, value_to_html, vocab_map

Constructor Details

This class inherits a constructor from RDF::Vocabulary

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class RDF::Vocabulary

Instance Attribute Details

#bytesRDF::Vocabulary::Term (readonly)

The Base64 encoded byte sequence of the content.



31
32
33
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-7bb82695cd86/lib/rdf/vocab/cnt.rb', line 31

def bytes
  @bytes
end

#characterEncodingRDF::Vocabulary::Term (readonly)

The character encoding used to create a character sequence from a byte sequence or vice versa.



35
36
37
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-7bb82695cd86/lib/rdf/vocab/cnt.rb', line 35

def characterEncoding
  @characterEncoding
end

#charsRDF::Vocabulary::Term (readonly)

The character sequence of the text content.



39
40
41
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-7bb82695cd86/lib/rdf/vocab/cnt.rb', line 39

def chars
  @chars
end

#ContentRDF::Vocabulary::Term (readonly)

The content.



11
12
13
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-7bb82695cd86/lib/rdf/vocab/cnt.rb', line 11

def Content
  @Content
end

#ContentAsBase64RDF::Vocabulary::Term (readonly)

The base64 encoded content (can be used for binary content).



15
16
17
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-7bb82695cd86/lib/rdf/vocab/cnt.rb', line 15

def ContentAsBase64
  @ContentAsBase64
end

#ContentAsTextRDF::Vocabulary::Term (readonly)

The text content (can be used for text content).



19
20
21
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-7bb82695cd86/lib/rdf/vocab/cnt.rb', line 19

def ContentAsText
  @ContentAsText
end

#ContentAsXMLRDF::Vocabulary::Term (readonly)

The XML content (can only be used for XML-wellformed content).



23
24
25
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-7bb82695cd86/lib/rdf/vocab/cnt.rb', line 23

def ContentAsXML
  @ContentAsXML
end

#declaredEncodingRDF::Vocabulary::Term (readonly)

The character encoding declared in the XML declaration.



43
44
45
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-7bb82695cd86/lib/rdf/vocab/cnt.rb', line 43

def declaredEncoding
  @declaredEncoding
end

#DoctypeDeclRDF::Vocabulary::Term (readonly)

The document type declaration.



27
28
29
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-7bb82695cd86/lib/rdf/vocab/cnt.rb', line 27

def DoctypeDecl
  @DoctypeDecl
end

#doctypeNameRDF::Vocabulary::Term (readonly)

The document type name.



47
48
49
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-7bb82695cd86/lib/rdf/vocab/cnt.rb', line 47

def doctypeName
  @doctypeName
end

#dtDeclRDF::Vocabulary::Term (readonly)

The document type declaration.



51
52
53
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-7bb82695cd86/lib/rdf/vocab/cnt.rb', line 51

def dtDecl
  @dtDecl
end

#internalSubsetRDF::Vocabulary::Term (readonly)

The internal document type definition subset within the document type declarations.



55
56
57
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-7bb82695cd86/lib/rdf/vocab/cnt.rb', line 55

def internalSubset
  @internalSubset
end

#leadingMiscRDF::Vocabulary::Term (readonly)

The XML content preceding the document type declaration.



59
60
61
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-7bb82695cd86/lib/rdf/vocab/cnt.rb', line 59

def leadingMisc
  @leadingMisc
end

#publicIdRDF::Vocabulary::Term (readonly)

The document type declarations's public identifier.



63
64
65
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-7bb82695cd86/lib/rdf/vocab/cnt.rb', line 63

def publicId
  @publicId
end

#restRDF::Vocabulary::Term (readonly)

The XML content following the document type declaration.



67
68
69
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-7bb82695cd86/lib/rdf/vocab/cnt.rb', line 67

def rest
  @rest
end

#standaloneRDF::Vocabulary::Term (readonly)

The standalone declaration in the XML declaration.



71
72
73
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-7bb82695cd86/lib/rdf/vocab/cnt.rb', line 71

def standalone
  @standalone
end

#systemIdRDF::Vocabulary::Term (readonly)

The document type declarations's system identifier (typed: xsd:anyURI)



75
76
77
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-7bb82695cd86/lib/rdf/vocab/cnt.rb', line 75

def systemId
  @systemId
end

#versionRDF::Vocabulary::Term (readonly)

The XML version declared in the XML declaration.



79
80
81
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-7bb82695cd86/lib/rdf/vocab/cnt.rb', line 79

def version
  @version
end