< prev index next >

src/java.corba/share/classes/com/sun/corba/se/spi/orb/OperationFactory.java

Print this page




 192     }
 193 
 194     private static Operation valueActionImpl = new ValueAction() ;
 195 
 196     private static class IdentityAction extends OperationBase
 197     {
 198         public Object operate( Object value )
 199         {
 200             return value ;
 201         }
 202 
 203         public String toString() { return "identityAction" ; }
 204     }
 205 
 206     private static Operation identityActionImpl = new IdentityAction() ;
 207 
 208     private static class BooleanAction extends OperationBase
 209     {
 210         public Object operate( Object value )
 211         {
 212             return new Boolean( getString( value ) ) ;
 213         }
 214 
 215         public String toString() { return "booleanAction" ; }
 216     }
 217 
 218     private static Operation booleanActionImpl = new BooleanAction() ;
 219 
 220     private static class IntegerAction extends OperationBase
 221     {
 222         public Object operate( Object value )
 223         {
 224             return new Integer( getString( value ) ) ;
 225         }
 226 
 227         public String toString() { return "integerAction" ; }
 228     }
 229 
 230     private static Operation integerActionImpl = new IntegerAction() ;
 231 
 232     private static class StringAction extends OperationBase




 192     }
 193 
 194     private static Operation valueActionImpl = new ValueAction() ;
 195 
 196     private static class IdentityAction extends OperationBase
 197     {
 198         public Object operate( Object value )
 199         {
 200             return value ;
 201         }
 202 
 203         public String toString() { return "identityAction" ; }
 204     }
 205 
 206     private static Operation identityActionImpl = new IdentityAction() ;
 207 
 208     private static class BooleanAction extends OperationBase
 209     {
 210         public Object operate( Object value )
 211         {
 212             return Boolean.valueOf( getString( value ) ) ;
 213         }
 214 
 215         public String toString() { return "booleanAction" ; }
 216     }
 217 
 218     private static Operation booleanActionImpl = new BooleanAction() ;
 219 
 220     private static class IntegerAction extends OperationBase
 221     {
 222         public Object operate( Object value )
 223         {
 224             return new Integer( getString( value ) ) ;
 225         }
 226 
 227         public String toString() { return "integerAction" ; }
 228     }
 229 
 230     private static Operation integerActionImpl = new IntegerAction() ;
 231 
 232     private static class StringAction extends OperationBase


< prev index next >