|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--uk.org.ogsadai.activity.Activity | +--uk.org.ogsadai.activity.xmldb.XMLDBActivity | +--uk.org.ogsadai.activity.xmldb.XQueryStatementActivity
An XMLDBActivity
for performing XQuery statements.
For information on this activity see the OGSA-DAI user doc:
OGSA-DAI/doc/interaction/activities/xml/xQueryStatement.html
Field Summary | |
private static java.lang.String |
COPYRIGHT_NOTICE
Copyright statement |
private static DAILogger |
LOG
Logger object for logging in this class |
private BlockMaker |
mBlocks
Used to generate the result blocks. |
private java.util.Map |
mNamespaceMappings
The namespace mappings. |
private java.lang.String |
mQuery
The query string. |
private java.lang.String |
mResourceID
The resource ID to query or null to query the
whole collection. |
Fields inherited from class uk.org.ogsadai.activity.xmldb.XMLDBActivity |
mDataResource, mOutput, mSubCollectionName, mUserCredentials |
Fields inherited from class uk.org.ogsadai.activity.Activity |
mContext, mExternalInputs, mExternalOutputs, mInternalInputs, mInternalOutputs |
Constructor Summary | |
XQueryStatementActivity(org.w3c.dom.Element element)
Constructs an XQuery activity using the specified XML element. |
Method Summary | |
void |
processBlock()
Performs an iteration of the processing of an activity. |
protected void |
processFirst()
This method is called during the first iteration of processing an activity. |
Methods inherited from class uk.org.ogsadai.activity.xmldb.XMLDBActivity |
initialise |
Methods inherited from class uk.org.ogsadai.activity.Activity |
cleanUp, connectsTo, createOutputPipe, getActivityConfiguration, getActivityName, getCause, getName, getObservableStatus, getProperties, getSession, getStatus, hasActivityConfiguration, hasProperties, process, setActivityName, setCompleted, setError |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final java.lang.String COPYRIGHT_NOTICE
private static DAILogger LOG
private BlockMaker mBlocks
private java.lang.String mQuery
private java.util.Map mNamespaceMappings
private java.lang.String mResourceID
null
to query the
whole collection.
Constructor Detail |
public XQueryStatementActivity(org.w3c.dom.Element element) throws ActivitySpecificationException, ActivityCreationException
element
- Element
to configure the activity with - from
a perform document.
ActivityCreationException
- If there is a problem constructing the activity due to an
implementation error or OGSA-DAI confguration problem.
ActivitySpecificationException
- If there is a problem constructing the activity due to an
invalid setting in element
.
mistake such as an invalid setting.Method Detail |
public void processBlock()
Activity
setCompleted
method to indicate that
processing is complete, or the setError
method if
an error occurs that will prevent the processing from
completing.
processBlock
in class XMLDBActivity
protected final void processFirst()
Activity
processFirst
in class Activity
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |