public static Selector decode ( ObjectInput buf ) throws IOException { if ( buf . readByte ( ) != VERSION ) throw new IOException ( ) ; try { return decodeSubtree ( buf ) ; } catch ( Exception e ) { // No FFDC Code Needed. // FFDC driven by wrapper class. FFDC . processException ( cclass , "com.ibm.ws.sib.matchspace.selector.impl.Selector.decode" , e , "1:191:1.19" ) ; //TODO: include buf as parameter throw new IllegalArgumentException ( ) ; } }
The decode method turns an ObjectInput into a Selector tree .