summaryrefslogtreecommitdiff
path: root/bkucommon/src/main/java/at/gv/egiz/bku/slcommands/SLCommandContext.java
diff options
context:
space:
mode:
authorTobias Kellner <imcybot@gmail.com>2015-01-13 02:02:32 +0100
committerTobias Kellner <tobias.kellner@iaik.tugraz.at>2015-03-09 15:14:27 +0100
commitac5be55b6300718d64e19b01a36181ecf57c9987 (patch)
tree93578f14a40c6a25a280de46c71eba870e3d4af1 /bkucommon/src/main/java/at/gv/egiz/bku/slcommands/SLCommandContext.java
parent7f884ec4134d7de42cea84e0a877d4644547291e (diff)
downloadmocca-ac5be55b6300718d64e19b01a36181ecf57c9987.tar.gz
mocca-ac5be55b6300718d64e19b01a36181ecf57c9987.tar.bz2
mocca-ac5be55b6300718d64e19b01a36181ecf57c9987.zip
XAdES1.4 Blacklist added
Diffstat (limited to 'bkucommon/src/main/java/at/gv/egiz/bku/slcommands/SLCommandContext.java')
-rw-r--r--bkucommon/src/main/java/at/gv/egiz/bku/slcommands/SLCommandContext.java22
1 files changed, 14 insertions, 8 deletions
diff --git a/bkucommon/src/main/java/at/gv/egiz/bku/slcommands/SLCommandContext.java b/bkucommon/src/main/java/at/gv/egiz/bku/slcommands/SLCommandContext.java
index 6615f767..cf2e4875 100644
--- a/bkucommon/src/main/java/at/gv/egiz/bku/slcommands/SLCommandContext.java
+++ b/bkucommon/src/main/java/at/gv/egiz/bku/slcommands/SLCommandContext.java
@@ -30,22 +30,25 @@ import at.gv.egiz.bku.utils.urldereferencer.URLDereferencer;
import at.gv.egiz.stal.STAL;
public class SLCommandContext {
-
+
private STAL stal;
-
+
private URLDereferencer urlDereferencer;
-
+
private Locale locale;
- public SLCommandContext(STAL stal, URLDereferencer urlDereferencer) {
+ private String dataURL;
+
+ public SLCommandContext(STAL stal, URLDereferencer urlDereferencer,
+ String dataURL) {
this.stal = stal;
this.urlDereferencer = urlDereferencer;
+ this.dataURL = dataURL;
}
public SLCommandContext(STAL stal, URLDereferencer urlDereferencer,
- Locale locale) {
- this.stal = stal;
- this.urlDereferencer = urlDereferencer;
+ String dataURL, Locale locale) {
+ this(stal, urlDereferencer, dataURL);
this.locale = locale;
}
@@ -72,5 +75,8 @@ public class SLCommandContext {
public void setLocale(Locale locale) {
this.locale = locale;
}
-
+
+ public String getDataURL() {
+ return dataURL;
+ }
} \ No newline at end of file