org.jenkinsci.jruby
Class RubyIntegerConverter

java.lang.Object
  extended by org.jenkinsci.jruby.AbstractRubyPrimitiveValueConverter<org.jruby.RubyBignum>
      extended by org.jenkinsci.jruby.RubyIntegerConverter
All Implemented Interfaces:
com.thoughtworks.xstream.converters.Converter, com.thoughtworks.xstream.converters.ConverterMatcher

public class RubyIntegerConverter
extends AbstractRubyPrimitiveValueConverter<org.jruby.RubyBignum>

Author:
Kohsuke Kawaguchi

Field Summary
 
Fields inherited from class org.jenkinsci.jruby.AbstractRubyPrimitiveValueConverter
resolver, type
 
Constructor Summary
RubyIntegerConverter(RubyRuntimeResolver resolver)
           
 
Method Summary
protected  org.jruby.RubyBignum fromString(org.jruby.Ruby runtime, String value)
           
protected  String toString(org.jruby.RubyBignum obj)
           
 
Methods inherited from class org.jenkinsci.jruby.AbstractRubyPrimitiveValueConverter
canConvert, marshal, unmarshal
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RubyIntegerConverter

public RubyIntegerConverter(RubyRuntimeResolver resolver)
Method Detail

fromString

protected org.jruby.RubyBignum fromString(org.jruby.Ruby runtime,
                                          String value)
Specified by:
fromString in class AbstractRubyPrimitiveValueConverter<org.jruby.RubyBignum>

toString

protected String toString(org.jruby.RubyBignum obj)
Specified by:
toString in class AbstractRubyPrimitiveValueConverter<org.jruby.RubyBignum>


Copyright © 2004-2011. All Rights Reserved.