/** * Returns a new content type with specified id and localized name. * @param displayName Display name. * @param path Path segment. * @return The requested content type. */ public static Name of(final String displayName, final String path) { Preconditions.checkNotNull(displayName); return new Name(displayName, path); }