com.raritantechnologies.webServices.officeResearchService
Class ResearchServiceContentMapper

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

public class ResearchServiceContentMapper
extends java.lang.Object
implements IWebServiceOutputMapper

Simple Research Service 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.ResearchServiceContentMapper"
              federatorGUID="[ Services GUID for this deployment ]"
              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>

    <ContentFields>
      <Field ID="[ IResult field name ]" ....
    </ContentFields>

  </OutputMap>
 

Developed by Raritan Technologies Inc..

Author:
Ted Sullivan

Constructor Summary
ResearchServiceContentMapper()
           
 
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

ResearchServiceContentMapper

public ResearchServiceContentMapper()
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