hudson.plugins.serenitec.util.model
Class Priority.PriorityConverter

java.lang.Object
  extended by com.thoughtworks.xstream.converters.basic.AbstractSingleValueConverter
      extended by hudson.plugins.serenitec.util.model.Priority.PriorityConverter
All Implemented Interfaces:
com.thoughtworks.xstream.converters.ConverterMatcher, com.thoughtworks.xstream.converters.SingleValueConverter
Enclosing class:
Priority

public static final class Priority.PriorityConverter
extends com.thoughtworks.xstream.converters.basic.AbstractSingleValueConverter

Converts priorities for XStream deserialization.


Constructor Summary
Priority.PriorityConverter()
           
 
Method Summary
 boolean canConvert(java.lang.Class type)
          
 java.lang.Object fromString(java.lang.String str)
          
 
Methods inherited from class com.thoughtworks.xstream.converters.basic.AbstractSingleValueConverter
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Priority.PriorityConverter

public Priority.PriorityConverter()
Method Detail

canConvert

public boolean canConvert(java.lang.Class type)

Specified by:
canConvert in interface com.thoughtworks.xstream.converters.ConverterMatcher
Specified by:
canConvert in class com.thoughtworks.xstream.converters.basic.AbstractSingleValueConverter

fromString

public java.lang.Object fromString(java.lang.String str)

Specified by:
fromString in interface com.thoughtworks.xstream.converters.SingleValueConverter
Specified by:
fromString in class com.thoughtworks.xstream.converters.basic.AbstractSingleValueConverter


Copyright © 2008. All Rights Reserved.