|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.di.connector.disb.DISBIDMLMessageTransformer
public class DISBIDMLMessageTransformer
This class is used to transform the IDML to JSON Messages.
Note: This class is for internal usage only. Any dependency from the
end-user will not be supported. Changes to this class will happen without a
warning.
Constructor Summary | |
---|---|
DISBIDMLMessageTransformer()
|
Method Summary | |
---|---|
protected void |
constructCiAndRelationshipJson(com.ibm.json.java.OrderedJSONObject operJsonObj,
com.ibm.json.java.OrderedJSONObject newOperJsonObj)
Method populates a new OrderedJSONObject with the CI and Relationships as required by the DIS Subscription Queue. |
String |
getjSONMessage()
|
Map<String,Object> |
getMsgProperties()
|
protected String |
parseJSONMessage(com.ibm.json.java.OrderedJSONObject opSetObject)
Method returns a String containing the JSON message as required by the DIS Subscription Queue. |
protected Map<String,Object> |
parseProperties(com.ibm.json.java.OrderedJSONObject sourceObject)
Method returns a map containing the JMS properties as required by the DIS Subscription Queue. |
void |
transformIDML(InputStream idmlInpStrm)
Method transforms the IDML input stream to JSON data. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DISBIDMLMessageTransformer()
Method Detail |
---|
public void transformIDML(InputStream idmlInpStrm) throws Exception
data
- The InputStream containing the IDML Message.
Exception
- if a problem occurs.protected Map<String,Object> parseProperties(com.ibm.json.java.OrderedJSONObject sourceObject) throws Exception
sourceObject
- The OrderedJSON object containing the IDML Message Properties.
Exception
- if a problem occurs.protected String parseJSONMessage(com.ibm.json.java.OrderedJSONObject opSetObject) throws Exception
OrderedJSONObject
- The object containing the containing DIS Operation Set.
Exception
- if a problem occurs.protected void constructCiAndRelationshipJson(com.ibm.json.java.OrderedJSONObject operJsonObj, com.ibm.json.java.OrderedJSONObject newOperJsonObj) throws Exception
operJsonObj
- The OrderedJSONObject object containing the JSON Message from
IDML.newOperJsonObj
- The new OrderedJSONObject that needs to be populated with the
JSON message as required by the DIS Subscription Queue.
Exception
- if a problem occurs.public String getjSONMessage()
public Map<String,Object> getMsgProperties()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |