in commons-digester3-core/src/main/java/org/apache/commons/digester3/binder/FactoryCreateBuilder.java [52:66]
protected FactoryCreateRule createRule()
{
if ( type == null && attributeName == null && creationFactory == null )
{
reportError( "factoryCreate()",
"at least one between 'className', 'attributeName' or 'creationFactory' has to be specified" );
}
if ( type != null || attributeName != null )
{
return new FactoryCreateRule( type, attributeName, ignoreCreateExceptions );
}
return new FactoryCreateRule( creationFactory, ignoreCreateExceptions );
}