IBM InfoSphere Master Data Management, Version 11.3The parser is responsible for parsing the request and constructing business objects that contain the data sent in the request.
These business objects are returned back to the request handler for subsequent business processing through the business proxy layer.
The Request and Response Framework allows callers to select the parser for every incoming request. Multiple parsers can be configured in the same deployment. The framework comes packaged with multiple parsers to handle different request formats, including the InfoSphere® MDM default XML request format and the composite XML parser.
You can build your own parsers to handle a specific request format. A parser must implement the com.dwl.base.requestHandler.interfaces.IRequestParser interface. You must configure the new parser in the DWLCommon_extension.properties file to make it available to the Request and Response Framework. Refer to the Javadoc for more information on the interface and the methods that should be implemented.
The parser implementation class is created using a factory class. This factory class is also pluggable. A default parser factory class, com.dwl.base.requestHandler.RequestParserFactory, is provided to create the parser based on the Parser value in the incoming context parameter. The new class must implement the com.dwl.base.requestHandler.interfaces.IRequestParserFactory interface. For more information, see the Parse request topic.