ns

package
v0.0.0-...-9de2c1c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 30, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

GENERATED FILE, DO NOT EDIT. Please refer to: tools/nsgen/templates.go

Index

Constants

This section is empty.

Variables

View Source
var Classes = map[string]*meta.Type{}/* 109 elements not displayed */
View Source
var Namespaces = map[string]*meta.Namespace{
	"http://www.w3.org/1999/02/22-rdf-syntax-ns#": rdf.RDF,
	"http://www.w3.org/2000/01/rdf-schema#":       rdf.RDFS,
	"http://www.w3.org/2002/07/owl#":              owl.OWL,
	"http://www.w3.org/ns/activitystreams#":       as.AS,
	"http://www.w3.org/ns/ldp#":                   ldp.LDP,
	"https://w3id.org/security#":                  sec.SEC,
}

Functions

func Manifest

func Manifest(obj *ld.Object) (entities []ld.Entity)

Manifests concrete, typed Entities from an Object based on its Type() entries. It's worth noting that the Object is not copied; all returned Entities refer to the same underlying Object, and motifications to one will reflect on all of them.

func QuacksLike

func QuacksLike(e ld.Entity, t *meta.Type) bool

Returns whether the entity quacks like a certain type.

func QuacksLikeAny

func QuacksLikeAny(e ld.Entity, ts ...*meta.Type) bool

Returns whether the entity quacks like any of the given types.

Types

This section is empty.

Directories

Path Synopsis
GENERATED FILE, DO NOT EDIT.
GENERATED FILE, DO NOT EDIT.
GENERATED FILE, DO NOT EDIT.
GENERATED FILE, DO NOT EDIT.
GENERATED FILE, DO NOT EDIT.
GENERATED FILE, DO NOT EDIT.
GENERATED FILE, DO NOT EDIT.
GENERATED FILE, DO NOT EDIT.
GENERATED FILE, DO NOT EDIT.
GENERATED FILE, DO NOT EDIT.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL