Class: RDF::Vocab::CNT

Inherits:
StrictVocabulary
  • Object
show all
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/

See Also:

Version:

  • Working Draft 29 April 2011

Instance Attribute Summary collapse

Instance Attribute Details

#bytesRDF::Vocabulary::Term (readonly)

The Base64 encoded byte sequence of the content.

Returns:

  • (RDF::Vocabulary::Term)


31
32
33
# File '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.

Returns:

  • (RDF::Vocabulary::Term)


35
36
37
# File 'lib/rdf/vocab/cnt.rb', line 35

def characterEncoding
  @characterEncoding
end

#charsRDF::Vocabulary::Term (readonly)

The character sequence of the text content.

Returns:

  • (RDF::Vocabulary::Term)


39
40
41
# File 'lib/rdf/vocab/cnt.rb', line 39

def chars
  @chars
end

#ContentRDF::Vocabulary::Term (readonly)

The content.

Returns:

  • (RDF::Vocabulary::Term)


11
12
13
# File '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).

Returns:

  • (RDF::Vocabulary::Term)


15
16
17
# File 'lib/rdf/vocab/cnt.rb', line 15

def ContentAsBase64
  @ContentAsBase64
end

#ContentAsTextRDF::Vocabulary::Term (readonly)

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

Returns:

  • (RDF::Vocabulary::Term)


19
20
21
# File '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).

Returns:

  • (RDF::Vocabulary::Term)


23
24
25
# File 'lib/rdf/vocab/cnt.rb', line 23

def ContentAsXML
  @ContentAsXML
end

#declaredEncodingRDF::Vocabulary::Term (readonly)

The character encoding declared in the XML declaration.

Returns:

  • (RDF::Vocabulary::Term)


43
44
45
# File 'lib/rdf/vocab/cnt.rb', line 43

def declaredEncoding
  @declaredEncoding
end

#DoctypeDeclRDF::Vocabulary::Term (readonly)

The document type declaration.

Returns:

  • (RDF::Vocabulary::Term)


27
28
29
# File 'lib/rdf/vocab/cnt.rb', line 27

def DoctypeDecl
  @DoctypeDecl
end

#doctypeNameRDF::Vocabulary::Term (readonly)

The document type name.

Returns:

  • (RDF::Vocabulary::Term)


47
48
49
# File 'lib/rdf/vocab/cnt.rb', line 47

def doctypeName
  @doctypeName
end

#dtDeclRDF::Vocabulary::Term (readonly)

The document type declaration.

Returns:

  • (RDF::Vocabulary::Term)


51
52
53
# File '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.

Returns:

  • (RDF::Vocabulary::Term)


55
56
57
# File 'lib/rdf/vocab/cnt.rb', line 55

def internalSubset
  @internalSubset
end

#leadingMiscRDF::Vocabulary::Term (readonly)

The XML content preceding the document type declaration.

Returns:

  • (RDF::Vocabulary::Term)


59
60
61
# File 'lib/rdf/vocab/cnt.rb', line 59

def leadingMisc
  @leadingMisc
end

#publicIdRDF::Vocabulary::Term (readonly)

The document type declarations’s public identifier.

Returns:

  • (RDF::Vocabulary::Term)


63
64
65
# File 'lib/rdf/vocab/cnt.rb', line 63

def publicId
  @publicId
end

#restRDF::Vocabulary::Term (readonly)

The XML content following the document type declaration.

Returns:

  • (RDF::Vocabulary::Term)


67
68
69
# File 'lib/rdf/vocab/cnt.rb', line 67

def rest
  @rest
end

#standaloneRDF::Vocabulary::Term (readonly)

The standalone declaration in the XML declaration.

Returns:

  • (RDF::Vocabulary::Term)


71
72
73
# File '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)

Returns:

  • (RDF::Vocabulary::Term)


75
76
77
# File 'lib/rdf/vocab/cnt.rb', line 75

def systemId
  @systemId
end

#versionRDF::Vocabulary::Term (readonly)

The XML version declared in the XML declaration.

Returns:

  • (RDF::Vocabulary::Term)


79
80
81
# File 'lib/rdf/vocab/cnt.rb', line 79

def version
  @version
end