1 16 package org.apache.cocoon.forms.datatype.typeimpl; 17 18 import org.apache.cocoon.forms.datatype.Datatype; 19 import org.apache.cocoon.forms.datatype.DatatypeManager; 20 21 import org.w3c.dom.Element ; 22 23 24 30 public class BeanTypeBuilder 31 extends AbstractDatatypeBuilder 32 { 33 35 39 public Datatype build( final Element datatypeElement, 40 final boolean arrayType, 41 final DatatypeManager datatypeManager ) 42 throws Exception 43 { 44 final BeanType type = new BeanType( arrayType, this ); 45 buildValidationRules( datatypeElement, type, datatypeManager ); 46 buildConvertor( datatypeElement, type ); 47 return type; 48 } 49 } 50 | Popular Tags |