diff options
Diffstat (limited to 'sca-java-1.x/branches/sca-java-1.6.1/modules/binding-gdata/src/main/java/org/apache/tuscany/sca/binding/gdata/impl/GdataBindingProcessor.java')
-rw-r--r-- | sca-java-1.x/branches/sca-java-1.6.1/modules/binding-gdata/src/main/java/org/apache/tuscany/sca/binding/gdata/impl/GdataBindingProcessor.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sca-java-1.x/branches/sca-java-1.6.1/modules/binding-gdata/src/main/java/org/apache/tuscany/sca/binding/gdata/impl/GdataBindingProcessor.java b/sca-java-1.x/branches/sca-java-1.6.1/modules/binding-gdata/src/main/java/org/apache/tuscany/sca/binding/gdata/impl/GdataBindingProcessor.java index dea035559b..8928c8772f 100644 --- a/sca-java-1.x/branches/sca-java-1.6.1/modules/binding-gdata/src/main/java/org/apache/tuscany/sca/binding/gdata/impl/GdataBindingProcessor.java +++ b/sca-java-1.x/branches/sca-java-1.6.1/modules/binding-gdata/src/main/java/org/apache/tuscany/sca/binding/gdata/impl/GdataBindingProcessor.java @@ -26,6 +26,7 @@ import javax.xml.stream.XMLStreamWriter; import org.apache.tuscany.sca.binding.gdata.GdataBinding; import org.apache.tuscany.sca.binding.gdata.GdataBindingFactory; import org.apache.tuscany.sca.contribution.ModelFactoryExtensionPoint; +import org.apache.tuscany.sca.contribution.processor.BaseStAXArtifactProcessor; import org.apache.tuscany.sca.contribution.processor.StAXArtifactProcessor; import org.apache.tuscany.sca.contribution.resolver.ModelResolver; import org.apache.tuscany.sca.contribution.service.ContributionReadException; @@ -37,7 +38,7 @@ import org.apache.tuscany.sca.contribution.service.ContributionWriteException; * * @version $Rev$ $Date$ */ -public class GdataBindingProcessor implements StAXArtifactProcessor<GdataBinding> { +public class GdataBindingProcessor extends BaseStAXArtifactProcessor implements StAXArtifactProcessor<GdataBinding> { private QName BINDING_GDATA = new QName("http://tuscany.apache.org/xmlns/sca/1.0", "binding.gdata"); @@ -64,7 +65,7 @@ public class GdataBindingProcessor implements StAXArtifactProcessor<GdataBinding gdataBinding.setName(name); } - String uri = reader.getAttributeValue(null, "uri"); + String uri = getURIString(reader, "uri"); if (uri != null) { gdataBinding.setURI(uri); } |