org.wso2.carbon.integration.common.tests.utils
Class JaggerySerevrTestUtils

java.lang.Object
  extended by org.wso2.carbon.integration.common.tests.utils.JaggerySerevrTestUtils
All Implemented Interfaces:
org.json.simple.parser.ContentHandler

public class JaggerySerevrTestUtils
extends Object
implements org.json.simple.parser.ContentHandler


Constructor Summary
JaggerySerevrTestUtils()
           
 
Method Summary
 boolean endArray()
           
 void endJSON()
           
 boolean endObject()
           
 boolean endObjectEntry()
           
 Object getValue()
           
 boolean isEnd()
           
 boolean isFound()
           
 boolean primitive(Object value)
           
 void setFound(boolean found)
           
 void setMatchKey(String matchKey)
           
 boolean startArray()
           
 void startJSON()
           
 boolean startObject()
           
 boolean startObjectEntry(String key)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JaggerySerevrTestUtils

public JaggerySerevrTestUtils()
Method Detail

setMatchKey

public void setMatchKey(String matchKey)

getValue

public Object getValue()

isEnd

public boolean isEnd()

setFound

public void setFound(boolean found)

isFound

public boolean isFound()

startJSON

public void startJSON()
               throws org.json.simple.parser.ParseException,
                      IOException
Specified by:
startJSON in interface org.json.simple.parser.ContentHandler
Throws:
org.json.simple.parser.ParseException
IOException

endJSON

public void endJSON()
             throws org.json.simple.parser.ParseException,
                    IOException
Specified by:
endJSON in interface org.json.simple.parser.ContentHandler
Throws:
org.json.simple.parser.ParseException
IOException

primitive

public boolean primitive(Object value)
                  throws org.json.simple.parser.ParseException,
                         IOException
Specified by:
primitive in interface org.json.simple.parser.ContentHandler
Throws:
org.json.simple.parser.ParseException
IOException

startArray

public boolean startArray()
                   throws org.json.simple.parser.ParseException,
                          IOException
Specified by:
startArray in interface org.json.simple.parser.ContentHandler
Throws:
org.json.simple.parser.ParseException
IOException

startObject

public boolean startObject()
                    throws org.json.simple.parser.ParseException,
                           IOException
Specified by:
startObject in interface org.json.simple.parser.ContentHandler
Throws:
org.json.simple.parser.ParseException
IOException

startObjectEntry

public boolean startObjectEntry(String key)
                         throws org.json.simple.parser.ParseException,
                                IOException
Specified by:
startObjectEntry in interface org.json.simple.parser.ContentHandler
Throws:
org.json.simple.parser.ParseException
IOException

endArray

public boolean endArray()
                 throws org.json.simple.parser.ParseException,
                        IOException
Specified by:
endArray in interface org.json.simple.parser.ContentHandler
Throws:
org.json.simple.parser.ParseException
IOException

endObject

public boolean endObject()
                  throws org.json.simple.parser.ParseException,
                         IOException
Specified by:
endObject in interface org.json.simple.parser.ContentHandler
Throws:
org.json.simple.parser.ParseException
IOException

endObjectEntry

public boolean endObjectEntry()
                       throws org.json.simple.parser.ParseException,
                              IOException
Specified by:
endObjectEntry in interface org.json.simple.parser.ContentHandler
Throws:
org.json.simple.parser.ParseException
IOException


Copyright © 2015 WSO2. All rights reserved.