/** * Creates a new URI string within the default domain. * * @param name The name of the resource in the default domain. * @return The complete name for the resource. */ public String newName(String name) { if (base == null) return NSUtils.getDefaultDomain() + ":" + name; return base + name; }
/** * Retrieves the base namespace. * * @return The namespace of the base. */ public String getBase() { return base != null ? base : NSUtils.getDefaultDomain(); }