| java.lang.Object org.apache.cocoon.forms.datatype.convertor.BeanConvertor
BeanConvertor | public class BeanConvertor implements Convertor(Code) | | Converts String representation of beans to bean instances and vice versa.
Sometimes the toString() method doesn't give a good representation of a
Java Bean suited for selection list IDs. For this an optional
<fd:id-path>jx-path</fd:id-path> attribute can be specified to
have this convertor to use a different string representation.
version: $Id$ |
BeanConvertor | public BeanConvertor(String className, String idPath)(Code) | | Construct a new BeanConvertor for a class
Parameters: className - The package-qualified name of the class implementingthe typesafe enum pattern. Parameters: idPath - Path to the identity field of the bean throws: CascadingRuntimeException - If the class cannot be found |
generateSaxFragment | public void generateSaxFragment(ContentHandler contentHandler, Locale locale) throws SAXException(Code) | | We do not enerate any SAX events
Parameters: contentHandler - The contentHandler Parameters: locale - The locale throws: SAXException - Just in case of failure that could never happen |
|
|