| org.openrdf.rio.turtle.TurtleParser org.openrdf.rio.trig.TriGParser
TriGParser | public class TriGParser extends TurtleParser (Code) | | RDF parser for TriG files.
This parser is not thread-safe, therefore its public methods are
synchronized.
This implementation is based on the 2005/06/06 version of the TriG
specification, but implemented as an extension of the Turtle specification of
2006/01/02.
See Also: TurtleParser author: Arjohn Kampman |
Constructor Summary | |
public | TriGParser() Creates a new TriGParser that will use a
ValueFactoryImpl to
create RDF model objects. | public | TriGParser(ValueFactory valueFactory) Creates a new TriGParser that will use the supplied ValueFactory to create
RDF model objects. |
TriGParser | public TriGParser()(Code) | | Creates a new TriGParser that will use a
ValueFactoryImpl to
create RDF model objects.
|
TriGParser | public TriGParser(ValueFactory valueFactory)(Code) | | Creates a new TriGParser that will use the supplied ValueFactory to create
RDF model objects.
Parameters: valueFactory - A ValueFactory. |
Methods inherited from org.openrdf.rio.turtle.TurtleParser | public RDFFormat getRDFFormat()(Code)(Java Doc) public synchronized void parse(InputStream in, String baseURI) throws IOException, RDFParseException, RDFHandlerException(Code)(Java Doc) public synchronized void parse(Reader reader, String baseURI) throws IOException, RDFParseException, RDFHandlerException(Code)(Java Doc) protected void parseBase() throws IOException, RDFParseException, RDFHandlerException(Code)(Java Doc) protected Resource parseCollection() throws IOException, RDFParseException, RDFHandlerException(Code)(Java Doc) protected void parseDirective() throws IOException, RDFParseException, RDFHandlerException(Code)(Java Doc) protected Resource parseImplicitBlank() throws IOException, RDFParseException, RDFHandlerException(Code)(Java Doc) protected String parseLongString() throws IOException, RDFParseException(Code)(Java Doc) protected BNode parseNodeID() throws IOException, RDFParseException(Code)(Java Doc) protected Literal parseNumber() throws IOException, RDFParseException(Code)(Java Doc) protected void parseObject() throws IOException, RDFParseException, RDFHandlerException(Code)(Java Doc) protected void parseObjectList() throws IOException, RDFParseException, RDFHandlerException(Code)(Java Doc) protected URI parsePredicate() throws IOException, RDFParseException(Code)(Java Doc) protected void parsePredicateObjectList() throws IOException, RDFParseException, RDFHandlerException(Code)(Java Doc) protected void parsePrefixID() throws IOException, RDFParseException, RDFHandlerException(Code)(Java Doc) protected Value parseQNameOrBoolean() throws IOException, RDFParseException(Code)(Java Doc) protected Literal parseQuotedLiteral() throws IOException, RDFParseException(Code)(Java Doc) protected String parseQuotedString() throws IOException, RDFParseException(Code)(Java Doc) protected void parseStatement() throws IOException, RDFParseException, RDFHandlerException(Code)(Java Doc) protected String parseString() throws IOException, RDFParseException(Code)(Java Doc) protected void parseSubject() throws IOException, RDFParseException, RDFHandlerException(Code)(Java Doc) protected void parseTriples() throws IOException, RDFParseException, RDFHandlerException(Code)(Java Doc) protected URI parseURI() throws IOException, RDFParseException(Code)(Java Doc) protected Value parseValue() throws IOException, RDFParseException(Code)(Java Doc) protected int peek() throws IOException(Code)(Java Doc) protected int read() throws IOException(Code)(Java Doc) protected void reportError(String msg) throws RDFParseException(Code)(Java Doc) protected void reportFatalError(String msg) throws RDFParseException(Code)(Java Doc) protected void reportFatalError(Exception e) throws RDFParseException(Code)(Java Doc) protected void reportLocation()(Code)(Java Doc) protected void reportStatement(Resource subj, URI pred, Value obj) throws RDFParseException, RDFHandlerException(Code)(Java Doc) protected void reportWarning(String msg)(Code)(Java Doc) protected void skipLine() throws IOException(Code)(Java Doc) protected int skipWSC() throws IOException(Code)(Java Doc) protected void throwEOFException() throws RDFParseException(Code)(Java Doc) protected void unread(int c) throws IOException(Code)(Java Doc) protected void verifyCharacter(int c, String expected) throws RDFParseException(Code)(Java Doc)
|
|
|