Class UpdateFactory

java.lang.Object
org.apache.jena.update.UpdateFactory

public class UpdateFactory extends Object
  • Constructor Details

    • UpdateFactory

      public UpdateFactory()
  • Method Details

    • create

      public static UpdateRequest create()
      Create an empty UpdateRequest
    • create

      public static UpdateRequest create(String string)
      Create an UpdateRequest by parsing from a string. See also read operations for parsing contents of a file.
      Parameters:
      string - The update request as a string.
    • create

      public static UpdateRequest create(String string, Syntax syntax)
      Create an UpdateRequest by parsing from a string. See also read operations for parsing contents of a file.
      Parameters:
      string - The update request as a string.
      syntax - The update language syntax
    • create

      public static UpdateRequest create(String string, String baseURI)
      Create an UpdateRequest by parsing from a string. See also read operations for parsing contents of a file.
      Parameters:
      string - The update request as a string.
      baseURI - The base URI for resolving relative URIs.
    • create

      public static UpdateRequest create(String string, String baseURI, Syntax syntax)
      Create an UpdateRequest by parsing from a string. See also read operations for parsing contents of a file.
      Parameters:
      string - The update request as a string.
      baseURI - The base URI for resolving relative URIs.
      syntax - The update language syntax
    • parse

      public static void parse(UpdateRequest request, String updateString)
    • parse

      public static void parse(UpdateRequest request, String updateString, Syntax syntax)
    • parse

      public static void parse(UpdateRequest request, String updateString, String baseURI)
    • parse

      public static void parse(UpdateRequest request, String updateString, String baseURI, Syntax syntax)
    • read

      public static UpdateRequest read(UsingList usingList, String fileName)
      Create an UpdateRequest by reading it from a file
    • read

      public static UpdateRequest read(String fileName)
      Create an UpdateRequest by reading it from a file
    • read

      public static UpdateRequest read(String fileName, Syntax syntax)
      Create an UpdateRequest by reading it from a file
    • read

      public static UpdateRequest read(UsingList usingList, String fileName, Syntax syntax)
      Create an UpdateRequest by reading it from a file
    • read

      public static UpdateRequest read(String fileName, String baseURI, Syntax syntax)
      Create an UpdateRequest by reading it from a file
    • read

      public static UpdateRequest read(UsingList usingList, String fileName, String baseURI, Syntax syntax)
      Create an UpdateRequest by reading it from a file
    • read

      public static UpdateRequest read(InputStream input)
      Create an UpdateRequest by parsing from an InputStream. See also read operations for parsing contents of a file.
      Parameters:
      input - The source of the update request (must be UTF-8).
    • read

      public static UpdateRequest read(UsingList usingList, InputStream input)
      Create an UpdateRequest by parsing from an InputStream. See also read operations for parsing contents of a file.
      Parameters:
      usingList - The list of externally defined USING statements
      input - The source of the update request (must be UTF-8).
    • read

      public static UpdateRequest read(InputStream input, Syntax syntax)
      Create an UpdateRequest by parsing from an InputStream. See also read operations for parsing contents of a file.
      Parameters:
      input - The source of the update request (must be UTF-8).
      syntax - The update language syntax
    • read

      public static UpdateRequest read(UsingList usingList, InputStream input, Syntax syntax)
      Create an UpdateRequest by parsing from an InputStream. See also read operations for parsing contents of a file.
      Parameters:
      usingList - The list of externally defined USING statements
      input - The source of the update request (must be UTF-8).
      syntax - The update language syntax
    • read

      public static UpdateRequest read(InputStream input, String baseURI)
      Create an UpdateRequest by parsing from an InputStream. See also read operations for parsing contents of a file.
      Parameters:
      input - The source of the update request (must be UTF-8).
      baseURI - The base URI for resolving relative URIs.
    • read

      public static UpdateRequest read(UsingList usingList, InputStream input, String baseURI)
      Create an UpdateRequest by parsing from an InputStream. See also read operations for parsing contents of a file.
      Parameters:
      usingList - The list of externally defined USING statements
      input - The source of the update request (must be UTF-8).
      baseURI - The base URI for resolving relative URIs.
    • read

      public static UpdateRequest read(InputStream input, String baseURI, Syntax syntax)
      Create an UpdateRequest by parsing from an InputStream. See also read operations for parsing contents of a file.
      Parameters:
      input - The source of the update request (must be UTF-8).
      baseURI - The base URI for resolving relative URIs.
      syntax - The update language syntax
    • read

      public static UpdateRequest read(UsingList usingList, InputStream input, String baseURI, Syntax syntax)
      Create an UpdateRequest by parsing from an InputStream. See also read operations for parsing contents of a file.
      Parameters:
      usingList - The list of externally defined USING statements
      input - The source of the update request (must be UTF-8).
      baseURI - The base URI for resolving relative URIs.
      syntax - The update language syntax