1 16 package org.apache.cocoon.woody.datatype; 17 18 import org.w3c.dom.Element ; 19 import org.apache.cocoon.woody.datatype.convertor.Convertor; 20 21 28 public interface DatatypeManager { 29 30 String ROLE = DatatypeManager.class.getName(); 31 32 35 Datatype createDatatype(Element datatypeElement, boolean arrayType) throws Exception ; 36 37 41 ValidationRule createValidationRule(Element validationRuleElement) throws Exception ; 42 43 46 Convertor createConvertor(String dataTypeName, Element convertorElement) throws Exception ; 47 } 48 | Popular Tags |