From 0c45b6afc83b07476d58294636cb679d005e2103 Mon Sep 17 00:00:00 2001 From: jsdelfino Date: Tue, 5 Aug 2008 09:29:57 +0000 Subject: Added constructors taking integer and double parameters. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@682645 13f79535-47bb-0310-9956-ffa450edef68 --- .../processor/BaseStAXArtifactProcessor.java | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'java/sca/modules/contribution/src') 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; -- cgit v1.2.3