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 boolean
endArray()
void
endJSON()
boolean
endObject()
boolean
endObjectEntry()
Object
getResult()
boolean
primitive(Object value)
boolean
startArray()
void
startJSON()
boolean
startObject()
boolean
startObjectEntry(String key)
-
-
-
Method Detail
-
startJSON
public void startJSON() throws org.json.simple.parser.ParseException, IOException
- Specified by:
startJSON
in interfaceorg.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 interfaceorg.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 interfaceorg.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 interfaceorg.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 interfaceorg.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 interfaceorg.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 interfaceorg.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 interfaceorg.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 interfaceorg.json.simple.parser.ContentHandler
- Throws:
org.json.simple.parser.ParseException
IOException
-
getResult
public Object getResult()
-
-