Package org.teiid.translator.ws
Class SimpleContentHandler
- java.lang.Object
-
- org.teiid.translator.ws.SimpleContentHandler
-
- All Implemented Interfaces:
org.json.simple.parser.ContentHandler
public class SimpleContentHandler extends Object implements org.json.simple.parser.ContentHandler
-
-
Constructor Summary
Constructors Constructor Description SimpleContentHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanendArray()voidendJSON()booleanendObject()booleanendObjectEntry()ObjectgetResult()booleanprimitive(Object value)booleanstartArray()voidstartJSON()booleanstartObject()booleanstartObjectEntry(String key)
-
-
-
Method Detail
-
startJSON
public void startJSON() throws org.json.simple.parser.ParseException, IOException- Specified by:
startJSONin interfaceorg.json.simple.parser.ContentHandler- Throws:
org.json.simple.parser.ParseExceptionIOException
-
endJSON
public void endJSON() throws org.json.simple.parser.ParseException, IOException- Specified by:
endJSONin interfaceorg.json.simple.parser.ContentHandler- Throws:
org.json.simple.parser.ParseExceptionIOException
-
startObject
public boolean startObject() throws org.json.simple.parser.ParseException, IOException- Specified by:
startObjectin interfaceorg.json.simple.parser.ContentHandler- Throws:
org.json.simple.parser.ParseExceptionIOException
-
endObject
public boolean endObject() throws org.json.simple.parser.ParseException, IOException- Specified by:
endObjectin interfaceorg.json.simple.parser.ContentHandler- Throws:
org.json.simple.parser.ParseExceptionIOException
-
startObjectEntry
public boolean startObjectEntry(String key) throws org.json.simple.parser.ParseException, IOException
- Specified by:
startObjectEntryin interfaceorg.json.simple.parser.ContentHandler- Throws:
org.json.simple.parser.ParseExceptionIOException
-
endObjectEntry
public boolean endObjectEntry() throws org.json.simple.parser.ParseException, IOException- Specified by:
endObjectEntryin interfaceorg.json.simple.parser.ContentHandler- Throws:
org.json.simple.parser.ParseExceptionIOException
-
startArray
public boolean startArray() throws org.json.simple.parser.ParseException, IOException- Specified by:
startArrayin interfaceorg.json.simple.parser.ContentHandler- Throws:
org.json.simple.parser.ParseExceptionIOException
-
endArray
public boolean endArray() throws org.json.simple.parser.ParseException, IOException- Specified by:
endArrayin interfaceorg.json.simple.parser.ContentHandler- Throws:
org.json.simple.parser.ParseExceptionIOException
-
primitive
public boolean primitive(Object value) throws org.json.simple.parser.ParseException, IOException
- Specified by:
primitivein interfaceorg.json.simple.parser.ContentHandler- Throws:
org.json.simple.parser.ParseExceptionIOException
-
getResult
public Object getResult()
-
-