org.jenkinsci.jruby
Class RubyStringConverter

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

public class RubyStringConverter
extends AbstractRubyPrimitiveValueConverter<org.jruby.RubyString>

Author:
Kohsuke Kawaguchi

Field Summary
 
Fields inherited from class org.jenkinsci.jruby.AbstractRubyPrimitiveValueConverter
runtime, type
 
Constructor Summary
RubyStringConverter(org.jruby.Ruby runtime)
           
 
Method Summary
 org.jruby.RubyString fromString(String str)
           
protected  String toString(org.jruby.RubyString 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

RubyStringConverter

public RubyStringConverter(org.jruby.Ruby runtime)
Method Detail

toString

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

fromString

public org.jruby.RubyString fromString(String str)
Specified by:
fromString in class AbstractRubyPrimitiveValueConverter<org.jruby.RubyString>


Copyright © 2004-2011. All Rights Reserved.