|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--uk.org.ogsadai.client.toolkit.activity.RequestComponent
|
+--uk.org.ogsadai.client.toolkit.activity.Activity
|
+--uk.org.ogsadai.client.toolkit.activity.transform.WebRowSetProjection
This activity projects data in WebRowSet XML format onto a column specified by name or index.
The activity has one input - the WebRowSet document - and one output - the projected values.
| Field Summary | |
private static java.lang.String |
COPYRIGHT_NOTICE
Copyright statement |
private int |
mColumnIndex
Index of column to project onto |
private java.lang.String |
mColumnName
Name of column to project onto |
| Fields inherited from class uk.org.ogsadai.client.toolkit.activity.Activity |
|
| Fields inherited from class uk.org.ogsadai.client.toolkit.activity.RequestComponent |
|
| Constructor Summary | |
WebRowSetProjection(ActivityOutput input,
int columnIndex)
Constructor. |
|
WebRowSetProjection(ActivityOutput input,
java.lang.String columnName)
Constructor. |
|
| Method Summary | |
protected java.lang.String |
generateXML()
Gets something useful from the result data produced by the activity, if there was any result data. |
ActivityOutput |
getOutput()
Gets the activity output - the projected column values. |
void |
setInput(ActivityOutput input)
Sets the input of this activity to be the output from another activity that will provide the data to be sampled. |
| Methods inherited from class uk.org.ogsadai.client.toolkit.activity.Activity |
addInput, addOutput, addOutputs, getDataResourceID, getInputParameters, getOutputParameters, getOutputs, replaceSpecialCharacters, setDataResourceID, setInput |
| Methods inherited from class uk.org.ogsadai.client.toolkit.activity.RequestComponent |
getDataService, getName, getSession, setDataService, setSession |
| 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 java.lang.String mColumnName
private int mColumnIndex
| Constructor Detail |
public WebRowSetProjection(ActivityOutput input,
java.lang.String columnName)
input - Output from another activity which provides the WebRowSet.columnName - Name of column to project onto.
java.lang.IllegalArgumentException - If input or columnName
are null.
public WebRowSetProjection(ActivityOutput input,
int columnIndex)
input - Output from another activity which provides the WebRowSet.columnIndex - Index of column to project onto.
java.lang.IllegalArgumentException - If input is null or
columnIndex < 1.| Method Detail |
public final void setInput(ActivityOutput input)
input - Output from another activity.
java.lang.IllegalArgumentException - If input is null.public ActivityOutput getOutput()
protected java.lang.String generateXML()
generateXML in class ActivityDataFormatException - if the result data is not in the expected format
NoActivityOutputException - if there is no result data for this activity.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||