public class ParsedUpdate extends ParsedOperation
Constructor and Description |
---|
ParsedUpdate()
Creates a new update sequence.
|
ParsedUpdate(Map<String,String> namespaces)
Creates a new update sequence.
|
ParsedUpdate(String sourceString) |
ParsedUpdate(String sourceString,
Map<String,String> namespaces) |
Modifier and Type | Method and Description |
---|---|
void |
addUpdateExpr(UpdateExpr updateExpr) |
Map<UpdateExpr,Dataset> |
getDatasetMapping() |
Map<String,String> |
getNamespaces() |
List<UpdateExpr> |
getUpdateExprs() |
void |
map(UpdateExpr updateExpr,
Dataset dataset) |
String |
toString() |
getSourceString
public ParsedUpdate()
addUpdateExpr(UpdateExpr)
.public ParsedUpdate(String sourceString)
public ParsedUpdate(Map<String,String> namespaces)
addUpdateExpr(UpdateExpr)
.namespaces
- A mapping of namespace prefixes to namespace names representing the namespaces that are used in
the update.public void addUpdateExpr(UpdateExpr updateExpr)
public List<UpdateExpr> getUpdateExprs()
public void map(UpdateExpr updateExpr, Dataset dataset)
updateExpr
- The updateExpr to map to a dataset.dataset
- the dataset that applies to the updateExpr. May be null.public Map<UpdateExpr,Dataset> getDatasetMapping()
Copyright © 2015-2020 Eclipse Foundation. All Rights Reserved.