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 import org.w3c.dom.Element ; 21 22 27 public class DoubleTypeBuilder extends AbstractDatatypeBuilder { 28 public Datatype build(Element datatypeElement, boolean arrayType, DatatypeManager datatypeManager) throws Exception { 29 DoubleType type = new DoubleType(); 30 type.setArrayType(arrayType); 31 type.setBuilder(this); 32 33 buildValidationRules(datatypeElement, type, datatypeManager); 34 buildConvertor(datatypeElement, type); 35 36 return type; 37 } 38 } 39 | Popular Tags |