class StandardDecoupledTemplateLogicResolver implements IDecoupledTemplateLogicResolver {

    /**
     * <p>
     *   Default suffix applied to the relative resources resolved: {@value}
     * </p>
     */
    public static final String DECOUPLED_TEMPLATE_LOGIC_FILE_SUFFIX = ".th.xml";


    private String prefix = null;
    private String suffix = DECOUPLED_TEMPLATE_LOGIC_FILE_SUFFIX;




    public StandardDecoupledTemplateLogicResolver() {
        super();
    }




    public String getSuffix() {
        return this.suffix;
    }

    public void setSuffix(final String suffix) {
        this.suffix = suffix;
    }




    public String getPrefix() {
        return this.prefix;
    }

    public void setPrefix(final String prefix) {
        this.prefix = prefix;
    }




    public ITemplateResource resolveDecoupledTemplateLogic(
            final IEngineConfiguration configuration,
            final String ownerTemplate, final String template, final Set<String> templateSelectors,
            final ITemplateResource resource, final TemplateMode templateMode) {<FILL_FUNCTION_BODY>}


}


        String relativeLocation = resource.getBaseName();
        if (this.prefix != null) {
            relativeLocation = this.prefix + relativeLocation;
        }
        if (this.suffix != null) {
            relativeLocation = relativeLocation + this.suffix;
        }

        return resource.relative(relativeLocation);

    
<no_super_class>