1 28 29 30 package com.caucho.widget; 31 32 import com.caucho.util.L10N; 33 34 37 public class EmptyWidgetState 38 extends WidgetState 39 { 40 public static EmptyWidgetState EMPTY_STATE = new EmptyWidgetState(); 41 42 private static L10N L = new L10N( EmptyWidgetState.class ); 43 44 public void decode( String [] data ) 45 throws WidgetException 46 { 47 } 48 49 public String [] encode() 50 throws WidgetException 51 { 52 return null; 53 } 54 55 public String toString() 56 { 57 return ""; 58 } 59 60 public boolean equals( Object o ) 61 { 62 return (o instanceof EmptyWidgetState); 63 } 64 65 public int hashCode() 66 { 67 return 12611; 68 } 69 70 public void reset() 71 { 72 } 73 } 74 | Popular Tags |