|
|||||||||||
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. |
java.lang.String |
getjSONMessage()
|
java.util.Map<java.lang.String,java.lang.Object> |
getMsgProperties()
|
protected java.lang.String |
parseJSONMessage(com.ibm.json.java.OrderedJSONObject opSetObject)
Method returns a String containing the JSON message as required by the DIS Subscription Queue. |
protected java.util.Map<java.lang.String,java.lang.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(java.io.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(java.io.InputStream idmlInpStrm) throws java.lang.Exception
data
- The InputStream containing the IDML Message.
java.lang.Exception
- if a problem occurs.protected java.util.Map<java.lang.String,java.lang.Object> parseProperties(com.ibm.json.java.OrderedJSONObject sourceObject) throws java.lang.Exception
sourceObject
- The OrderedJSON object containing the IDML Message Properties.
java.lang.Exception
- if a problem occurs.protected java.lang.String parseJSONMessage(com.ibm.json.java.OrderedJSONObject opSetObject) throws java.lang.Exception
OrderedJSONObject
- The object containing the containing DIS Operation Set.
java.lang.Exception
- if a problem occurs.protected void constructCiAndRelationshipJson(com.ibm.json.java.OrderedJSONObject operJsonObj, com.ibm.json.java.OrderedJSONObject newOperJsonObj) throws java.lang.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.
java.lang.Exception
- if a problem occurs.public java.lang.String getjSONMessage()
public java.util.Map<java.lang.String,java.lang.Object> getMsgProperties()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |