rdfa

package
v0.0.0-...-09cccfd Latest Latest
Warning

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

Go to latest
Published: May 31, 2025 License: MIT Imports: 23 Imported by: 0

Documentation

Overview

see https://www.w3.org/TR/rdfa-core/

Index

Constants

This section is empty.

Variables

View Source
var InitialContext = iriutil.PrefixMap{}

Functions

This section is empty.

Types

type Decoder

type Decoder struct {
	// contains filtered or unexported fields
}

func NewDecoder

func NewDecoder(doc *encodinghtml.Document, opts ...DecoderOption) (*Decoder, error)

func (*Decoder) Close

func (v *Decoder) Close() error

func (*Decoder) Err

func (v *Decoder) Err() error

func (*Decoder) GetStatement

func (v *Decoder) GetStatement() rdfio.Statement

func (*Decoder) GetTriple

func (v *Decoder) GetTriple() rdf.Triple

func (*Decoder) Next

func (v *Decoder) Next() bool

type DecoderConfig

type DecoderConfig struct {
	// contains filtered or unexported fields
}

func (DecoderConfig) SetBlankNodeStringMapper

func (b DecoderConfig) SetBlankNodeStringMapper(v blanknodeutil.StringMapper) DecoderConfig

func (DecoderConfig) SetDefaultVocabulary

func (b DecoderConfig) SetDefaultVocabulary(v string) DecoderConfig

func (DecoderConfig) SetHtmlProcessingProfile

func (b DecoderConfig) SetHtmlProcessingProfile(v HtmlProcessingProfile) DecoderConfig

type DecoderOption

type DecoderOption interface {
	// contains filtered or unexported methods
}

type DocumentResource

type DocumentResource struct{}

func (*DocumentResource) ContainerResourceString

func (*DocumentResource) ContainerResourceString() string

type HtmlProcessingProfile

type HtmlProcessingProfile int
const (
	UnspecifiedHtmlProcessingProfile HtmlProcessingProfile = 0b0

	DisabledHtmlProcessingProfile HtmlProcessingProfile = 0b1

	ActiveHtmlProcessingProfile HtmlProcessingProfile = 0b10

	XHTML1_RDFa10_HtmlProcessProfile HtmlProcessingProfile = 0b10
	XHTML1_RDFa11_HtmlProcessProfile HtmlProcessingProfile = 0b110
	XHTML5_RDFa11_HtmlProcessProfile HtmlProcessingProfile = 0b1110
)

Jump to

Keyboard shortcuts

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