Package org.apache.tuscany.implementation.xquery

Examples of org.apache.tuscany.implementation.xquery.XQueryImplementation


            String xqueryLocation = inputSource.getAttributeValue(null, LOCATION);
            if (xqueryLocation == null) {
                throw new ContributionReadException( MSG_LOCATION_MISSING );
            }
            /* Create the XQuery implementation and set the location into it */
            XQueryImplementation xqueryImplementation = XQueryImplementationFactory.INSTANCE.createXQueryImplementation();
            xqueryImplementation.setLocation( xqueryLocation );

            // Skip to end element
            while (inputSource.hasNext()) {
                if (inputSource.next() == END_ELEMENT && IMPLEMENTATION_XQUERY_QNAME.equals(inputSource.getName())) {
                    break;
                }
            } // end while
           
            xqueryImplementation.setUnresolved(true);

            return xqueryImplementation;

        } catch (XMLStreamException e) {
            throw new ContributionReadException(e);
View Full Code Here


*/
public class XQueryImplementationFactoryImpl implements
    XQueryImplementationFactory {

  public XQueryImplementation createXQueryImplementation() {
    XQueryImplementation implementation = new XQueryImplementationImpl();
    return implementation;
  }
View Full Code Here

TOP

Related Classes of org.apache.tuscany.implementation.xquery.XQueryImplementation

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.