Class: RDF::Vocab::PTR

Inherits:
StrictVocabulary
  • Object
show all
Defined in:
lib/rdf/vocab/ptr.rb

Overview

Vocabulary for <www.w3.org/2009/pointers#>

Instance Attribute Summary collapse

Instance Attribute Details

#byteOffsetRDF::Vocabulary::Term (readonly)

Number of bytes counting from the start point.

Returns:

  • (RDF::Vocabulary::Term)


86
87
88
# File 'lib/rdf/vocab/ptr.rb', line 86

def byteOffset
  @byteOffset
end

#ByteOffsetCompoundPointerRDF::Vocabulary::Term (readonly)

Pointer to a byte range with a defined start and a byte offset from there.

Returns:

  • (RDF::Vocabulary::Term)


6
7
8
# File 'lib/rdf/vocab/ptr.rb', line 6

def ByteOffsetCompoundPointer
  @ByteOffsetCompoundPointer
end

#ByteOffsetPointerRDF::Vocabulary::Term (readonly)

Single pointer using a byte offset from the start of the reference.

Returns:

  • (RDF::Vocabulary::Term)


10
11
12
# File 'lib/rdf/vocab/ptr.rb', line 10

def ByteOffsetPointer
  @ByteOffsetPointer
end

#ByteSnippetCompoundPointerRDF::Vocabulary::Term (readonly)

Pointer to a range with a defined start and a byte snippet from there.

Returns:

  • (RDF::Vocabulary::Term)


14
15
16
# File 'lib/rdf/vocab/ptr.rb', line 14

def ByteSnippetCompoundPointer
  @ByteSnippetCompoundPointer
end

#charNumberRDF::Vocabulary::Term (readonly)

Char number within a line starting at one.

Returns:

  • (RDF::Vocabulary::Term)


90
91
92
# File 'lib/rdf/vocab/ptr.rb', line 90

def charNumber
  @charNumber
end

#charOffsetRDF::Vocabulary::Term (readonly)

Number of characters counting from the start point.

Returns:

  • (RDF::Vocabulary::Term)


94
95
96
# File 'lib/rdf/vocab/ptr.rb', line 94

def charOffset
  @charOffset
end

#CharOffsetCompoundPointerRDF::Vocabulary::Term (readonly)

Pointer to a char range with a defined start and a char offset from there.

Returns:

  • (RDF::Vocabulary::Term)


22
23
24
# File 'lib/rdf/vocab/ptr.rb', line 22

def CharOffsetCompoundPointer
  @CharOffsetCompoundPointer
end

#CharOffsetPointerRDF::Vocabulary::Term (readonly)

Single pointer using a character offset from the start of the reference.

Returns:

  • (RDF::Vocabulary::Term)


26
27
28
# File 'lib/rdf/vocab/ptr.rb', line 26

def CharOffsetPointer
  @CharOffsetPointer
end

#CharSnippetCompoundPointerRDF::Vocabulary::Term (readonly)

Pointer to a range with a defined start and a character snippet from there.

Returns:

  • (RDF::Vocabulary::Term)


30
31
32
# File 'lib/rdf/vocab/ptr.rb', line 30

def CharSnippetCompoundPointer
  @CharSnippetCompoundPointer
end

#CompoundPointerRDF::Vocabulary::Term (readonly)

An abstract method made of a pair of pointers to a defined section to be subclassed for extensibility.

Returns:

  • (RDF::Vocabulary::Term)


34
35
36
# File 'lib/rdf/vocab/ptr.rb', line 34

def CompoundPointer
  @CompoundPointer
end

#CSSSelectorPointerRDF::Vocabulary::Term (readonly)

Single pointer using a CSS selector.

Returns:

  • (RDF::Vocabulary::Term)


18
19
20
# File 'lib/rdf/vocab/ptr.rb', line 18

def CSSSelectorPointer
  @CSSSelectorPointer
end

#endPointerRDF::Vocabulary::Term (readonly)

Pointer to the end point of the range.

Returns:

  • (RDF::Vocabulary::Term)


98
99
100
# File 'lib/rdf/vocab/ptr.rb', line 98

def endPointer
  @endPointer
end

#EquivalentPointersRDF::Vocabulary::Term (readonly)

Group of equivalent pointers that point to the same places.

Returns:

  • (RDF::Vocabulary::Term)


38
39
40
# File 'lib/rdf/vocab/ptr.rb', line 38

def EquivalentPointers
  @EquivalentPointers
end

#expressionRDF::Vocabulary::Term (readonly)

Expressions, such as xPath or CSS selectors, that identify points.

Returns:

  • (RDF::Vocabulary::Term)


102
103
104
# File 'lib/rdf/vocab/ptr.rb', line 102

def expression
  @expression
end

#ExpressionPointerRDF::Vocabulary::Term (readonly)

Generic single pointer that make use of an expression language such as xPath, CSS selectors, etc.

Returns:

  • (RDF::Vocabulary::Term)


42
43
44
# File 'lib/rdf/vocab/ptr.rb', line 42

def ExpressionPointer
  @ExpressionPointer
end

#groupPointerRDF::Vocabulary::Term (readonly)

A Pointer that is part of a Group

Returns:

  • (RDF::Vocabulary::Term)


106
107
108
# File 'lib/rdf/vocab/ptr.rb', line 106

def groupPointer
  @groupPointer
end

#LineCharPointerRDF::Vocabulary::Term (readonly)

Single pointer using line and char numbers.

Returns:

  • (RDF::Vocabulary::Term)


46
47
48
# File 'lib/rdf/vocab/ptr.rb', line 46

def LineCharPointer
  @LineCharPointer
end

#lineNumberRDF::Vocabulary::Term (readonly)

Line number within the reference starting at one.

Returns:

  • (RDF::Vocabulary::Term)


110
111
112
# File 'lib/rdf/vocab/ptr.rb', line 110

def lineNumber
  @lineNumber
end

#namespaceRDF::Vocabulary::Term (readonly)

The namespace being used for the XPath expression.

Returns:

  • (RDF::Vocabulary::Term)


114
115
116
# File 'lib/rdf/vocab/ptr.rb', line 114

def namespace
  @namespace
end

#namespaceNameRDF::Vocabulary::Term (readonly)

The namespace name being used for an XML Namespace.

Returns:

  • (RDF::Vocabulary::Term)


118
119
120
# File 'lib/rdf/vocab/ptr.rb', line 118

def namespaceName
  @namespaceName
end

#offsetRDF::Vocabulary::Term (readonly)

Offset from the start of the reference.

Returns:

  • (RDF::Vocabulary::Term)


122
123
124
# File 'lib/rdf/vocab/ptr.rb', line 122

def offset
  @offset
end

#OffsetPointerRDF::Vocabulary::Term (readonly)

Generic single pointer based on an offset.

Returns:

  • (RDF::Vocabulary::Term)


50
51
52
# File 'lib/rdf/vocab/ptr.rb', line 50

def OffsetPointer
  @OffsetPointer
end

#PointerRDF::Vocabulary::Term (readonly)

Abstract Pointer to be subclassed for extensibility.

Returns:

  • (RDF::Vocabulary::Term)


54
55
56
# File 'lib/rdf/vocab/ptr.rb', line 54

def Pointer
  @Pointer
end

#PointersGroupRDF::Vocabulary::Term (readonly)

Generic container for a group of Pointers

Returns:

  • (RDF::Vocabulary::Term)


58
59
60
# File 'lib/rdf/vocab/ptr.rb', line 58

def PointersGroup
  @PointersGroup
end

#prefixRDF::Vocabulary::Term (readonly)

The namespace prefix being used for an XML Namespace.

Returns:

  • (RDF::Vocabulary::Term)


126
127
128
# File 'lib/rdf/vocab/ptr.rb', line 126

def prefix
  @prefix
end

#referenceRDF::Vocabulary::Term (readonly)

Scope within which a single pointer operates.

Returns:

  • (RDF::Vocabulary::Term)


130
131
132
# File 'lib/rdf/vocab/ptr.rb', line 130

def reference
  @reference
end

#RelatedPointersRDF::Vocabulary::Term (readonly)

Group of related pointers you use together for some purpose.

Returns:

  • (RDF::Vocabulary::Term)


62
63
64
# File 'lib/rdf/vocab/ptr.rb', line 62

def RelatedPointers
  @RelatedPointers
end

#SinglePointerRDF::Vocabulary::Term (readonly)

Abstract pointer to a single point to be subclassed for extensibility.

Returns:

  • (RDF::Vocabulary::Term)


66
67
68
# File 'lib/rdf/vocab/ptr.rb', line 66

def SinglePointer
  @SinglePointer
end

#StartEndPointerRDF::Vocabulary::Term (readonly)

Compound pointer to a range with a start and an end point.

Returns:

  • (RDF::Vocabulary::Term)


70
71
72
# File 'lib/rdf/vocab/ptr.rb', line 70

def StartEndPointer
  @StartEndPointer
end

#startPointerRDF::Vocabulary::Term (readonly)

Pointer to the start point of the range in a compound pointer.

Returns:

  • (RDF::Vocabulary::Term)


134
135
136
# File 'lib/rdf/vocab/ptr.rb', line 134

def startPointer
  @startPointer
end

#versionRDF::Vocabulary::Term (readonly)

Version for the expression language being used.

Returns:

  • (RDF::Vocabulary::Term)


138
139
140
# File 'lib/rdf/vocab/ptr.rb', line 138

def version
  @version
end

#XMLNamespaceRDF::Vocabulary::Term (readonly)

An XML Namespace.

Returns:

  • (RDF::Vocabulary::Term)


74
75
76
# File 'lib/rdf/vocab/ptr.rb', line 74

def XMLNamespace
  @XMLNamespace
end

#XPathPointerRDF::Vocabulary::Term (readonly)

Single pointer using an XPath expression.

Returns:

  • (RDF::Vocabulary::Term)


78
79
80
# File 'lib/rdf/vocab/ptr.rb', line 78

def XPathPointer
  @XPathPointer
end

#XPointerPointerRDF::Vocabulary::Term (readonly)

Single pointer using an XPointer expression.

Returns:

  • (RDF::Vocabulary::Term)


82
83
84
# File 'lib/rdf/vocab/ptr.rb', line 82

def XPointerPointer
  @XPointerPointer
end