| <!DOCTYPE HTML> |
| <!-- NewPage --> |
| <html lang="en"> |
| <head> |
| <!-- Generated by javadoc --> |
| <title>URI (Apache Axis2)</title> |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style"> |
| <link rel="stylesheet" type="text/css" href="../../../../../jquery/jquery-ui.css" title="Style"> |
| <script type="text/javascript" src="../../../../../script.js"></script> |
| <script type="text/javascript" src="../../../../../jquery/jszip/dist/jszip.min.js"></script> |
| <script type="text/javascript" src="../../../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script> |
| <!--[if IE]> |
| <script type="text/javascript" src="../../../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script> |
| <![endif]--> |
| <script type="text/javascript" src="../../../../../jquery/jquery-3.3.1.js"></script> |
| <script type="text/javascript" src="../../../../../jquery/jquery-migrate-3.0.1.js"></script> |
| <script type="text/javascript" src="../../../../../jquery/jquery-ui.js"></script> |
| </head> |
| <body> |
| <script type="text/javascript"><!-- |
| try { |
| if (location.href.indexOf('is-external=true') == -1) { |
| parent.document.title="URI (Apache Axis2)"; |
| } |
| } |
| catch(err) { |
| } |
| //--> |
| var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":9,"i14":10,"i15":9,"i16":9,"i17":9,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10}; |
| var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; |
| var altColor = "altColor"; |
| var rowColor = "rowColor"; |
| var tableTab = "tableTab"; |
| var activeTableTab = "activeTableTab"; |
| var pathtoroot = "../../../../../"; |
| var useModuleDirectories = true; |
| loadScripts(document, 'script');</script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| <header role="banner"> |
| <nav role="navigation"> |
| <div class="fixedNav"> |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <div class="topNav"><a id="navbar.top"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> |
| <a id="navbar.top.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../../index.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/URI.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList" id="allclasses_navbar_top"> |
| <li><a href="../../../../../allclasses.html">All Classes</a></li> |
| </ul> |
| <ul class="navListSearch"> |
| <li><label for="search">SEARCH:</label> |
| <input type="text" id="search" value="search" disabled="disabled"> |
| <input type="reset" id="reset" value="reset" disabled="disabled"> |
| </li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_top"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li><a href="#nested.class.summary">Nested</a> | </li> |
| <li>Field | </li> |
| <li><a href="#constructor.summary">Constr</a> | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li><a href="#constructor.detail">Constr</a> | </li> |
| <li><a href="#method.detail">Method</a></li> |
| </ul> |
| </div> |
| <a id="skip.navbar.top"> |
| <!-- --> |
| </a></div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| </div> |
| <div class="navPadding"> </div> |
| <script type="text/javascript"><!-- |
| $('.navPadding').css('padding-top', $('.fixedNav').css("height")); |
| //--> |
| </script> |
| </nav> |
| </header> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <main role="main"> |
| <div class="header"> |
| <div class="subTitle"><span class="packageLabelInType">Package</span> <a href="package-summary.html">org.apache.axis2.databinding.types</a></div> |
| <h2 title="Class URI" class="title">Class URI</h2> |
| </div> |
| <div class="contentContainer"> |
| <ul class="inheritance"> |
| <li><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">java.lang.Object</a></li> |
| <li> |
| <ul class="inheritance"> |
| <li>org.apache.axis2.databinding.types.URI</li> |
| </ul> |
| </li> |
| </ul> |
| <div class="description"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <dl> |
| <dt>All Implemented Interfaces:</dt> |
| <dd><code><a href="https://docs.oracle.com/javase/7/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io" class="externalLink">Serializable</a></code></dd> |
| </dl> |
| <hr> |
| <pre>public class <span class="typeNameLabel">URI</span> |
| extends <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a> |
| implements <a href="https://docs.oracle.com/javase/7/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io" class="externalLink">Serializable</a></pre> |
| <div class="block">******************************************************************* <i>Axis Note: This class was |
| 'borrowed' from Xerces 2.0.2</i> |
| <p/> |
| A class to represent a Uniform Resource Identifier (URI). This class is designed to handle the |
| parsing of URIs and provide access to the various components (scheme, host, port, userinfo, |
| path, query string and fragment) that may constitute a URI. |
| <p/> |
| Parsing of a URI specification is done according to the URI syntax described in <a href="http://www.ietf.org/rfc/rfc2396.txt?number=2396">RFC 2396</a>, and amended by <a href="http://www.ietf.org/rfc/rfc2732.txt?number=2732">RFC 2732</a>. |
| <p/> |
| Every absolute URI consists of a scheme, followed by a colon (':'), followed by a |
| scheme-specific part. For URIs that follow the "generic URI" syntax, the scheme-specific part |
| begins with two slashes ("//") and may be followed by an authority segment (comprised of user |
| information, host, and port), path segment, query segment and fragment. Note that RFC 2396 no |
| longer specifies the use of the parameters segment and excludes the "user:password" syntax as |
| part of the authority segment. If "user:password" appears in a URI, the entire user/password |
| string is stored as userinfo. |
| <p/> |
| For URIs that do not follow the "generic URI" syntax (e.g. mailto), the entire scheme-specific |
| part is treated as the "path" portion of the URI. |
| <p/> |
| Note that, unlike the java.net.URL class, this class does not provide any built-in network |
| access functionality nor does it provide any scheme-specific functionality (for example, it does |
| not know a default port for a specific scheme). Rather, it only knows the grammar and basic set |
| of operations that can be applied to a URI. |
| <p/> |
| ********************************************************************</div> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../../serialized-form.html#org.apache.axis2.databinding.types.URI">Serialized Form</a></dd> |
| </dl> |
| </li> |
| </ul> |
| </div> |
| <div class="summary"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ======== NESTED CLASS SUMMARY ======== --> |
| <section role="region"> |
| <ul class="blockList"> |
| <li class="blockList"><a id="nested.class.summary"> |
| <!-- --> |
| </a> |
| <h3>Nested Class Summary</h3> |
| <table class="memberSummary"> |
| <caption><span>Nested Classes</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colSecond" scope="col">Class</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static class </code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="URI.MalformedURIException.html" title="class in org.apache.axis2.databinding.types">URI.MalformedURIException</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">**************************************************************** MalformedURIExceptions are |
| thrown in the process of building a URI or setting fields on a URI when an operation would |
| result in an invalid URI specification.</div> |
| </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| </section> |
| <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| <section role="region"> |
| <ul class="blockList"> |
| <li class="blockList"><a id="constructor.summary"> |
| <!-- --> |
| </a> |
| <h3>Constructor Summary</h3> |
| <table class="memberSummary"> |
| <caption><span>Constructors</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Constructor</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tr class="altColor"> |
| <th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E()">URI</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Construct a new and uninitialized URI.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E(java.lang.String)">URI</a></span>​(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> p_uriSpec)</code></th> |
| <td class="colLast"> |
| <div class="block">Construct a new URI from a URI specification string.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E(java.lang.String,java.lang.String)">URI</a></span>​(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> p_scheme, |
| <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> p_schemeSpecificPart)</code></th> |
| <td class="colLast"> |
| <div class="block">Construct a new URI that does not follow the generic URI syntax.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E(java.lang.String,java.lang.String,java.lang.String,int,java.lang.String,java.lang.String,java.lang.String)">URI</a></span>​(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> p_scheme, |
| <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> p_userinfo, |
| <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> p_host, |
| int p_port, |
| <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> p_path, |
| <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> p_queryString, |
| <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> p_fragment)</code></th> |
| <td class="colLast"> |
| <div class="block">Construct a new URI that follows the generic URI syntax from its component parts.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E(java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String)">URI</a></span>​(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> p_scheme, |
| <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> p_host, |
| <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> p_path, |
| <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> p_queryString, |
| <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> p_fragment)</code></th> |
| <td class="colLast"> |
| <div class="block">Construct a new URI that follows the generic URI syntax from its component parts.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E(org.apache.axis2.databinding.types.URI)">URI</a></span>​(<a href="URI.html" title="class in org.apache.axis2.databinding.types">URI</a> p_other)</code></th> |
| <td class="colLast"> |
| <div class="block">Construct a new URI from another URI.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E(org.apache.axis2.databinding.types.URI,java.lang.String)">URI</a></span>​(<a href="URI.html" title="class in org.apache.axis2.databinding.types">URI</a> p_base, |
| <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> p_uriSpec)</code></th> |
| <td class="colLast"> |
| <div class="block">Construct a new URI from a base URI and a URI specification string.</div> |
| </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| </section> |
| <!-- ========== METHOD SUMMARY =========== --> |
| <section role="region"> |
| <ul class="blockList"> |
| <li class="blockList"><a id="method.summary"> |
| <!-- --> |
| </a> |
| <h3>Method Summary</h3> |
| <table class="memberSummary"> |
| <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colSecond" scope="col">Method</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tr id="i0" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#appendPath(java.lang.String)">appendPath</a></span>​(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> p_addToPath)</code></th> |
| <td class="colLast"> |
| <div class="block">Append to the end of the path of this URI.</div> |
| </td> |
| </tr> |
| <tr id="i1" class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#equals(java.lang.Object)">equals</a></span>​(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a> p_test)</code></th> |
| <td class="colLast"> |
| <div class="block">Determines if the passed-in Object is equivalent to this URI.</div> |
| </td> |
| </tr> |
| <tr id="i2" class="altColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getFragment()">getFragment</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Get the fragment for this URI.</div> |
| </td> |
| </tr> |
| <tr id="i3" class="rowColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getHost()">getHost</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Get the host for this URI.</div> |
| </td> |
| </tr> |
| <tr id="i4" class="altColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getPath()">getPath</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Get the path for this URI.</div> |
| </td> |
| </tr> |
| <tr id="i5" class="rowColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getPath(boolean,boolean)">getPath</a></span>​(boolean p_includeQueryString, |
| boolean p_includeFragment)</code></th> |
| <td class="colLast"> |
| <div class="block">Get the path for this URI (optionally with the query string and fragment).</div> |
| </td> |
| </tr> |
| <tr id="i6" class="altColor"> |
| <td class="colFirst"><code>int</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getPort()">getPort</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Get the port for this URI.</div> |
| </td> |
| </tr> |
| <tr id="i7" class="rowColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getQueryString()">getQueryString</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Get the query string for this URI.</div> |
| </td> |
| </tr> |
| <tr id="i8" class="altColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getRegBasedAuthority()">getRegBasedAuthority</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Get the registry based authority for this URI.</div> |
| </td> |
| </tr> |
| <tr id="i9" class="rowColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getScheme()">getScheme</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Get the scheme for this URI.</div> |
| </td> |
| </tr> |
| <tr id="i10" class="altColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getSchemeSpecificPart()">getSchemeSpecificPart</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Get the scheme-specific part for this URI (everything following the scheme and the first |
| colon).</div> |
| </td> |
| </tr> |
| <tr id="i11" class="rowColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getUserinfo()">getUserinfo</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Get the userinfo for this URI.</div> |
| </td> |
| </tr> |
| <tr id="i12" class="altColor"> |
| <td class="colFirst"><code>int</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#hashCode()">hashCode</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Returns a hash-code value for this URI.</div> |
| </td> |
| </tr> |
| <tr id="i13" class="rowColor"> |
| <td class="colFirst"><code>static boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isConformantSchemeName(java.lang.String)">isConformantSchemeName</a></span>​(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> p_scheme)</code></th> |
| <td class="colLast"> |
| <div class="block">Determine whether a scheme conforms to the rules for a scheme name.</div> |
| </td> |
| </tr> |
| <tr id="i14" class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isGenericURI()">isGenericURI</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Get the indicator as to whether this URI uses the "generic URI" syntax.</div> |
| </td> |
| </tr> |
| <tr id="i15" class="rowColor"> |
| <td class="colFirst"><code>static boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isWellFormedAddress(java.lang.String)">isWellFormedAddress</a></span>​(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> address)</code></th> |
| <td class="colLast"> |
| <div class="block">Determine whether a string is syntactically capable of representing a valid IPv4 address, IPv6 |
| reference or the domain name of a network host.</div> |
| </td> |
| </tr> |
| <tr id="i16" class="altColor"> |
| <td class="colFirst"><code>static boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isWellFormedIPv4Address(java.lang.String)">isWellFormedIPv4Address</a></span>​(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> address)</code></th> |
| <td class="colLast"> |
| <div class="block">Determines whether a string is an IPv4 address as defined by RFC 2373, and under the further |
| constraint that it must be a 32-bit address.</div> |
| </td> |
| </tr> |
| <tr id="i17" class="rowColor"> |
| <td class="colFirst"><code>static boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isWellFormedIPv6Reference(java.lang.String)">isWellFormedIPv6Reference</a></span>​(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> address)</code></th> |
| <td class="colLast"> |
| <div class="block">Determines whether a string is an IPv6 reference as defined by RFC 2732, where IPv6address |
| is defined in RFC 2373.</div> |
| </td> |
| </tr> |
| <tr id="i18" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setFragment(java.lang.String)">setFragment</a></span>​(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> p_fragment)</code></th> |
| <td class="colLast"> |
| <div class="block">Set the fragment for this URI.</div> |
| </td> |
| </tr> |
| <tr id="i19" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setHost(java.lang.String)">setHost</a></span>​(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> p_host)</code></th> |
| <td class="colLast"> |
| <div class="block">Set the host for this URI.</div> |
| </td> |
| </tr> |
| <tr id="i20" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setPath(java.lang.String)">setPath</a></span>​(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> p_path)</code></th> |
| <td class="colLast"> |
| <div class="block">Set the path for this URI.</div> |
| </td> |
| </tr> |
| <tr id="i21" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setPort(int)">setPort</a></span>​(int p_port)</code></th> |
| <td class="colLast"> |
| <div class="block">Set the port for this URI. -1 is used to indicate that the port is not specified, otherwise |
| valid port numbers are between 0 and 65535.</div> |
| </td> |
| </tr> |
| <tr id="i22" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setQueryString(java.lang.String)">setQueryString</a></span>​(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> p_queryString)</code></th> |
| <td class="colLast"> |
| <div class="block">Set the query string for this URI.</div> |
| </td> |
| </tr> |
| <tr id="i23" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setRegBasedAuthority(java.lang.String)">setRegBasedAuthority</a></span>​(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> authority)</code></th> |
| <td class="colLast"> |
| <div class="block">Sets the registry based authority for this URI.</div> |
| </td> |
| </tr> |
| <tr id="i24" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setScheme(java.lang.String)">setScheme</a></span>​(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> p_scheme)</code></th> |
| <td class="colLast"> |
| <div class="block">Set the scheme for this URI.</div> |
| </td> |
| </tr> |
| <tr id="i25" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setUserinfo(java.lang.String)">setUserinfo</a></span>​(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> p_userinfo)</code></th> |
| <td class="colLast"> |
| <div class="block">Set the userinfo for this URI.</div> |
| </td> |
| </tr> |
| <tr id="i26" class="altColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#toString()">toString</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Get the URI as a string specification.</div> |
| </td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a id="methods.inherited.from.class.java.lang.Object"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class java.lang.<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a></h3> |
| <code><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang" class="externalLink">clone</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang" class="externalLink">finalize</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang" class="externalLink">getClass</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang" class="externalLink">notify</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang" class="externalLink">notifyAll</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang" class="externalLink">wait</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang" class="externalLink">wait</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait(long,int)" title="class or interface in java.lang" class="externalLink">wait</a></code></li> |
| </ul> |
| </li> |
| </ul> |
| </section> |
| </li> |
| </ul> |
| </div> |
| <div class="details"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| <section role="region"> |
| <ul class="blockList"> |
| <li class="blockList"><a id="constructor.detail"> |
| <!-- --> |
| </a> |
| <h3>Constructor Detail</h3> |
| <a id="<init>()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>URI</h4> |
| <pre>public URI()</pre> |
| <div class="block">Construct a new and uninitialized URI.</div> |
| </li> |
| </ul> |
| <a id="<init>(org.apache.axis2.databinding.types.URI)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>URI</h4> |
| <pre>public URI​(<a href="URI.html" title="class in org.apache.axis2.databinding.types">URI</a> p_other)</pre> |
| <div class="block">Construct a new URI from another URI. All fields for this URI are set equal to the fields of |
| the URI passed in.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>p_other</code> - the URI to copy (cannot be null)</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="<init>(java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>URI</h4> |
| <pre>public URI​(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> p_uriSpec) |
| throws <a href="URI.MalformedURIException.html" title="class in org.apache.axis2.databinding.types">URI.MalformedURIException</a></pre> |
| <div class="block">Construct a new URI from a URI specification string. If the specification follows the "generic |
| URI" syntax, (two slashes following the first colon), the specification will be parsed |
| accordingly - setting the scheme, userinfo, host,port, path, query string and fragment fields |
| as necessary. If the specification does not follow the "generic URI" syntax, the specification |
| is parsed into a scheme and scheme-specific part (stored as the path) only.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>p_uriSpec</code> - the URI specification string (cannot be null or empty)</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="URI.MalformedURIException.html" title="class in org.apache.axis2.databinding.types">URI.MalformedURIException</a></code> - if p_uriSpec violates any syntax rules</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="<init>(org.apache.axis2.databinding.types.URI,java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>URI</h4> |
| <pre>public URI​(<a href="URI.html" title="class in org.apache.axis2.databinding.types">URI</a> p_base, |
| <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> p_uriSpec) |
| throws <a href="URI.MalformedURIException.html" title="class in org.apache.axis2.databinding.types">URI.MalformedURIException</a></pre> |
| <div class="block">Construct a new URI from a base URI and a URI specification string. The URI specification |
| string may be a relative URI.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>p_base</code> - the base URI (cannot be null if p_uriSpec is null or empty)</dd> |
| <dd><code>p_uriSpec</code> - the URI specification string (cannot be null or empty if p_base is null)</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="URI.MalformedURIException.html" title="class in org.apache.axis2.databinding.types">URI.MalformedURIException</a></code> - if p_uriSpec violates any syntax rules</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="<init>(java.lang.String,java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>URI</h4> |
| <pre>public URI​(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> p_scheme, |
| <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> p_schemeSpecificPart) |
| throws <a href="URI.MalformedURIException.html" title="class in org.apache.axis2.databinding.types">URI.MalformedURIException</a></pre> |
| <div class="block">Construct a new URI that does not follow the generic URI syntax. Only the scheme and |
| scheme-specific part (stored as the path) are initialized.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>p_scheme</code> - the URI scheme (cannot be null or empty)</dd> |
| <dd><code>p_schemeSpecificPart</code> - the scheme-specific part (cannot be null or empty)</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="URI.MalformedURIException.html" title="class in org.apache.axis2.databinding.types">URI.MalformedURIException</a></code> - if p_scheme violates any syntax rules</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="<init>(java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>URI</h4> |
| <pre>public URI​(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> p_scheme, |
| <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> p_host, |
| <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> p_path, |
| <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> p_queryString, |
| <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> p_fragment) |
| throws <a href="URI.MalformedURIException.html" title="class in org.apache.axis2.databinding.types">URI.MalformedURIException</a></pre> |
| <div class="block">Construct a new URI that follows the generic URI syntax from its component parts. Each |
| component is validated for syntax and some basic semantic checks are performed as well. See |
| the individual setter methods for specifics.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>p_scheme</code> - the URI scheme (cannot be null or empty)</dd> |
| <dd><code>p_host</code> - the hostname, IPv4 address or IPv6 reference for the URI</dd> |
| <dd><code>p_path</code> - the URI path - if the path contains '?' or '#', then the query string |
| and/or fragment will be set from the path; however, if the query and |
| fragment are specified both in the path and as separate parameters, an |
| exception is thrown</dd> |
| <dd><code>p_queryString</code> - the URI query string (cannot be specified if path is null)</dd> |
| <dd><code>p_fragment</code> - the URI fragment (cannot be specified if path is null)</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="URI.MalformedURIException.html" title="class in org.apache.axis2.databinding.types">URI.MalformedURIException</a></code> - if any of the parameters violates syntax rules or semantic rules</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="<init>(java.lang.String,java.lang.String,java.lang.String,int,java.lang.String,java.lang.String,java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>URI</h4> |
| <pre>public URI​(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> p_scheme, |
| <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> p_userinfo, |
| <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> p_host, |
| int p_port, |
| <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> p_path, |
| <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> p_queryString, |
| <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> p_fragment) |
| throws <a href="URI.MalformedURIException.html" title="class in org.apache.axis2.databinding.types">URI.MalformedURIException</a></pre> |
| <div class="block">Construct a new URI that follows the generic URI syntax from its component parts. Each |
| component is validated for syntax and some basic semantic checks are performed as well. See |
| the individual setter methods for specifics.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>p_scheme</code> - the URI scheme (cannot be null or empty)</dd> |
| <dd><code>p_userinfo</code> - the URI userinfo (cannot be specified if host is null)</dd> |
| <dd><code>p_host</code> - the hostname, IPv4 address or IPv6 reference for the URI</dd> |
| <dd><code>p_port</code> - the URI port (may be -1 for "unspecified"; cannot be specified if host is |
| null)</dd> |
| <dd><code>p_path</code> - the URI path - if the path contains '?' or '#', then the query string |
| and/or fragment will be set from the path; however, if the query and |
| fragment are specified both in the path and as separate parameters, an |
| exception is thrown</dd> |
| <dd><code>p_queryString</code> - the URI query string (cannot be specified if path is null)</dd> |
| <dd><code>p_fragment</code> - the URI fragment (cannot be specified if path is null)</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="URI.MalformedURIException.html" title="class in org.apache.axis2.databinding.types">URI.MalformedURIException</a></code> - if any of the parameters violates syntax rules or semantic rules</dd> |
| </dl> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </section> |
| <!-- ============ METHOD DETAIL ========== --> |
| <section role="region"> |
| <ul class="blockList"> |
| <li class="blockList"><a id="method.detail"> |
| <!-- --> |
| </a> |
| <h3>Method Detail</h3> |
| <a id="getScheme()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getScheme</h4> |
| <pre class="methodSignature">public <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> getScheme()</pre> |
| <div class="block">Get the scheme for this URI.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the scheme for this URI</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="getSchemeSpecificPart()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getSchemeSpecificPart</h4> |
| <pre class="methodSignature">public <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> getSchemeSpecificPart()</pre> |
| <div class="block">Get the scheme-specific part for this URI (everything following the scheme and the first |
| colon). See RFC 2396 Section 5.2 for spec.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the scheme-specific part for this URI</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="getUserinfo()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getUserinfo</h4> |
| <pre class="methodSignature">public <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> getUserinfo()</pre> |
| <div class="block">Get the userinfo for this URI.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the userinfo for this URI (null if not specified).</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="getHost()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getHost</h4> |
| <pre class="methodSignature">public <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> getHost()</pre> |
| <div class="block">Get the host for this URI.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the host for this URI (null if not specified).</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="getPort()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getPort</h4> |
| <pre class="methodSignature">public int getPort()</pre> |
| <div class="block">Get the port for this URI.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the port for this URI (-1 if not specified).</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="getRegBasedAuthority()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getRegBasedAuthority</h4> |
| <pre class="methodSignature">public <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> getRegBasedAuthority()</pre> |
| <div class="block">Get the registry based authority for this URI.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the registry based authority (null if not specified).</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="getPath(boolean,boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getPath</h4> |
| <pre class="methodSignature">public <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> getPath​(boolean p_includeQueryString, |
| boolean p_includeFragment)</pre> |
| <div class="block">Get the path for this URI (optionally with the query string and fragment).</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>p_includeQueryString</code> - if true (and query string is not null), then a "?" followed by the |
| query string will be appended</dd> |
| <dd><code>p_includeFragment</code> - if true (and fragment is not null), then a "#" followed by the |
| fragment will be appended</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the path for this URI possibly including the query string and fragment</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="getPath()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getPath</h4> |
| <pre class="methodSignature">public <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> getPath()</pre> |
| <div class="block">Get the path for this URI. Note that the value returned is the path only and does not include |
| the query string or fragment.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the path for this URI.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="getQueryString()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getQueryString</h4> |
| <pre class="methodSignature">public <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> getQueryString()</pre> |
| <div class="block">Get the query string for this URI.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the query string for this URI. Null is returned if there was no "?" in the URI spec, |
| empty string if there was a "?" but no query string following it.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="getFragment()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getFragment</h4> |
| <pre class="methodSignature">public <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> getFragment()</pre> |
| <div class="block">Get the fragment for this URI.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the fragment for this URI. Null is returned if there was no "#" in the URI spec, empty |
| string if there was a "#" but no fragment following it.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="setScheme(java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setScheme</h4> |
| <pre class="methodSignature">public void setScheme​(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> p_scheme) |
| throws <a href="URI.MalformedURIException.html" title="class in org.apache.axis2.databinding.types">URI.MalformedURIException</a></pre> |
| <div class="block">Set the scheme for this URI. The scheme is converted to lowercase before it is set.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>p_scheme</code> - the scheme for this URI (cannot be null)</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="URI.MalformedURIException.html" title="class in org.apache.axis2.databinding.types">URI.MalformedURIException</a></code> - if p_scheme is not a conformant scheme name</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="setUserinfo(java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setUserinfo</h4> |
| <pre class="methodSignature">public void setUserinfo​(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> p_userinfo) |
| throws <a href="URI.MalformedURIException.html" title="class in org.apache.axis2.databinding.types">URI.MalformedURIException</a></pre> |
| <div class="block">Set the userinfo for this URI. If a non-null value is passed in and the host value is null, |
| then an exception is thrown.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>p_userinfo</code> - the userinfo for this URI</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="URI.MalformedURIException.html" title="class in org.apache.axis2.databinding.types">URI.MalformedURIException</a></code> - if p_userinfo contains invalid characters</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="setHost(java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setHost</h4> |
| <pre class="methodSignature">public void setHost​(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> p_host) |
| throws <a href="URI.MalformedURIException.html" title="class in org.apache.axis2.databinding.types">URI.MalformedURIException</a></pre> |
| <div class="block"><p>Set the host for this URI. If null is passed in, the userinfo field is also set to null and |
| the port is set to -1.</p> |
| <p/> |
| <p>Note: This method overwrites registry based authority if it previously existed in this |
| URI.</p></div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>p_host</code> - the host for this URI</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="URI.MalformedURIException.html" title="class in org.apache.axis2.databinding.types">URI.MalformedURIException</a></code> - if p_host is not a valid IP address or DNS hostname.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="setPort(int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setPort</h4> |
| <pre class="methodSignature">public void setPort​(int p_port) |
| throws <a href="URI.MalformedURIException.html" title="class in org.apache.axis2.databinding.types">URI.MalformedURIException</a></pre> |
| <div class="block">Set the port for this URI. -1 is used to indicate that the port is not specified, otherwise |
| valid port numbers are between 0 and 65535. If a valid port number is passed in and the host |
| field is null, an exception is thrown.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>p_port</code> - the port number for this URI</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="URI.MalformedURIException.html" title="class in org.apache.axis2.databinding.types">URI.MalformedURIException</a></code> - if p_port is not -1 and not a valid port number</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="setRegBasedAuthority(java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setRegBasedAuthority</h4> |
| <pre class="methodSignature">public void setRegBasedAuthority​(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> authority) |
| throws <a href="URI.MalformedURIException.html" title="class in org.apache.axis2.databinding.types">URI.MalformedURIException</a></pre> |
| <div class="block"><p>Sets the registry based authority for this URI.</p> |
| <p/> |
| <p>Note: This method overwrites server based authority if it previously existed in this |
| URI.</p></div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>authority</code> - the registry based authority for this URI</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="URI.MalformedURIException.html" title="class in org.apache.axis2.databinding.types">URI.MalformedURIException</a></code> - it authority is not a well formed registry based authority</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="setPath(java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setPath</h4> |
| <pre class="methodSignature">public void setPath​(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> p_path) |
| throws <a href="URI.MalformedURIException.html" title="class in org.apache.axis2.databinding.types">URI.MalformedURIException</a></pre> |
| <div class="block">Set the path for this URI. If the supplied path is null, then the query string and fragment are |
| set to null as well. If the supplied path includes a query string and/or fragment, these fields |
| will be parsed and set as well. Note that, for URIs following the "generic URI" syntax, the |
| path specified should start with a slash. For URIs that do not follow the generic URI syntax, |
| this method sets the scheme-specific part.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>p_path</code> - the path for this URI (may be null)</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="URI.MalformedURIException.html" title="class in org.apache.axis2.databinding.types">URI.MalformedURIException</a></code> - if p_path contains invalid characters</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="appendPath(java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>appendPath</h4> |
| <pre class="methodSignature">public void appendPath​(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> p_addToPath) |
| throws <a href="URI.MalformedURIException.html" title="class in org.apache.axis2.databinding.types">URI.MalformedURIException</a></pre> |
| <div class="block">Append to the end of the path of this URI. If the current path does not end in a slash and the |
| path to be appended does not begin with a slash, a slash will be appended to the current path |
| before the new segment is added. Also, if the current path ends in a slash and the new segment |
| begins with a slash, the extra slash will be removed before the new segment is appended.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>p_addToPath</code> - the new segment to be added to the current path</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="URI.MalformedURIException.html" title="class in org.apache.axis2.databinding.types">URI.MalformedURIException</a></code> - if p_addToPath contains syntax errors</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="setQueryString(java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setQueryString</h4> |
| <pre class="methodSignature">public void setQueryString​(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> p_queryString) |
| throws <a href="URI.MalformedURIException.html" title="class in org.apache.axis2.databinding.types">URI.MalformedURIException</a></pre> |
| <div class="block">Set the query string for this URI. A non-null value is valid only if this is an URI conforming |
| to the generic URI syntax and the path value is not null.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>p_queryString</code> - the query string for this URI</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="URI.MalformedURIException.html" title="class in org.apache.axis2.databinding.types">URI.MalformedURIException</a></code> - if p_queryString is not null and this URI does not conform to the |
| generic URI syntax or if the path is null</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="setFragment(java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setFragment</h4> |
| <pre class="methodSignature">public void setFragment​(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> p_fragment) |
| throws <a href="URI.MalformedURIException.html" title="class in org.apache.axis2.databinding.types">URI.MalformedURIException</a></pre> |
| <div class="block">Set the fragment for this URI. A non-null value is valid only if this is a URI conforming to |
| the generic URI syntax and the path value is not null.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>p_fragment</code> - the fragment for this URI</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="URI.MalformedURIException.html" title="class in org.apache.axis2.databinding.types">URI.MalformedURIException</a></code> - if p_fragment is not null and this URI does not conform to the |
| generic URI syntax or if the path is null</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="equals(java.lang.Object)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>equals</h4> |
| <pre class="methodSignature">public boolean equals​(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a> p_test)</pre> |
| <div class="block">Determines if the passed-in Object is equivalent to this URI.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang" class="externalLink">equals</a></code> in class <code><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>p_test</code> - the Object to test for equality.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>true if p_test is a URI with all values equal to this URI, false otherwise</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="hashCode()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>hashCode</h4> |
| <pre class="methodSignature">public int hashCode()</pre> |
| <div class="block">Returns a hash-code value for this URI. The hash code is based upon all of the URI's |
| components, and satisfies the general contract of the <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang" class="externalLink"><code>Object.hashCode</code></a> method. </p></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang" class="externalLink">hashCode</a></code> in class <code><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>A hash-code value for this URI</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="toString()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>toString</h4> |
| <pre class="methodSignature">public <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> toString()</pre> |
| <div class="block">Get the URI as a string specification. See RFC 2396 Section 5.2.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang" class="externalLink">toString</a></code> in class <code><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the URI string specification</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="isGenericURI()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isGenericURI</h4> |
| <pre class="methodSignature">public boolean isGenericURI()</pre> |
| <div class="block">Get the indicator as to whether this URI uses the "generic URI" syntax.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>true if this URI uses the "generic URI" syntax, false otherwise</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="isConformantSchemeName(java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isConformantSchemeName</h4> |
| <pre class="methodSignature">public static boolean isConformantSchemeName​(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> p_scheme)</pre> |
| <div class="block">Determine whether a scheme conforms to the rules for a scheme name. A scheme is conformant if |
| it starts with an alphanumeric, and contains only alphanumerics, '+','-' and '.'.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>true if the scheme is conformant, false otherwise</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="isWellFormedAddress(java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isWellFormedAddress</h4> |
| <pre class="methodSignature">public static boolean isWellFormedAddress​(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> address)</pre> |
| <div class="block">Determine whether a string is syntactically capable of representing a valid IPv4 address, IPv6 |
| reference or the domain name of a network host. A valid IPv4 address consists of four decimal |
| digit groups separated by a '.'. Each group must consist of one to three digits. See RFC 2732 |
| Section 3, and RFC 2373 Section 2.2, for the definition of IPv6 references. A hostname consists |
| of domain labels (each of which must begin and end with an alphanumeric but may contain '-') |
| separated & by a '.'. See RFC 2396 Section 3.2.2.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>true if the string is a syntactically valid IPv4 address, IPv6 reference or hostname</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="isWellFormedIPv4Address(java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isWellFormedIPv4Address</h4> |
| <pre class="methodSignature">public static boolean isWellFormedIPv4Address​(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> address)</pre> |
| <div class="block"><p>Determines whether a string is an IPv4 address as defined by RFC 2373, and under the further |
| constraint that it must be a 32-bit address. Though not expressed in the grammar, in order to |
| satisfy the 32-bit address constraint, each segment of the address cannot be greater than 255 |
| (8 bits of information).</p> |
| <p/> |
| <p><code>IPv4address = 1*3DIGIT "." 1*3DIGIT "." 1*3DIGIT "." 1*3DIGIT</code></p></div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>true if the string is a syntactically valid IPv4 address</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="isWellFormedIPv6Reference(java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>isWellFormedIPv6Reference</h4> |
| <pre class="methodSignature">public static boolean isWellFormedIPv6Reference​(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> address)</pre> |
| <div class="block"><p>Determines whether a string is an IPv6 reference as defined by RFC 2732, where IPv6address |
| is defined in RFC 2373. The IPv6 address is parsed according to Section 2.2 of RFC 2373, with |
| the additional constraint that the address be composed of 128 bits of information.</p> |
| <p/> |
| <p><code>IPv6reference = "[" IPv6address "]"</code></p> |
| <p/> |
| <p>Note: The BNF expressed in RFC 2373 Appendix B does not accurately describe section 2.2, and |
| was in fact removed from RFC 3513, the successor of RFC 2373.</p></div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>true if the string is a syntactically valid IPv6 reference</dd> |
| </dl> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </section> |
| </li> |
| </ul> |
| </div> |
| </div> |
| </main> |
| <!-- ========= END OF CLASS DATA ========= --> |
| <footer role="contentinfo"> |
| <nav role="navigation"> |
| <!-- ======= START OF BOTTOM NAVBAR ====== --> |
| <div class="bottomNav"><a id="navbar.bottom"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> |
| <a id="navbar.bottom.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../../index.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/URI.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList" id="allclasses_navbar_bottom"> |
| <li><a href="../../../../../allclasses.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_bottom"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li><a href="#nested.class.summary">Nested</a> | </li> |
| <li>Field | </li> |
| <li><a href="#constructor.summary">Constr</a> | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li><a href="#constructor.detail">Constr</a> | </li> |
| <li><a href="#method.detail">Method</a></li> |
| </ul> |
| </div> |
| <a id="skip.navbar.bottom"> |
| <!-- --> |
| </a></div> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| </nav> |
| <p class="legalCopy"><small>Copyright © <a href="https://www.apache.org/">The Apache Software Foundation</a>. All Rights Reserved.</small></p> |
| </footer> |
| </body> |
| </html> |