String () { final GenericAttributeValue<String> prefixValue = getPrefix(); if (prefixValue == null) { return null; } // prefix is only valid when loading from an url, file or resource final boolean prefixIsApplicable = (getName().getRawText() == null) && (getUrl().getRawText() != null || getFile().getRawText() != null || getResource().getRawText() != null); if (!prefixIsApplicable) { return null; } final String prefix = prefixValue.getRawText(); if (prefix != null && !prefix.endsWith(".")) { return prefix + "."; } return prefix; }