|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.ibm.portal.streaming.json.EmptyJsonHandler
EmptyJsonContentHandler
instead
@Deprecated public class EmptyJsonHandler
Implementation of a JSONHandler
that does nothing
Constructor Summary | |
---|---|
EmptyJsonHandler()
Deprecated. |
Method Summary | |
---|---|
void |
endArray()
Deprecated. Finishes a JSON array |
void |
endDocument()
Deprecated. Finish / end of a JSON document |
void |
endJSONObject()
Deprecated. Finishes a JSON object. |
void |
endPair()
Deprecated. Finishes a JSON pair |
void |
pair(java.lang.String name,
boolean value)
Deprecated. Writes a complete JSON pair, including it's begin and end events. |
void |
pair(java.lang.String name,
double value)
Deprecated. Writes a complete JSON pair, including it's begin and end events. |
void |
pair(java.lang.String name,
int value)
Deprecated. Writes a complete JSON pair, including it's begin and end events. |
void |
pair(java.lang.String name,
java.lang.String value)
Deprecated. Writes a complete JSON pair, including it's begin and end events. |
void |
startArray()
Deprecated. Starts a JSON array |
void |
startDocument()
Deprecated. Start / Beginn of a JSON document |
void |
startJSONObject()
Deprecated. Start of a JSON object. |
void |
startPair(java.lang.String name)
Deprecated. Start of a JSON pair. |
void |
value(boolean aValue)
Deprecated. Writes a boolean value, may e. |
void |
value(double aValue)
Deprecated. Writes a double value, may e. |
void |
value(int aValue)
Deprecated. Writes an int value, may e. |
void |
value(java.lang.String aValue)
Deprecated. Writes a String value, may e. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EmptyJsonHandler()
Method Detail |
---|
public void endArray() throws java.io.IOException
JSONHandler
endArray
in interface JSONHandler
java.io.IOException
- if the event could not be createdpublic void endDocument() throws java.io.IOException
JSONHandler
endDocument
in interface JSONHandler
java.io.IOException
- if the event could not be createdpublic void endJSONObject() throws java.io.IOException
JSONHandler
endJSONObject
in interface JSONHandler
java.io.IOException
- if the event could not be createdpublic void endPair() throws java.io.IOException
JSONHandler
endPair
in interface JSONHandler
java.io.IOException
- if the event could not be createdpublic void pair(java.lang.String name, java.lang.String value) throws java.io.IOException
JSONHandler
pair
in interface JSONHandler
name
- The name of the pairvalue
- The String
value of the pair
java.io.IOException
- if the event could not be createdpublic void pair(java.lang.String name, int value) throws java.io.IOException
JSONHandler
pair
in interface JSONHandler
name
- The name of the pairvalue
- The int
value of the pair
java.io.IOException
- if the event could not be createdpublic void pair(java.lang.String name, double value) throws java.io.IOException
JSONHandler
pair
in interface JSONHandler
name
- The name of the pairvalue
- The double
value of the pair
java.io.IOException
- if the event could not be createdpublic void pair(java.lang.String name, boolean value) throws java.io.IOException
JSONHandler
pair
in interface JSONHandler
name
- The name of the pairvalue
- The boolean
value of the pair
java.io.IOException
- if the event could not be createdpublic void startArray() throws java.io.IOException
JSONHandler
startArray
in interface JSONHandler
java.io.IOException
- if the event could not be createdpublic void startDocument() throws java.io.IOException
JSONHandler
startDocument
in interface JSONHandler
java.io.IOException
- if the event could not be createdpublic void startJSONObject() throws java.io.IOException
JSONHandler
startJSONObject
in interface JSONHandler
java.io.IOException
- if the event could not be createdpublic void startPair(java.lang.String name) throws java.io.IOException
JSONHandler
startPair
in interface JSONHandler
name
- The name of the pair
java.io.IOException
- if the event could not be createdpublic void value(java.lang.String aValue) throws java.io.IOException
JSONHandler
String
value, may e. g. be used in a JSON array.
Note this also covers the JSON literal null
value
in interface JSONHandler
aValue
- The String
value or null
if the
underlying String represents the JSON literal
null
java.io.IOException
- if the event could not be createdpublic void value(boolean aValue) throws java.io.IOException
JSONHandler
boolean
value, may e. g. be used in a JSON array.
value
in interface JSONHandler
aValue
- The boolean
value
java.io.IOException
- if the event could not be createdpublic void value(double aValue) throws java.io.IOException
JSONHandler
double
value, may e. g. be used in a JSON array.
value
in interface JSONHandler
aValue
- The double
value.
java.io.IOException
- if the event could not be createdpublic void value(int aValue) throws java.io.IOException
JSONHandler
int
value, may e. g. be used in a JSON array.
value
in interface JSONHandler
aValue
- The int
value
java.io.IOException
- if the event could not be created
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |