class GraphName {

    public static String getFullName(final String nameSpace, final String nodeName) {
        String result = nodeName;
        String ns = nameSpace;

        // Manage Name Space.
        if (ns == null || ns.length() == 0) {
            ns = EMPTY;
        } else if (!ns.startsWith(SEPARATOR)){
            ns = String.format(FORMAT_TOPIC, EMPTY, ns);
        }

        // Absolute case
        if (nodeName.startsWith(SEPARATOR)) {
            result = nodeName;
        } else

        {
            result = String.format(FORMAT_TOPIC, ns, nodeName);
        }

        return result;
    }

    private  GraphName();

}