Options
All
  • Public
  • Public/Protected
  • All
Menu

Class RDFParser

Hierarchy

  • RDFParser

Index

Constructors

constructor

Properties

base

base: undefined | string

bnodes

bnodes: {}

Type declaration

    reify

    reify: boolean

    store

    store: any

    Our triple store reference @private

    why

    why: any

    Static nodeType

    nodeType: { ATTRIBUTE: number; CDATA_SECTION: number; COMMENT: number; DOCUMENT: number; DOCUMENT_FRAGMENT: number; DOCUMENT_TYPE: number; ELEMENT: number; ENTITY: number; ENTITY_REFERENCE: number; NOTATION: number; PROCESSING_INSTRUCTION: number; TEXT: number } = ...

    DOM Level 2 node type magic numbers @final

    member

    RDFParser

    Type declaration

    • ATTRIBUTE: number
    • CDATA_SECTION: number
    • COMMENT: number
    • DOCUMENT: number
    • DOCUMENT_FRAGMENT: number
    • DOCUMENT_TYPE: number
    • ELEMENT: number
    • ENTITY: number
    • ENTITY_REFERENCE: number
    • NOTATION: number
    • PROCESSING_INSTRUCTION: number
    • TEXT: number

    Static ns

    ns: { RDF: string; RDFS: string } = ...

    Standard namespaces that we know how to handle @final

    member

    RDFParser

    Type declaration

    • RDF: string
    • RDFS: string

    Methods

    getAttributeNodeNS

    • getAttributeNodeNS(node: any, uri: any, name: any): any

    parse

    • parse(document: any, base: string, why: any): boolean
    • Build our initial scope frame and parse the DOM into triples

      Parameters

      • document: any

        The DOM to parse

      • base: string

        The base URL to use

      • why: any

        The context to which this resource belongs

      Returns boolean

    parseDOM

    • parseDOM(frame: any): void

    Generated using TypeDoc