} else if ( "dtable".equals( resourceType.toLowerCase() ) ) {
List<Element> childElements = DomUtils.getChildElementsByTagName( element,
"decisiontable-conf" );
if ( !childElements.isEmpty() ) {
Element conf = childElements.get( 0 );
DecisionTableConfigurationImpl dtableConf = new DecisionTableConfigurationImpl();
String inputType = conf.getAttribute( INPUT_TYPE_ATTRIBUTE );
emptyAttributeCheck( conf.getLocalName(),
INPUT_TYPE_ATTRIBUTE,
inputType );
dtableConf.setInputType( DecisionTableInputType.valueOf( inputType ) );
String worksheetName = conf.getAttribute( WORKSHEET_NAME_ATTRIBUTE );
emptyAttributeCheck( conf.getLocalName(),
WORKSHEET_NAME_ATTRIBUTE,
worksheetName );
dtableConf.setWorksheetName( worksheetName );
factory.addPropertyValue( "resourceConfiguration",
dtableConf );
}
}