org.jenkinsci.jruby
Class RubySymbolConverter

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

public class RubySymbolConverter
extends AbstractRubyPrimitiveValueConverter<org.jruby.RubySymbol>

Author:
Kohsuke Kawaguchi

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

RubySymbolConverter

public RubySymbolConverter(RubyRuntimeResolver resolver)
Method Detail

toString

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

fromString

public org.jruby.RubySymbol fromString(org.jruby.Ruby runtime,
                                       String str)
Specified by:
fromString in class AbstractRubyPrimitiveValueConverter<org.jruby.RubySymbol>


Copyright © 2004-2011. All Rights Reserved.