org.apache.jena.riot.system
Class ParserProfileChecker

java.lang.Object
  extended by org.apache.jena.riot.system.ParserProfileBase
      extended by org.apache.jena.riot.system.ParserProfileChecker
All Implemented Interfaces:
ParserProfile

public class ParserProfileChecker
extends ParserProfileBase


Constructor Summary
ParserProfileChecker(Prologue prologue, ErrorHandler errorHandler)
           
ParserProfileChecker(Prologue prologue, ErrorHandler errorHandler, LabelToNode labelMapping)
           
 
Method Summary
 Node createBlankNode(Node scope, String label, long line, long col)
          Create a fresh blank node based on scope and label
 Node createLangLiteral(String lexical, String langTag, long line, long col)
          Create a literal for a string+language
 Quad createQuad(Node graph, Node subject, Node predicate, Node object, long line, long col)
          Create a Quad
 Node createStringLiteral(String lexical, long line, long col)
          Create a literal for a string
 Triple createTriple(Node subject, Node predicate, Node object, long line, long col)
          Create a triple
 Node createTypedLiteral(String lexical, RDFDatatype datatype, long line, long col)
          Create a literal for a string+datatype
 Node createURI(String x, long line, long col)
          Create a URI Node
 org.apache.jena.iri.IRI makeIRI(String uriStr, long line, long col)
           
 String resolveIRI(String uriStr, long line, long col)
           
 
Methods inherited from class org.apache.jena.riot.system.ParserProfileBase
create, createBlankNode, createNodeFromToken, getHandler, getLabelToNode, getPrologue, isStrictMode, setHandler, setLabelToNode, setPrologue, setStrictMode
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParserProfileChecker

public ParserProfileChecker(Prologue prologue,
                            ErrorHandler errorHandler)

ParserProfileChecker

public ParserProfileChecker(Prologue prologue,
                            ErrorHandler errorHandler,
                            LabelToNode labelMapping)
Method Detail

resolveIRI

public String resolveIRI(String uriStr,
                         long line,
                         long col)
Specified by:
resolveIRI in interface ParserProfile
Overrides:
resolveIRI in class ParserProfileBase

makeIRI

public org.apache.jena.iri.IRI makeIRI(String uriStr,
                                       long line,
                                       long col)
Specified by:
makeIRI in interface ParserProfile
Overrides:
makeIRI in class ParserProfileBase

createTriple

public Triple createTriple(Node subject,
                           Node predicate,
                           Node object,
                           long line,
                           long col)
Description copied from interface: ParserProfile
Create a triple

Specified by:
createTriple in interface ParserProfile
Overrides:
createTriple in class ParserProfileBase

createQuad

public Quad createQuad(Node graph,
                       Node subject,
                       Node predicate,
                       Node object,
                       long line,
                       long col)
Description copied from interface: ParserProfile
Create a Quad

Specified by:
createQuad in interface ParserProfile
Overrides:
createQuad in class ParserProfileBase

createURI

public Node createURI(String x,
                      long line,
                      long col)
Description copied from interface: ParserProfile
Create a URI Node

Specified by:
createURI in interface ParserProfile
Overrides:
createURI in class ParserProfileBase

createTypedLiteral

public Node createTypedLiteral(String lexical,
                               RDFDatatype datatype,
                               long line,
                               long col)
Description copied from interface: ParserProfile
Create a literal for a string+datatype

Specified by:
createTypedLiteral in interface ParserProfile
Overrides:
createTypedLiteral in class ParserProfileBase

createLangLiteral

public Node createLangLiteral(String lexical,
                              String langTag,
                              long line,
                              long col)
Description copied from interface: ParserProfile
Create a literal for a string+language

Specified by:
createLangLiteral in interface ParserProfile
Overrides:
createLangLiteral in class ParserProfileBase

createStringLiteral

public Node createStringLiteral(String lexical,
                                long line,
                                long col)
Description copied from interface: ParserProfile
Create a literal for a string

Specified by:
createStringLiteral in interface ParserProfile
Overrides:
createStringLiteral in class ParserProfileBase

createBlankNode

public Node createBlankNode(Node scope,
                            String label,
                            long line,
                            long col)
Description copied from interface: ParserProfile
Create a fresh blank node based on scope and label

Specified by:
createBlankNode in interface ParserProfile
Overrides:
createBlankNode in class ParserProfileBase


Licenced under the Apache License, Version 2.0