Options
All
  • Public
  • Public/Protected
  • All
Menu

Class RDFaProcessor

Hierarchy

  • RDFaProcessor

Index

Constructors

constructor

Methods

addTriple

  • addTriple(origin: any, subject: any, predicate: any, object: any): void
  • Parameters

    • origin: any
    • subject: any
    • predicate: any
    • object: any

    Returns void

ancestorPath

  • ancestorPath(node: any): string

copyMappings

  • copyMappings(mappings: any): newMappings

copyProperties

  • copyProperties(): void

deriveDateTimeType

  • deriveDateTimeType(value: any): null | string

init

  • init(): void

newBlankNode

  • newBlankNode(): string

newSubjectOrigin

  • newSubjectOrigin(origin: any, subject: any): void

parseCURIE

  • parseCURIE(value: any, prefixes: any, base: any): any
  • Parameters

    • value: any
    • prefixes: any
    • base: any

    Returns any

parseCURIEOrURI

  • parseCURIEOrURI(value: any, prefixes: any, base: any): any
  • Parameters

    • value: any
    • prefixes: any
    • base: any

    Returns any

parsePredicate

  • parsePredicate(value: any, defaultVocabulary: any, terms: any, prefixes: any, base: any, ignoreTerms: any): any
  • Parameters

    • value: any
    • defaultVocabulary: any
    • terms: any
    • prefixes: any
    • base: any
    • ignoreTerms: any

    Returns any

parsePrefixMappings

  • parsePrefixMappings(str: any, target: any): void

parseSafeCURIEOrCURIEOrURI

  • parseSafeCURIEOrCURIEOrURI(value: any, prefixes: any, base: any): any
  • Parameters

    • value: any
    • prefixes: any
    • base: any

    Returns any

parseTermOrCURIEOrAbsURI

  • parseTermOrCURIEOrAbsURI(value: any, defaultVocabulary: any, terms: any, prefixes: any, base: any): any
  • Parameters

    • value: any
    • defaultVocabulary: any
    • terms: any
    • prefixes: any
    • base: any

    Returns any

parseTermOrCURIEOrURI

  • parseTermOrCURIEOrURI(value: any, defaultVocabulary: any, terms: any, prefixes: any, base: any): any
  • Parameters

    • value: any
    • defaultVocabulary: any
    • terms: any
    • prefixes: any
    • base: any

    Returns any

parseURI

  • parseURI(uri: any): any

process

  • process(node: any, options: any): void

push

  • push(parent: any, subject: any): object

resolveAndNormalize

  • resolveAndNormalize(base: any, uri: any): string

setContext

  • setContext(node: any): void

setHTMLContext

  • setHTMLContext(): void

setInitialContext

  • setInitialContext(): void

setXHTMLContext

  • setXHTMLContext(): void

setXMLContext

  • setXMLContext(): void

toRDFNodeObject

  • toRDFNodeObject(x: any): any

tokenize

  • tokenize(str: any): any

trim

  • trim(str: any): any

Static parseRDFaDOM

  • parseRDFaDOM(dom: any, kb: any, base: any): void

Static tokenize

  • tokenize(str: any): any

Static trim

  • trim(str: any): any