Tree PREV CLASS NEXT CLASS SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD com.ibm.portal.streaming.json
Interface JsonContentHandlerProvider
- All Known Implementing Classes:
- JsonParserOutputStream, JsonParserWriter
public interface JsonContentHandlerProviderInterface on a class that manages JsonContentHandler callbacks.
- Since:
- 7.0.0.2
Method Summary JsonContentHandler getJsonContentHandler()
Return the current content handler.void setJsonContentHandler(JsonContentHandler handler)
Allow an application to register a content event handler.
Method Detail getJsonContentHandler
JsonContentHandler getJsonContentHandler()
- Return the current content handler.
- Returns:
- The current content handler, or null if none has been registered.
- See Also:
- #setContentHandler
setJsonContentHandler
void setJsonContentHandler(JsonContentHandler handler)
- Allow an application to register a content event handler.
If the application does not register a content handler, all content events reported by the JSON parser will be silently ignored.
Applications may register a new or different handler in the middle of a parse, and the JSON parser must begin using the new handler immediately.
- Parameters:
- handler - The content handler.
- See Also:
- getJsonContentHandler()
Tree PREV CLASS NEXT CLASS SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD