class JAXBConfigImpl extends AbstractBaseConfig {

    protected String parseValue(String value, Set<String> keySet) {
        String result = value;

        Matcher matcher = pattern.matcher(value);

        while (matcher.find()) {

            // get the first, outermost ${} in the string. removes the ${} as well.
            String key = matcher.group(1);

            String resolved = resolve(key, keySet);

            result = matcher.replaceFirst(Matcher.quoteReplacement(resolved));
            matcher = matcher.reset(result);
        }

        return result;
    }

    public  JAXBConfigImpl();
    public  JAXBConfigImpl(Config config);
    public  JAXBConfigImpl(String fileLoc, Config config);
    public  JAXBConfigImpl(List<String> fileLocs, Config config);
    public  JAXBConfigImpl(String fileLoc);
    public  JAXBConfigImpl(List<String> fileLocs);
    public  JAXBConfigImpl(Properties properties);
    public  JAXBConfigImpl(String fileLoc, Properties properties);
    public  JAXBConfigImpl(List<String> fileLocs, Properties properties);

}