Class: RDF::Vocab::CNT
- Inherits:
-
StrictVocabulary
- Object
- StrictVocabulary
- RDF::Vocab::CNT
- Defined in:
- lib/rdf/vocab/cnt.rb
Overview
Vocabulary for <www.w3.org/2011/content#>
Representing Content in RDF
Representing Content in RDF as defined by www.w3.org/TR/Content-in-RDF/
Instance Attribute Summary collapse
-
#bytes ⇒ RDF::Vocabulary::Term
readonly
The Base64 encoded byte sequence of the content.
-
#characterEncoding ⇒ RDF::Vocabulary::Term
readonly
The character encoding used to create a character sequence from a byte sequence or vice versa.
-
#chars ⇒ RDF::Vocabulary::Term
readonly
The character sequence of the text content.
-
#Content ⇒ RDF::Vocabulary::Term
readonly
The content.
-
#ContentAsBase64 ⇒ RDF::Vocabulary::Term
readonly
The base64 encoded content (can be used for binary content).
-
#ContentAsText ⇒ RDF::Vocabulary::Term
readonly
The text content (can be used for text content).
-
#ContentAsXML ⇒ RDF::Vocabulary::Term
readonly
The XML content (can only be used for XML-wellformed content).
-
#declaredEncoding ⇒ RDF::Vocabulary::Term
readonly
The character encoding declared in the XML declaration.
-
#DoctypeDecl ⇒ RDF::Vocabulary::Term
readonly
The document type declaration.
-
#doctypeName ⇒ RDF::Vocabulary::Term
readonly
The document type name.
-
#dtDecl ⇒ RDF::Vocabulary::Term
readonly
The document type declaration.
-
#internalSubset ⇒ RDF::Vocabulary::Term
readonly
The internal document type definition subset within the document type declarations.
-
#leadingMisc ⇒ RDF::Vocabulary::Term
readonly
The XML content preceding the document type declaration.
-
#publicId ⇒ RDF::Vocabulary::Term
readonly
The document type declarations’s public identifier.
-
#rest ⇒ RDF::Vocabulary::Term
readonly
The XML content following the document type declaration.
-
#standalone ⇒ RDF::Vocabulary::Term
readonly
The standalone declaration in the XML declaration.
-
#systemId ⇒ RDF::Vocabulary::Term
readonly
The document type declarations’s system identifier (typed: xsd:anyURI).
-
#version ⇒ RDF::Vocabulary::Term
readonly
The XML version declared in the XML declaration.
Instance Attribute Details
#bytes ⇒ RDF::Vocabulary::Term (readonly)
The Base64 encoded byte sequence of the content.
31 32 33 |
# File 'lib/rdf/vocab/cnt.rb', line 31 def bytes @bytes end |
#characterEncoding ⇒ RDF::Vocabulary::Term (readonly)
The character encoding used to create a character sequence from a byte sequence or vice versa.
35 36 37 |
# File 'lib/rdf/vocab/cnt.rb', line 35 def characterEncoding @characterEncoding end |
#chars ⇒ RDF::Vocabulary::Term (readonly)
The character sequence of the text content.
39 40 41 |
# File 'lib/rdf/vocab/cnt.rb', line 39 def chars @chars end |
#Content ⇒ RDF::Vocabulary::Term (readonly)
The content.
11 12 13 |
# File 'lib/rdf/vocab/cnt.rb', line 11 def Content @Content end |
#ContentAsBase64 ⇒ RDF::Vocabulary::Term (readonly)
The base64 encoded content (can be used for binary content).
15 16 17 |
# File 'lib/rdf/vocab/cnt.rb', line 15 def ContentAsBase64 @ContentAsBase64 end |
#ContentAsText ⇒ RDF::Vocabulary::Term (readonly)
The text content (can be used for text content).
19 20 21 |
# File 'lib/rdf/vocab/cnt.rb', line 19 def ContentAsText @ContentAsText end |
#ContentAsXML ⇒ RDF::Vocabulary::Term (readonly)
The XML content (can only be used for XML-wellformed content).
23 24 25 |
# File 'lib/rdf/vocab/cnt.rb', line 23 def ContentAsXML @ContentAsXML end |
#declaredEncoding ⇒ RDF::Vocabulary::Term (readonly)
The character encoding declared in the XML declaration.
43 44 45 |
# File 'lib/rdf/vocab/cnt.rb', line 43 def declaredEncoding @declaredEncoding end |
#DoctypeDecl ⇒ RDF::Vocabulary::Term (readonly)
The document type declaration.
27 28 29 |
# File 'lib/rdf/vocab/cnt.rb', line 27 def DoctypeDecl @DoctypeDecl end |
#doctypeName ⇒ RDF::Vocabulary::Term (readonly)
The document type name.
47 48 49 |
# File 'lib/rdf/vocab/cnt.rb', line 47 def doctypeName @doctypeName end |
#dtDecl ⇒ RDF::Vocabulary::Term (readonly)
The document type declaration.
51 52 53 |
# File 'lib/rdf/vocab/cnt.rb', line 51 def dtDecl @dtDecl end |
#internalSubset ⇒ RDF::Vocabulary::Term (readonly)
The internal document type definition subset within the document type declarations.
55 56 57 |
# File 'lib/rdf/vocab/cnt.rb', line 55 def internalSubset @internalSubset end |
#leadingMisc ⇒ RDF::Vocabulary::Term (readonly)
The XML content preceding the document type declaration.
59 60 61 |
# File 'lib/rdf/vocab/cnt.rb', line 59 def leadingMisc @leadingMisc end |
#publicId ⇒ RDF::Vocabulary::Term (readonly)
The document type declarations’s public identifier.
63 64 65 |
# File 'lib/rdf/vocab/cnt.rb', line 63 def publicId @publicId end |
#rest ⇒ RDF::Vocabulary::Term (readonly)
The XML content following the document type declaration.
67 68 69 |
# File 'lib/rdf/vocab/cnt.rb', line 67 def rest @rest end |
#standalone ⇒ RDF::Vocabulary::Term (readonly)
The standalone declaration in the XML declaration.
71 72 73 |
# File 'lib/rdf/vocab/cnt.rb', line 71 def standalone @standalone end |
#systemId ⇒ RDF::Vocabulary::Term (readonly)
The document type declarations’s system identifier (typed: xsd:anyURI)
75 76 77 |
# File 'lib/rdf/vocab/cnt.rb', line 75 def systemId @systemId end |
#version ⇒ RDF::Vocabulary::Term (readonly)
The XML version declared in the XML declaration.
79 80 81 |
# File 'lib/rdf/vocab/cnt.rb', line 79 def version @version end |