2016/05/28 - Apache Tuscany has been retired.
For more information, please explore the Attic.
org.apache.tuscany.sca.implementation.xquery.impl
Class XQueryImplementationImpl
java.lang.Object
org.apache.tuscany.sca.assembly.impl.BaseImpl
org.apache.tuscany.sca.assembly.impl.ExtensibleImpl
org.apache.tuscany.sca.assembly.impl.ComponentTypeImpl
org.apache.tuscany.sca.assembly.impl.ImplementationImpl
org.apache.tuscany.sca.implementation.xquery.impl.XQueryImplementationImpl
- All Implemented Interfaces:
- java.lang.Cloneable, Base, ComponentType, Extensible, Implementation, OperationsConfigurator, XQueryImplementation, IntentAttachPoint, PolicySetAttachPoint
public class XQueryImplementationImpl
- extends ImplementationImpl
- implements XQueryImplementation
Actual implementation of the XQuery implementation
Method Summary |
boolean |
equals(java.lang.Object obj)
|
java.util.Map<java.lang.String,XQueryExpression> |
getCompiledExpressionsCache()
This map is a kind of cache for function invocations. |
java.lang.String |
getLocation()
Location of the XQuery implementation file |
java.lang.String |
getLocationURL()
|
java.lang.String |
getXqExpression()
The XQuery expression that is loaded from the XQuery implementation file |
java.util.Map<java.lang.reflect.Method,java.lang.String> |
getXqExpressionExtensionsMap()
The XQuery expression should be extended for with additional
script, which provides the external variables needed to invoke
a function. |
int |
hashCode()
|
void |
setLocation(java.lang.String location)
|
void |
setLocationURL(java.lang.String locationURL)
|
void |
setXqExpression(java.lang.String xqExpression)
|
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
XQueryImplementationImpl
public XQueryImplementationImpl()
getLocation
public java.lang.String getLocation()
- Description copied from interface:
XQueryImplementation
- Location of the XQuery implementation file
- Specified by:
getLocation
in interface XQueryImplementation
- Returns:
setLocation
public void setLocation(java.lang.String location)
- Specified by:
setLocation
in interface XQueryImplementation
getLocationURL
public java.lang.String getLocationURL()
- Specified by:
getLocationURL
in interface XQueryImplementation
setLocationURL
public void setLocationURL(java.lang.String locationURL)
- Specified by:
setLocationURL
in interface XQueryImplementation
getXqExpression
public java.lang.String getXqExpression()
- Description copied from interface:
XQueryImplementation
- The XQuery expression that is loaded from the XQuery implementation file
- Specified by:
getXqExpression
in interface XQueryImplementation
- Returns:
setXqExpression
public void setXqExpression(java.lang.String xqExpression)
- Specified by:
setXqExpression
in interface XQueryImplementation
getCompiledExpressionsCache
public java.util.Map<java.lang.String,XQueryExpression> getCompiledExpressionsCache()
- Description copied from interface:
XQueryImplementation
- 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
- Specified by:
getCompiledExpressionsCache
in interface XQueryImplementation
- Returns:
getXqExpressionExtensionsMap
public java.util.Map<java.lang.reflect.Method,java.lang.String> getXqExpressionExtensionsMap()
- Description copied from interface:
XQueryImplementation
- The XQuery expression should be extended for with additional
script, which provides the external variables needed to invoke
a function. In this way for each function that is defined in the
original XQuery expression additional expression is defined, which
can invoke this function, using external variables as input.
These expression extensions are stored in this map. It provides for
each method of a service interface that is implemented by this component
type corresponding expression extension
- Specified by:
getXqExpressionExtensionsMap
in interface XQueryImplementation
- Returns:
hashCode
public int hashCode()
- Overrides:
hashCode
in class ComponentTypeImpl
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class ComponentTypeImpl