summaryrefslogtreecommitdiffstats
path: root/java/sca
diff options
context:
space:
mode:
authorjsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68>2008-08-05 09:29:57 +0000
committerjsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68>2008-08-05 09:29:57 +0000
commit0c45b6afc83b07476d58294636cb679d005e2103 (patch)
tree2612c776ca91c6def0c4f0905f4a32704f510b88 /java/sca
parent45ff9d650430b84565eb2703383ab2f013513b97 (diff)
Added constructors taking integer and double parameters.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@682645 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/sca')
-rw-r--r--java/sca/modules/contribution/src/main/java/org/apache/tuscany/sca/contribution/processor/BaseStAXArtifactProcessor.java20
1 files changed, 20 insertions, 0 deletions
diff --git a/java/sca/modules/contribution/src/main/java/org/apache/tuscany/sca/contribution/processor/BaseStAXArtifactProcessor.java b/java/sca/modules/contribution/src/main/java/org/apache/tuscany/sca/contribution/processor/BaseStAXArtifactProcessor.java
index 68a73945c5..f23797a831 100644
--- a/java/sca/modules/contribution/src/main/java/org/apache/tuscany/sca/contribution/processor/BaseStAXArtifactProcessor.java
+++ b/java/sca/modules/contribution/src/main/java/org/apache/tuscany/sca/contribution/processor/BaseStAXArtifactProcessor.java
@@ -343,6 +343,26 @@ public abstract class BaseStAXArtifactProcessor {
this(null, name, value);
}
+ public XAttr(String uri, String name, Integer value) {
+ this.uri = uri;
+ this.name = name;
+ this.value = value;
+ }
+
+ public XAttr(String name, Integer value) {
+ this(null, name, value);
+ }
+
+ public XAttr(String uri, String name, Double value) {
+ this.uri = uri;
+ this.name = name;
+ this.value = value;
+ }
+
+ public XAttr(String name, Double value) {
+ this(null, name, value);
+ }
+
public XAttr(String uri, String name, QName value) {
this.uri = uri;
this.name = name;