org.apache.commons.jelly.tags.swing.converters
Class DebugGraphicsConverter

java.lang.Object
  extended byorg.apache.commons.jelly.tags.swing.converters.DebugGraphicsConverter
All Implemented Interfaces:
org.apache.commons.beanutils.Converter

public class DebugGraphicsConverter
extends java.lang.Object
implements org.apache.commons.beanutils.Converter

A Converter that turns Strings in one of the constants of DebugGraphics to their appropriate integer constant.

Version:
$Revision: 155420 $
Author:
Paul Libbrecht

Constructor Summary
DebugGraphicsConverter()
           
 
Method Summary
 java.lang.Object convert(java.lang.Class type, java.lang.Object value)
          Part of the Converter interface.
 java.lang.Object convert(java.lang.Object value)
          This is not part of the converter interface, it's for use by classes that don't use DebugGraphicsConverter through BeanUtils.
protected  int recognizeOption(java.lang.String value)
           
static void register()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DebugGraphicsConverter

public DebugGraphicsConverter()
Method Detail

register

public static void register()

convert

public java.lang.Object convert(java.lang.Class type,
                                java.lang.Object value)
Part of the Converter interface.

Specified by:
convert in interface org.apache.commons.beanutils.Converter
See Also:
Converter.convert(java.lang.Class, java.lang.Object)

convert

public java.lang.Object convert(java.lang.Object value)
This is not part of the converter interface, it's for use by classes that don't use DebugGraphicsConverter through BeanUtils.

Returns:

recognizeOption

protected int recognizeOption(java.lang.String value)


Copyright © 2002-2006 Apache Software Foundation. All Rights Reserved.