Lines Matching defs:p_base

305   * @param p_base the base URI (cannot be null if p_uriSpec is null or
308 * empty if p_base is null)
313 public URI(URI p_base, String p_uriSpec) throws MalformedURIException {
314 initialize(p_base, p_uriSpec);
321 * and p_uriSpec is not valid absolute URI and p_base is null
324 * @param p_base the base URI (cannot be null if p_uriSpec is null or
327 * empty if p_base is null)
334 public URI(URI p_base, String p_uriSpec, boolean allowNonAbsoluteURI) throws MalformedURIException {
335 initialize(p_base, p_uriSpec, allowNonAbsoluteURI);
479 * @param p_base the base URI (may be null if p_uriSpec is an absolute
482 * relative URI (can only be null/empty if p_base
487 * @exception MalformedURIException if p_base is null and p_uriSpec
491 private void initialize(URI p_base, String p_uriSpec, boolean allowNonAbsoluteURI)
497 if (p_base == null && uriSpecLen == 0) {
507 initialize(p_base);
525 if (colonIdx == 0 || (p_base == null && fragmentIdx != 0 && !allowNonAbsoluteURI)) {
539 else if (p_base == null && uriSpec.indexOf('#') != 0 && !allowNonAbsoluteURI) {
589 if (p_base != null) {
590 absolutize(p_base);
600 * @param p_base the base URI (may be null if p_uriSpec is an absolute
603 * relative URI (can only be null/empty if p_base
606 * @exception MalformedURIException if p_base is null and p_uriSpec
610 private void initialize(URI p_base, String p_uriSpec)
616 if (p_base == null && uriSpecLen == 0) {
623 initialize(p_base);
641 if (colonIdx == 0 || (p_base == null && fragmentIdx != 0)) {
655 else if (p_base == null && uriSpec.indexOf('#') != 0) {
705 if (p_base != null) {
706 absolutize(p_base);
713 * @param p_base base URI for absolutization
715 public void absolutize(URI p_base) {
726 m_scheme = p_base.getScheme();
727 m_userinfo = p_base.getUserinfo();
728 m_host = p_base.getHost();
729 m_port = p_base.getPort();
730 m_regAuthority = p_base.getRegBasedAuthority();
731 m_path = p_base.getPath();
734 m_queryString = p_base.getQueryString();
737 m_fragment = p_base.getFragment();
746 m_scheme = p_base.getScheme();
755 m_userinfo = p_base.getUserinfo();
756 m_host = p_base.getHost();
757 m_port = p_base.getPort();
758 m_regAuthority = p_base.getRegBasedAuthority();
773 String basePath = p_base.getPath();