public static final void setWriter ( String format , TreeWriter writer ) { String key = format . toLowerCase ( ) ; writers . put ( key , writer ) ; if ( JSON . equals ( key ) ) { cachedJsonWriter = writer ; } }
Binds the given TreeWriter instance to the specified data format .