Package org.eclipse.rdf4j.query.parser.sparql

## Class SPARQLParser

- java.lang.Object
- - org.eclipse.rdf4j.query.parser.sparql.SPARQLParser

- All Implemented Interfaces:
    `QueryParser`

      public class SPARQLParser
      extends Object
      implements QueryParser

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `SPARQLParser()` |

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `static void` | `main​(String[] args)` |
    `ParsedQuery` | `parseQuery​(String queryStr, String baseURI)` |
    `ParsedUpdate` | `parseUpdate​(String updateStr, String baseURI)` |

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### SPARQLParser

          public SPARQLParser()

  - ### Method Detail

    - #### parseUpdate

          public ParsedUpdate parseUpdate​(String updateStr,
                                          String baseURI)
                                   throws MalformedQueryException

      Specified by:
        `parseUpdate` in interface `QueryParser`
      Throws:
        `MalformedQueryException`

    - #### parseQuery

          public ParsedQuery parseQuery​(String queryStr,
                                        String baseURI)
                                 throws MalformedQueryException

      Specified by:
        `parseQuery` in interface `QueryParser`
      Throws:
        `MalformedQueryException`

    - #### main

          public static void main​(String[] args)
                           throws IOException

      Throws:
        `IOException`