com.raritantechnologies.webServices.officeResearchService
Class ResearchServiceOutputMapper

java.lang.Object
  extended bycom.raritantechnologies.webServices.officeResearchService.ResearchServiceOutputMapper
All Implemented Interfaces:
IWebServiceOutputMapper

public class ResearchServiceOutputMapper
extends java.lang.Object
implements IWebServiceOutputMapper

Simple Microsoft Office Research Pane OutputMapper that uses the Document schema for sending basic metadata (title, summary, url). Use the ResearchServiceContentOutputMapper for more advanced field rendering.

XML Configuration Template:
  <OutputMap outputMapperClass="com.raritantechnologies.webServices.officeResearchService.ResearchServiceOutputMapper"
              federatorGUID="[ Services GUID for this deployment ]"
              titleField="[ result field used for title display ]"
              urlField="[ result field used for url display ]"
              descriptionField="[ result field used for description display ]"
              urlLabel="[ hyperlink label ]" >

    <HeaderXML>
      <![CDATA[  The XML that is to be included as the header in Office Research Format ] ]]>
    </HeaderXML>

    <FooterXML>
      <![CDATA[  The XML that is to be included as the header in Office Research Format ] ]]>
    </FooterXML>

  </OutputMap>
 

Developed by Raritan Technologies Inc..

Author:
Ted Sullivan

Constructor Summary
ResearchServiceOutputMapper()
           
 
Method Summary
 SOAPBodyElement convertResponse(IResultSet response, java.lang.String status, java.lang.String reason)
           
 void initialize(org.w3c.dom.Element outputMapElem)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResearchServiceOutputMapper

public ResearchServiceOutputMapper()
Method Detail

initialize

public void initialize(org.w3c.dom.Element outputMapElem)
Specified by:
initialize in interface IWebServiceOutputMapper

convertResponse

public SOAPBodyElement convertResponse(IResultSet response,
                                       java.lang.String status,
                                       java.lang.String reason)
Specified by:
convertResponse in interface IWebServiceOutputMapper