Lines Matching defs:p_scheme
209 * @param p_scheme the URI scheme (cannot be null or empty)
213 * @throws MalformedURIException if p_scheme violates any
216 public URI(String p_scheme, String p_schemeSpecificPart)
220 if (p_scheme == null || p_scheme.trim().length() == 0)
233 setScheme(p_scheme);
243 * @param p_scheme the URI scheme (cannot be null or empty)
258 public URI(String p_scheme, String p_host, String p_path, String p_queryString, String p_fragment)
261 this(p_scheme, null, p_host, -1, p_path, p_queryString, p_fragment);
270 * @param p_scheme the URI scheme (cannot be null or empty)
289 public URI(String p_scheme, String p_userinfo, String p_host, int p_port, String p_path, String p_queryString, String p_fragment)
293 if (p_scheme == null || p_scheme.trim().length() == 0)
328 setScheme(p_scheme);
1014 * @param p_scheme the scheme for this URI (cannot be null)
1016 * @throws MalformedURIException if p_scheme is not a conformant
1019 public void setScheme(String p_scheme) throws MalformedURIException
1022 if (p_scheme == null)
1027 if (!isConformantSchemeName(p_scheme))
1032 m_scheme = p_scheme.toLowerCase();
1403 * @param p_scheme The sheme name to check
1406 public static boolean isConformantSchemeName(String p_scheme)
1409 if (p_scheme == null || p_scheme.trim().length() == 0)
1414 if (!isAlpha(p_scheme.charAt(0)))
1421 for (int i = 1; i < p_scheme.length(); i++)
1423 testChar = p_scheme.charAt(i);