diff options
author | rfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68> | 2008-10-31 17:31:58 +0000 |
---|---|---|
committer | rfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68> | 2008-10-31 17:31:58 +0000 |
commit | a68c6adc60fd98cdf0e06523cae78585bc672382 (patch) | |
tree | 03bd2418c0bc3f8e3de6827af4264eacbf98705f /branches/sca-equinox/modules/implementation-xquery/src | |
parent | a80857e0536e078713448b221b4fee8c2e94b16b (diff) |
Fix bundle import package
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@709497 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'branches/sca-equinox/modules/implementation-xquery/src')
-rw-r--r-- | branches/sca-equinox/modules/implementation-xquery/src/main/java/org/apache/tuscany/sca/implementation/xquery/xml/XQueryImplementationProcessor.java | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/branches/sca-equinox/modules/implementation-xquery/src/main/java/org/apache/tuscany/sca/implementation/xquery/xml/XQueryImplementationProcessor.java b/branches/sca-equinox/modules/implementation-xquery/src/main/java/org/apache/tuscany/sca/implementation/xquery/xml/XQueryImplementationProcessor.java index 30e424d42e..c8d19bf149 100644 --- a/branches/sca-equinox/modules/implementation-xquery/src/main/java/org/apache/tuscany/sca/implementation/xquery/xml/XQueryImplementationProcessor.java +++ b/branches/sca-equinox/modules/implementation-xquery/src/main/java/org/apache/tuscany/sca/implementation/xquery/xml/XQueryImplementationProcessor.java @@ -26,7 +26,6 @@ import javax.xml.stream.XMLStreamReader; import javax.xml.stream.XMLStreamWriter; import org.apache.tuscany.sca.assembly.AssemblyFactory; -import org.apache.tuscany.sca.assembly.xml.Constants; import org.apache.tuscany.sca.contribution.Artifact; import org.apache.tuscany.sca.contribution.ContributionFactory; import org.apache.tuscany.sca.contribution.processor.ContributionReadException; @@ -41,18 +40,17 @@ import org.apache.tuscany.sca.interfacedef.java.JavaInterfaceFactory; import org.apache.tuscany.sca.monitor.Monitor; import org.apache.tuscany.sca.monitor.Problem; import org.apache.tuscany.sca.monitor.Problem.Severity; -import org.apache.tuscany.sca.monitor.impl.ProblemImpl; /** * Processor for the XQuery implementation type artifact * @version $Rev$ $Date$ */ public class XQueryImplementationProcessor implements StAXArtifactProcessor<XQueryImplementation> { - + private static final String SCA10_TUSCANY_NS = "http://tuscany.apache.org/xmlns/sca/1.0"; private static final String LOCATION = "location"; private static final String IMPLEMENTATION_XQUERY = "implementation.xquery"; private static final QName IMPLEMENTATION_XQUERY_QNAME = - new QName(Constants.SCA10_TUSCANY_NS, IMPLEMENTATION_XQUERY); + new QName(SCA10_TUSCANY_NS, IMPLEMENTATION_XQUERY); private AssemblyFactory assemblyFactory; private JavaInterfaceFactory javaFactory; @@ -117,7 +115,7 @@ public class XQueryImplementationProcessor implements StAXArtifactProcessor<XQue public void write(XQueryImplementation xqueryImplementation, XMLStreamWriter writer) throws ContributionWriteException, XMLStreamException { - writer.writeStartElement(Constants.SCA10_TUSCANY_NS, IMPLEMENTATION_XQUERY); + writer.writeStartElement(SCA10_TUSCANY_NS, IMPLEMENTATION_XQUERY); if (xqueryImplementation.getLocation() != null) { writer.writeAttribute(LOCATION, xqueryImplementation.getLocation()); } |