org.apache.ddlutils.io
Class SetColumnPropertyFromSubElementRule

java.lang.Object
  extended byorg.apache.commons.digester.Rule
      extended byorg.apache.ddlutils.io.SetColumnPropertyFromSubElementRule

public class SetColumnPropertyFromSubElementRule
extends Rule

A digester rule for setting a bean property that corresponds to a column with the value derived from a sub element.

Version:
$Revision: 289996 $
Author:
Thomas Dudziak

Field Summary
 
Fields inherited from class org.apache.commons.digester.Rule
digester, namespaceURI
 
Constructor Summary
SetColumnPropertyFromSubElementRule(Column column, SqlTypeConverter converter)
          Creates a new creation rule that sets the property corresponding to the given column.
 
Method Summary
 void body(String text)
          
 
Methods inherited from class org.apache.commons.digester.Rule
begin, begin, body, end, end, finish, getDigester, getNamespaceURI, setDigester, setNamespaceURI
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SetColumnPropertyFromSubElementRule

public SetColumnPropertyFromSubElementRule(Column column,
                                           SqlTypeConverter converter)
Creates a new creation rule that sets the property corresponding to the given column.

Parameters:
column - The column that this rule shall set
converter - The converter to be used for this column
Method Detail

body

public void body(String text)
          throws Exception

Throws:
Exception


Copyright © 2005 Apache Software Foundation. All Rights Reserved.