cvm.model.handlers.schema.control
Class ConnectionMediumNameTypeRefConverter

java.lang.Object
  extended by com.thoughtworks.xstream.converters.basic.AbstractSingleValueConverter
      extended by cvm.model.handlers.schema.control.ConnectionMediumNameTypeRefConverter
All Implemented Interfaces:
com.thoughtworks.xstream.converters.ConverterMatcher, com.thoughtworks.xstream.converters.SingleValueConverter

public class ConnectionMediumNameTypeRefConverter
extends com.thoughtworks.xstream.converters.basic.AbstractSingleValueConverter

Converter for the ConnectionDevCaps for parsing and writing.

Author:
Frank Hernandez

Constructor Summary
ConnectionMediumNameTypeRefConverter()
           
 
Method Summary
 boolean canConvert(java.lang.Class clazz)
          Checks what this converter can convert.
 java.lang.Object fromString(java.lang.String str)
          Creates the display format for the XML value.
 
Methods inherited from class com.thoughtworks.xstream.converters.basic.AbstractSingleValueConverter
toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConnectionMediumNameTypeRefConverter

public ConnectionMediumNameTypeRefConverter()
Method Detail

canConvert

public boolean canConvert(java.lang.Class clazz)
Checks what this converter can convert.

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)
Creates the display format for the XML value.

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