Author: mcombellack
Date: Fri Mar 21 13:26:11 2008
New Revision: 639804
URL: http://svn.apache.org/viewvc?rev=639804&view=rev
Log:
Minor JavaDoc updates and spelling corrections
Modified:
incubator/tuscany/java/sca/modules/implementation-xquery/src/main/java/org/apache/tuscany/sca/implementation/xquery/XQueryImplementation.java
incubator/tuscany/java/sca/modules/implementation-xquery/src/main/java/org/apache/tuscany/sca/implementation/xquery/XQueryImplementationProvider.java
incubator/tuscany/java/sca/modules/implementation-xquery/src/main/java/org/apache/tuscany/sca/implementation/xquery/XQueryImplementationProviderFactory.java
incubator/tuscany/java/sca/modules/implementation-xquery/src/main/java/org/apache/tuscany/sca/implementation/xquery/XQueryInvokationException.java
incubator/tuscany/java/sca/modules/implementation-xquery/src/main/java/org/apache/tuscany/sca/implementation/xquery/XQueryInvoker.java
incubator/tuscany/java/sca/modules/implementation-xquery/src/main/java/org/apache/tuscany/sca/implementation/xquery/xml/XQueryImplementationProcessor.java
incubator/tuscany/java/sca/modules/implementation-xquery/src/main/java/org/apache/tuscany/sca/implementation/xquery/xml/XQueryIntrospector.java
Modified:
incubator/tuscany/java/sca/modules/implementation-xquery/src/main/java/org/apache/tuscany/sca/implementation/xquery/XQueryImplementation.java
URL:
http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/implementation-xquery/src/main/java/org/apache/tuscany/sca/implementation/xquery/XQueryImplementation.java?rev=639804&r1=639803&r2=639804&view=diff
==============================================================================
---
incubator/tuscany/java/sca/modules/implementation-xquery/src/main/java/org/apache/tuscany/sca/implementation/xquery/XQueryImplementation.java
(original)
+++
incubator/tuscany/java/sca/modules/implementation-xquery/src/main/java/org/apache/tuscany/sca/implementation/xquery/XQueryImplementation.java
Fri Mar 21 13:26:11 2008
@@ -32,7 +32,7 @@
public interface XQueryImplementation extends Implementation {
/**
- * Location of the xquery implementation file
+ * Location of the XQuery implementation file
* @return
*/
public String getLocation();
@@ -44,7 +44,7 @@
public void setLocationURL(String location);
/**
- * The XQuery expression that is loaded from the xquery implementation file
+ * The XQuery expression that is loaded from the XQuery implementation file
* @return
*/
public String getXqExpression();
@@ -65,9 +65,9 @@
public Map<Method, String> getXqExpressionExtensionsMap();
/**
- * This map is a kind of cache for function invokations. If a given
- * xquery function of this implementation has been invoked already
- * its compiled expression can be reused. In this manner the preformance
+ * This map is a kind of cache for function invocations. If a given
+ * XQuery function of this implementation has been invoked already
+ * its compiled expression can be reused. In this manner the performance
* can be increased
* @return
*/
Modified:
incubator/tuscany/java/sca/modules/implementation-xquery/src/main/java/org/apache/tuscany/sca/implementation/xquery/XQueryImplementationProvider.java
URL:
http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/implementation-xquery/src/main/java/org/apache/tuscany/sca/implementation/xquery/XQueryImplementationProvider.java?rev=639804&r1=639803&r2=639804&view=diff
==============================================================================
---
incubator/tuscany/java/sca/modules/implementation-xquery/src/main/java/org/apache/tuscany/sca/implementation/xquery/XQueryImplementationProvider.java
(original)
+++
incubator/tuscany/java/sca/modules/implementation-xquery/src/main/java/org/apache/tuscany/sca/implementation/xquery/XQueryImplementationProvider.java
Fri Mar 21 13:26:11 2008
@@ -44,19 +44,19 @@
import org.apache.tuscany.sca.runtime.RuntimeComponentService;
/**
- * Provides the runtime configuration of xquery-typed component.
+ * Provides the runtime configuration of XQuery-typed component.
* @version $Rev$ $Date$
*
* Generally the following is done:
- * 1. During constructuion all services and references are provided
- * with the saxon data binding, which is the one required by the
+ * 1. During construction all services and references are provided
+ * with the Saxon data binding, which is the one required by the
* XQueryInvoker
*
* 2. During startup:
* - a proxy is created for each reference and it is kept in the
referenceProxies
- * map, which is used later by the invoker to configure the saxon parser;
+ * map, which is used later by the invoker to configure the Saxon parser;
* - each property value is read and put into the properties map. This is
- * again used by the invoker to configure the saxon parser
+ * again used by the invoker to configure the Saxon parser
*/
public class XQueryImplementationProvider implements ImplementationProvider {
Modified:
incubator/tuscany/java/sca/modules/implementation-xquery/src/main/java/org/apache/tuscany/sca/implementation/xquery/XQueryImplementationProviderFactory.java
URL:
http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/implementation-xquery/src/main/java/org/apache/tuscany/sca/implementation/xquery/XQueryImplementationProviderFactory.java?rev=639804&r1=639803&r2=639804&view=diff
==============================================================================
---
incubator/tuscany/java/sca/modules/implementation-xquery/src/main/java/org/apache/tuscany/sca/implementation/xquery/XQueryImplementationProviderFactory.java
(original)
+++
incubator/tuscany/java/sca/modules/implementation-xquery/src/main/java/org/apache/tuscany/sca/implementation/xquery/XQueryImplementationProviderFactory.java
Fri Mar 21 13:26:11 2008
@@ -28,7 +28,7 @@
import org.apache.tuscany.sca.runtime.RuntimeComponent;
/**
- * A factory for xquery implementation providers
+ * A factory for XQuery implementation providers
* @version $Rev$ $Date$
*/
public class XQueryImplementationProviderFactory implements
ImplementationProviderFactory<XQueryImplementation> {
Modified:
incubator/tuscany/java/sca/modules/implementation-xquery/src/main/java/org/apache/tuscany/sca/implementation/xquery/XQueryInvokationException.java
URL:
http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/implementation-xquery/src/main/java/org/apache/tuscany/sca/implementation/xquery/XQueryInvokationException.java?rev=639804&r1=639803&r2=639804&view=diff
==============================================================================
---
incubator/tuscany/java/sca/modules/implementation-xquery/src/main/java/org/apache/tuscany/sca/implementation/xquery/XQueryInvokationException.java
(original)
+++
incubator/tuscany/java/sca/modules/implementation-xquery/src/main/java/org/apache/tuscany/sca/implementation/xquery/XQueryInvokationException.java
Fri Mar 21 13:26:11 2008
@@ -20,7 +20,7 @@
/**
* Exception class used by the XQueryInvoker to report problems in
- * xquery script invokaion
+ * XQuery script invocation
* @version $Rev$ $Date$
*/
public class XQueryInvokationException extends Exception {
Modified:
incubator/tuscany/java/sca/modules/implementation-xquery/src/main/java/org/apache/tuscany/sca/implementation/xquery/XQueryInvoker.java
URL:
http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/implementation-xquery/src/main/java/org/apache/tuscany/sca/implementation/xquery/XQueryInvoker.java?rev=639804&r1=639803&r2=639804&view=diff
==============================================================================
---
incubator/tuscany/java/sca/modules/implementation-xquery/src/main/java/org/apache/tuscany/sca/implementation/xquery/XQueryInvoker.java
(original)
+++
incubator/tuscany/java/sca/modules/implementation-xquery/src/main/java/org/apache/tuscany/sca/implementation/xquery/XQueryInvoker.java
Fri Mar 21 13:26:11 2008
@@ -58,7 +58,7 @@
import org.w3c.dom.NodeList;
/**
- * Performs the invokation of a requested xquery function
+ * Performs the invocation of a requested XQuery function
* @version $Rev$ $Date$
*/
public class XQueryInvoker implements Invoker {
@@ -90,10 +90,10 @@
}
/**
- * This mehtod contains the XQuery invokation logic
+ * This method contains the XQuery invocation logic
* The following steps are performed:
* 1. XQuery expression is produced by combining the original expression
- * and the function invokation extension (See
XQueryImplementation.getXqExpressionExtensionsMap()
+ * and the function invocation extension (See
XQueryImplementation.getXqExpressionExtensionsMap()
* for details)
* 2. A check is performed if this expression has been invoked already. If
yes -
* it is taken from the cache
@@ -103,20 +103,20 @@
* payload and transformed to ones that are built with the current
* configuration.
* NOTE: This is unnecessary overhead - can the Configuration
- * object be attached in some way to the invokation request?
+ * object be attached in some way to the invocation request?
* 5. All parameters, reference proxies and property values are mapped
* to external variables of the XQuery script
* 6. The query is executed and the result is returned depending on its
type
* (i.e. it could be either a node NodeInfo or Value object). Currently
* no collections are supported, i.e. if there is more then one element
- * in the result ony the first one will be returned
+ * in the result only the first one will be returned
*
* NOTE: During execution of the XQuery a static variable is set with
* the current configuration. This variable is used by the NodeInfo
transformers
- * to produce the correct NodeInfo for all Output2Output
tranformations, which
+ * to produce the correct NodeInfo for all Output2Output
transformations, which
* happen as result of the XQuery component invoking some reference
components
- * The old state of the static configuraton is preserved and in this
way allowing
- * to nest XQuery component invokations (i.e. one XQuery component
invokes another
+ * The old state of the static configuration is preserved and in this
way allowing
+ * to nest XQuery component invocations (i.e. one XQuery component
invokes another
* one)
*/
private Object doInvoke(Object payload) throws XQueryInvokationException,
XPathException {
@@ -145,7 +145,7 @@
DynamicQueryContext dynamicContext = new DynamicQueryContext(config);
- // Setting the parameters for function invokation
+ // Setting the parameters for function invocation
String methodName = theMethod.getName();
for (int i = 0; i < params.length; i++) {
dynamicContext.setParameter(methodName + "_" + i, params[i]);
Modified:
incubator/tuscany/java/sca/modules/implementation-xquery/src/main/java/org/apache/tuscany/sca/implementation/xquery/xml/XQueryImplementationProcessor.java
URL:
http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/implementation-xquery/src/main/java/org/apache/tuscany/sca/implementation/xquery/xml/XQueryImplementationProcessor.java?rev=639804&r1=639803&r2=639804&view=diff
==============================================================================
---
incubator/tuscany/java/sca/modules/implementation-xquery/src/main/java/org/apache/tuscany/sca/implementation/xquery/xml/XQueryImplementationProcessor.java
(original)
+++
incubator/tuscany/java/sca/modules/implementation-xquery/src/main/java/org/apache/tuscany/sca/implementation/xquery/xml/XQueryImplementationProcessor.java
Fri Mar 21 13:26:11 2008
@@ -40,7 +40,7 @@
import org.apache.tuscany.sca.interfacedef.java.JavaInterfaceFactory;
/**
- * Processor for the xquery implementation type artifact
+ * Processor for the XQuery implementation type artifact
* @version $Rev$ $Date$
*/
public class XQueryImplementationProcessor implements
StAXArtifactProcessor<XQueryImplementation> {
@@ -71,7 +71,7 @@
public XQueryImplementation read(XMLStreamReader reader)
throws ContributionReadException, XMLStreamException {
- /* Read the location attribute for the xquery implementation */
+ /* Read the location attribute for the XQuery implementation */
String xqueryLocation = reader.getAttributeValue(null, LOCATION);
if (xqueryLocation == null) {
throw new ContributionReadException(MSG_LOCATION_MISSING);
@@ -109,7 +109,7 @@
}
/**
- * Resolves the implementation: its services and references, by invoking
the xquery
+ * Resolves the implementation: its services and references, by invoking
the XQuery
* introspector
*/
public void resolve(XQueryImplementation xqueryImplementation,
ModelResolver resolver)
Modified:
incubator/tuscany/java/sca/modules/implementation-xquery/src/main/java/org/apache/tuscany/sca/implementation/xquery/xml/XQueryIntrospector.java
URL:
http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/implementation-xquery/src/main/java/org/apache/tuscany/sca/implementation/xquery/xml/XQueryIntrospector.java?rev=639804&r1=639803&r2=639804&view=diff
==============================================================================
---
incubator/tuscany/java/sca/modules/implementation-xquery/src/main/java/org/apache/tuscany/sca/implementation/xquery/xml/XQueryIntrospector.java
(original)
+++
incubator/tuscany/java/sca/modules/implementation-xquery/src/main/java/org/apache/tuscany/sca/implementation/xquery/xml/XQueryIntrospector.java
Fri Mar 21 13:26:11 2008
@@ -50,7 +50,7 @@
import org.apache.tuscany.sca.interfacedef.util.JavaXMLMapper;
/**
- * This class introspects an XQuery file and extrats out of it
+ * This class introspects an XQuery file and extracts out of it
* all implemented service, references and properties
* It also creates expression extensions for each operation
* in the implemented services
@@ -120,7 +120,7 @@
}
/**
- * Loads the xquery expression from the location that is provided with the
implementation
+ * Loads the XQuery expression from the location that is provided with the
implementation
*/
private String loadXQExpression(URL locationURL) throws
FileNotFoundException, IOException {
@@ -156,8 +156,8 @@
}
/**
- * From the compiled xquery expression get all namespaces and see if they
- * are services, references or properties declaraions
+ * From the compiled XQuery expression get all namespaces and see if they
+ * are services, references or properties declarations
*/
private void introspectServicesAndReferences(XQueryImplementation
xqueryImplementation, XQueryExpression exp, ModelResolver resolver)
throws ClassNotFoundException, InvalidInterfaceException {
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]