Package org.openxri

Examples of org.openxri.AuthorityPath


      if (query != null) {
        result.append('?');
        result.append(query);
      }
    } else if (append.equals(SEPUri.APPEND_AUTHORITY)) {
      AuthorityPath a = qxri.getAuthorityPath();
      if (a != null)
        result.append(a.toURINormalForm());
    } else if (append.equals(SEPUri.APPEND_PATH)) {
      XRIAbsolutePath p = qxri.getXRIAbsolutePath();
      if (p != null)
        result.append(p.toURINormalForm());
    } else if (append.equals(SEPUri.APPEND_QUERY)) {
View Full Code Here


      XRDS xrdsOut = new XRDS();
      xrdsOut.setRef("xri://" + qxri.getAuthorityPath().toString());
     
      // get the authority
      AuthorityPath ap = qxri.getAuthorityPath();
      if (ap instanceof XRIAuthority) {
        String rootAuth = ((XRIAuthority)ap).getRootAuthority();
        if (rootAuth == null) {
          throw new RuntimeException("First subsegment of '" + ap + "' is null");
        }
View Full Code Here

        result.append('?');
        result.append(query);
      }
    }
    else if (append.equals(SEPUri.APPEND_AUTHORITY)) {
      AuthorityPath a = qxri.getAuthorityPath();
      if (a != null)
        result.append(a.toURINormalForm());
    }
    else if (append.equals(SEPUri.APPEND_PATH)) {
      XRIAbsolutePath p = qxri.getXRIAbsolutePath();
      if (p != null)
        result.append(p.toURINormalForm());
View Full Code Here

TOP

Related Classes of org.openxri.AuthorityPath

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.