|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.raritantechnologies.webServices.PatternWebServiceFormatter
Generates a WebServices request using a XML Pattern Input. Uses a
WebServiceStringFilter to execute the command. The
returned XML is put into an output IResult field.
<Formatter
formatterClass="com.raritantechnologies.webServices.PatternWebServiceFormatter"
templateFileName="[ file name of Velocity Template ]" >
<WebServiceStringFilter>
</WebServiceStringFilter>
<!-- XMLResultProcessor -- transformed returned SOAP response to a nested IResultSet -->
<XMLResultProcessor resultTagName="[name for result tags]"
addResultID="true"
debug="true|false" >
IResult
Documents
</XMLResultProcessor>
<!-- Fixed Velocity Context Fields -->
<ContextFields>
</ContextFields>
</Formatter>
| Field Summary |
| Fields inherited from interface com.raritantechnologies.searchApp.IFieldFormatter |
TEMPLATE |
| Constructor Summary | |
PatternWebServiceFormatter()
|
|
| Method Summary | |
java.lang.String |
formatField(java.lang.String fieldVal)
Reformats a field value. |
java.lang.String |
formatField(java.lang.String sessionID,
java.lang.String fieldVal)
Reformats a field value. |
void |
formatResultField(IResult result)
Formats a result field "in place". |
void |
formatResultField(java.lang.String sessionID,
IResult result)
Formats a result field "in place", incorporating session context. |
java.lang.String |
getConfigurationXML()
|
java.lang.String |
getConfigurationXML(java.lang.String configurationTemplate)
|
java.lang.String |
getFieldName()
Returns the name of the result field that this formatter can reformat. |
IStringFilter |
getWebServiceFilter()
|
void |
initialize(org.w3c.dom.Element elem)
Initializes the formatter from configuration XML element. |
void |
setWebServiceFilter(WebServiceStringFilter webServiceFilter)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public PatternWebServiceFormatter()
| Method Detail |
public void formatResultField(java.lang.String sessionID,
IResult result)
IFieldFormatter
formatResultField in interface IFieldFormattersessionID - The session key needed to lookup any session content stored
in the session data cache.result - The result object that is to be formatted.public void formatResultField(IResult result)
formatResultField in interface IFieldFormatterresult - The result object that is to be formatted.public java.lang.String getFieldName()
getFieldName in interface IFieldFormatter
public java.lang.String formatField(java.lang.String sessionID,
java.lang.String fieldVal)
formatField in interface IFieldFormattersessionID - The session key needed to lookup any session content stored
in the session data cache.fieldVal - The field value to be reformatted.
public java.lang.String formatField(java.lang.String fieldVal)
IFieldFormatter
formatField in interface IFieldFormatterfieldVal - The field value to be reformatted.
public void initialize(org.w3c.dom.Element elem)
IFieldFormatter
initialize in interface IFieldFormatterpublic java.lang.String getConfigurationXML()
getConfigurationXML in interface IFieldFormatterpublic java.lang.String getConfigurationXML(java.lang.String configurationTemplate)
getConfigurationXML in interface IFieldFormatterpublic IStringFilter getWebServiceFilter()
public void setWebServiceFilter(WebServiceStringFilter webServiceFilter)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||