com.ibm.tivoli.maximo.oslc.consumer

Class DialogEventParser

  • java.lang.Object
    • com.ibm.tivoli.maximo.oslc.consumer.DialogEventParser


  • public class DialogEventParser
    extends java.lang.Object
    This a utility class which is responsible for parsing the message received from OSLC providers through the delegated UIs. { "oslc:results" : [{ "oslc:label": "Bug 123: Server crash", "rdf:resource": "http://example.com/bug123" }, { "oslc:label": "Bug 456: Client hangs on startup", "rdf:resource": "http://example.com/bug456" } ] }
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String OSLC_LABEL 
      static java.lang.String OSLC_RDF_RESOURCE 
    • Constructor Summary

      Constructors 
      Constructor and Description
      DialogEventParser(java.lang.String msg) 
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.lang.String getInfo(int pos, java.lang.String label) 
      java.util.List getRsourceInfoList() 
      int getSize() 
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • getSize

        public int getSize()
      • getInfo

        public java.lang.String getInfo(int pos,
                                        java.lang.String label)
      • getRsourceInfoList

        public java.util.List getRsourceInfoList()