Module: Ldp::Uri

Extended by:
Deprecation
Included in:
Ldp
Defined in:
lib/ldp/uri.rb

Instance Method Summary collapse

Instance Method Details

#basic_containerObject



30
31
32
# File 'lib/ldp/uri.rb', line 30

def basic_container
  RDF::Vocab::LDP.BasicContainer
end

#containerObject



25
26
27
# File 'lib/ldp/uri.rb', line 25

def container
  RDF::Vocab::LDP.Container
end

#containsObject



45
46
47
# File 'lib/ldp/uri.rb', line 45

def contains
  RDF::Vocab::LDP.contains
end

#direct_containerObject



35
36
37
# File 'lib/ldp/uri.rb', line 35

def direct_container
  RDF::Vocab::LDP.DirectContainer
end

#has_member_relationObject



82
83
84
# File 'lib/ldp/uri.rb', line 82

def has_member_relation
  RDF::Vocab::LDP.hasMemberRelation
end

#indirect_containerObject



40
41
42
# File 'lib/ldp/uri.rb', line 40

def indirect_container
  RDF::Vocab::LDP.IndirectContainer
end

#memberObject



87
88
89
# File 'lib/ldp/uri.rb', line 87

def member
  RDF::Vocab::LDP.member
end

#membership_predicateObject



65
66
67
# File 'lib/ldp/uri.rb', line 65

def membership_predicate
  RDF::Vocab::LDP.membershipPredicate
end

#next_pageObject



60
61
62
# File 'lib/ldp/uri.rb', line 60

def next_page
  RDF::Vocab::LDP.nextPage
end

#non_rdf_sourceObject



20
21
22
# File 'lib/ldp/uri.rb', line 20

def non_rdf_source
  RDF::Vocab::LDP.NonRDFSource
end

#pageObject



50
51
52
# File 'lib/ldp/uri.rb', line 50

def page
  RDF::Vocab::LDP.Page
end

#page_ofObject



55
56
57
# File 'lib/ldp/uri.rb', line 55

def page_of
  RDF::Vocab::LDP.pageOf
end

#prefer_containmentObject



78
79
80
# File 'lib/ldp/uri.rb', line 78

def prefer_containment
  RDF::Vocab::LDP.PreferContainment
end

#prefer_empty_containerObject



70
71
72
# File 'lib/ldp/uri.rb', line 70

def prefer_empty_container
  RDF::Vocab::LDP.PreferEmptyContainer
end

#prefer_membershipObject



74
75
76
# File 'lib/ldp/uri.rb', line 74

def prefer_membership
  RDF::Vocab::LDP.PreferMembership
end

#rdf_sourceObject



15
16
17
# File 'lib/ldp/uri.rb', line 15

def rdf_source
  RDF::Vocab::LDP.RDFSource
end

#resourceObject



10
11
12
# File 'lib/ldp/uri.rb', line 10

def resource
  RDF::Vocab::LDP.Resource
end

#uri(str) ⇒ Object



5
6
7
# File 'lib/ldp/uri.rb', line 5

def uri str
  RDF::URI.new("http://www.w3.org/ns/ldp#") + str
end