public class UpdateFactory extends Object
Constructor and Description |
---|
UpdateFactory() |
Modifier and Type | Method and Description |
---|---|
static UpdateRequest |
create()
Create an empty UpdateRequest
|
static UpdateRequest |
create(String string)
Create an UpdateRequest by parsing from a string.
|
static UpdateRequest |
create(String string,
String baseURI)
Create an UpdateRequest by parsing from a string.
|
static UpdateRequest |
create(String string,
String baseURI,
Syntax syntax)
Create an UpdateRequest by parsing from a string.
|
static UpdateRequest |
create(String string,
Syntax syntax)
Create an UpdateRequest by parsing from a string.
|
static void |
parse(UpdateRequest request,
String updateString) |
static void |
parse(UpdateRequest request,
String updateString,
String baseURI) |
static void |
parse(UpdateRequest request,
String updateString,
String baseURI,
Syntax syntax) |
static void |
parse(UpdateRequest request,
String updateString,
Syntax syntax) |
static UpdateRequest |
read(InputStream input)
Create an UpdateRequest by parsing from an InputStream.
|
static UpdateRequest |
read(InputStream input,
String baseURI)
Create an UpdateRequest by parsing from an InputStream.
|
static UpdateRequest |
read(InputStream input,
String baseURI,
Syntax syntax)
Create an UpdateRequest by parsing from an InputStream.
|
static UpdateRequest |
read(InputStream input,
Syntax syntax)
Create an UpdateRequest by parsing from an InputStream.
|
static UpdateRequest |
read(String fileName)
Create an UpdateRequest by reading it from a file
|
static UpdateRequest |
read(String fileName,
String baseURI,
Syntax syntax)
Create an UpdateRequest by reading it from a file
|
static UpdateRequest |
read(String fileName,
Syntax syntax)
Create an UpdateRequest by reading it from a file
|
static UpdateRequest |
read(UsingList usingList,
InputStream input)
Create an UpdateRequest by parsing from an InputStream.
|
static UpdateRequest |
read(UsingList usingList,
InputStream input,
String baseURI)
Create an UpdateRequest by parsing from an InputStream.
|
static UpdateRequest |
read(UsingList usingList,
InputStream input,
String baseURI,
Syntax syntax)
Create an UpdateRequest by parsing from an InputStream.
|
static UpdateRequest |
read(UsingList usingList,
InputStream input,
Syntax syntax)
Create an UpdateRequest by parsing from an InputStream.
|
static UpdateRequest |
read(UsingList usingList,
String fileName)
Create an UpdateRequest by reading it from a file
|
static UpdateRequest |
read(UsingList usingList,
String fileName,
String baseURI,
Syntax syntax)
Create an UpdateRequest by reading it from a file
|
static UpdateRequest |
read(UsingList usingList,
String fileName,
Syntax syntax)
Create an UpdateRequest by reading it from a file
|
public static UpdateRequest create()
public static UpdateRequest create(String string)
string
- The update request as a string.public static UpdateRequest create(String string, Syntax syntax)
string
- The update request as a string.syntax
- The update language syntaxpublic static UpdateRequest create(String string, String baseURI)
string
- The update request as a string.baseURI
- The base URI for resolving relative URIs.public static UpdateRequest create(String string, String baseURI, Syntax syntax)
string
- The update request as a string.baseURI
- The base URI for resolving relative URIs.syntax
- The update language syntaxpublic static void parse(UpdateRequest request, String updateString)
public static void parse(UpdateRequest request, String updateString, Syntax syntax)
public static void parse(UpdateRequest request, String updateString, String baseURI)
public static void parse(UpdateRequest request, String updateString, String baseURI, Syntax syntax)
public static UpdateRequest read(UsingList usingList, String fileName)
public static UpdateRequest read(String fileName)
public static UpdateRequest read(String fileName, Syntax syntax)
public static UpdateRequest read(UsingList usingList, String fileName, Syntax syntax)
public static UpdateRequest read(String fileName, String baseURI, Syntax syntax)
public static UpdateRequest read(UsingList usingList, String fileName, String baseURI, Syntax syntax)
public static UpdateRequest read(InputStream input)
input
- The source of the update request (must be UTF-8).public static UpdateRequest read(UsingList usingList, InputStream input)
usingList
- The list of externally defined USING statementsinput
- The source of the update request (must be UTF-8).public static UpdateRequest read(InputStream input, Syntax syntax)
input
- The source of the update request (must be UTF-8).syntax
- The update language syntaxpublic static UpdateRequest read(UsingList usingList, InputStream input, Syntax syntax)
usingList
- The list of externally defined USING statementsinput
- The source of the update request (must be UTF-8).syntax
- The update language syntaxpublic static UpdateRequest read(InputStream input, String baseURI)
input
- The source of the update request (must be UTF-8).baseURI
- The base URI for resolving relative URIs.public static UpdateRequest read(UsingList usingList, InputStream input, String baseURI)
usingList
- The list of externally defined USING statementsinput
- The source of the update request (must be UTF-8).baseURI
- The base URI for resolving relative URIs.public static UpdateRequest read(InputStream input, String baseURI, Syntax syntax)
input
- The source of the update request (must be UTF-8).baseURI
- The base URI for resolving relative URIs.syntax
- The update language syntaxpublic static UpdateRequest read(UsingList usingList, InputStream input, String baseURI, Syntax syntax)
usingList
- The list of externally defined USING statementsinput
- The source of the update request (must be UTF-8).baseURI
- The base URI for resolving relative URIs.syntax
- The update language syntaxLicenced under the Apache License, Version 2.0