class XmlHelper {

    public static String getSystemUID(String typeId) {
        String type;
        if (typeId.startsWith(SYSTEM_NAMESPACE_PREFIX)) {
            type = typeId.substring(SYSTEM_NAMESPACE_PREFIX.length());
        } else {
            type = typeId;
        }
        return String.format("%s:%s", SYSTEM_NAMESPACE, type);
    }

}