blob: fbf123e496e29eeebf82bbf89d4c55fc5b3fd2e5 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>URI (Apache Axis)</title>
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="URI (Apache Axis)";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!-- -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../overview-summary.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">
<li><a href="../../../../org/apache/axis/types/UnsignedShort.html" title="class in org.apache.axis.types"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../../org/apache/axis/types/URI.MalformedURIException.html" title="class in org.apache.axis.types"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/apache/axis/types/URI.html" target="_top">Frames</a></li>
<li><a href="URI.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../allclasses-noframe.html">All Classes</a></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>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li><a href="#nested_class_summary">Nested</a>&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">org.apache.axis.types</div>
<h2 title="Class URI" class="title">Class URI</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
<li>
<ul class="inheritance">
<li>org.apache.axis.types.URI</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd><a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a></dd>
</dl>
<hr>
<br>
<pre>public class <span class="strong">URI</span>
extends <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>
implements <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a></pre>
<div class="block"><i>Axis Note: This class was 'borrowed' from Xerces 2:
org.apache.xerces.util.URI.java, version 1.22 </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.</div>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../serialized-form.html#org.apache.axis.types.URI">Serialized Form</a></dd></dl>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== NESTED CLASS SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="nested_class_summary">
<!-- -->
</a>
<h3>Nested Class Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Nested Class Summary table, listing nested classes, and an explanation">
<caption><span>Nested Classes</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Class and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static class&nbsp;</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/axis/types/URI.MalformedURIException.html" title="class in org.apache.axis.types">URI.MalformedURIException</a></strong></code>
<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>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><strong><a href="../../../../org/apache/axis/types/URI.html#URI()">URI</a></strong>()</code>
<div class="block">Construct a new and uninitialized URI.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><strong><a href="../../../../org/apache/axis/types/URI.html#URI(java.lang.String)">URI</a></strong>(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;p_uriSpec)</code>
<div class="block">Construct a new URI from a URI specification string.</div>
</td>
</tr>
<tr class="altColor">
<td class="colOne"><code><strong><a href="../../../../org/apache/axis/types/URI.html#URI(java.lang.String,%20boolean)">URI</a></strong>(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;p_uriSpec,
boolean&nbsp;allowNonAbsoluteURI)</code>
<div class="block">Construct a new URI from a URI specification string.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><strong><a href="../../../../org/apache/axis/types/URI.html#URI(java.lang.String,%20java.lang.String)">URI</a></strong>(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;p_scheme,
<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;p_schemeSpecificPart)</code>
<div class="block">Construct a new URI that does not follow the generic URI syntax.</div>
</td>
</tr>
<tr class="altColor">
<td class="colOne"><code><strong><a href="../../../../org/apache/axis/types/URI.html#URI(java.lang.String,%20java.lang.String,%20java.lang.String,%20int,%20java.lang.String,%20java.lang.String,%20java.lang.String)">URI</a></strong>(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;p_scheme,
<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;p_userinfo,
<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;p_host,
int&nbsp;p_port,
<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;p_path,
<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;p_queryString,
<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;p_fragment)</code>
<div class="block">Construct a new URI that follows the generic URI syntax from its
component parts.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><strong><a href="../../../../org/apache/axis/types/URI.html#URI(java.lang.String,%20java.lang.String,%20java.lang.String,%20java.lang.String,%20java.lang.String)">URI</a></strong>(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;p_scheme,
<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;p_host,
<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;p_path,
<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;p_queryString,
<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;p_fragment)</code>
<div class="block">Construct a new URI that follows the generic URI syntax from its
component parts.</div>
</td>
</tr>
<tr class="altColor">
<td class="colOne"><code><strong><a href="../../../../org/apache/axis/types/URI.html#URI(org.apache.axis.types.URI)">URI</a></strong>(<a href="../../../../org/apache/axis/types/URI.html" title="class in org.apache.axis.types">URI</a>&nbsp;p_other)</code>
<div class="block">Construct a new URI from another URI.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><strong><a href="../../../../org/apache/axis/types/URI.html#URI(org.apache.axis.types.URI,%20java.lang.String)">URI</a></strong>(<a href="../../../../org/apache/axis/types/URI.html" title="class in org.apache.axis.types">URI</a>&nbsp;p_base,
<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;p_uriSpec)</code>
<div class="block">Construct a new URI from a base URI and a URI specification string.</div>
</td>
</tr>
<tr class="altColor">
<td class="colOne"><code><strong><a href="../../../../org/apache/axis/types/URI.html#URI(org.apache.axis.types.URI,%20java.lang.String,%20boolean)">URI</a></strong>(<a href="../../../../org/apache/axis/types/URI.html" title="class in org.apache.axis.types">URI</a>&nbsp;p_base,
<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;p_uriSpec,
boolean&nbsp;allowNonAbsoluteURI)</code>
<div class="block">Construct a new URI from a base URI and a URI specification string.</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method_summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/axis/types/URI.html#absolutize(org.apache.axis.types.URI)">absolutize</a></strong>(<a href="../../../../org/apache/axis/types/URI.html" title="class in org.apache.axis.types">URI</a>&nbsp;p_base)</code>
<div class="block">Absolutize URI with given base URI.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/axis/types/URI.html#appendPath(java.lang.String)">appendPath</a></strong>(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;p_addToPath)</code>
<div class="block">Append to the end of the path of this URI.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/axis/types/URI.html#equals(java.lang.Object)">equals</a></strong>(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;p_test)</code>
<div class="block">Determines if the passed-in Object is equivalent to this URI.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/axis/types/URI.html#getFragment()">getFragment</a></strong>()</code>
<div class="block">Get the fragment for this URI.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/axis/types/URI.html#getHost()">getHost</a></strong>()</code>
<div class="block">Get the host for this URI.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/axis/types/URI.html#getPath()">getPath</a></strong>()</code>
<div class="block">Get the path for this URI.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/axis/types/URI.html#getPath(boolean,%20boolean)">getPath</a></strong>(boolean&nbsp;p_includeQueryString,
boolean&nbsp;p_includeFragment)</code>
<div class="block">Get the path for this URI (optionally with the query string and
fragment).</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/axis/types/URI.html#getPort()">getPort</a></strong>()</code>
<div class="block">Get the port for this URI.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/axis/types/URI.html#getQueryString()">getQueryString</a></strong>()</code>
<div class="block">Get the query string for this URI.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/axis/types/URI.html#getRegBasedAuthority()">getRegBasedAuthority</a></strong>()</code>
<div class="block">Get the registry based authority for this URI.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/axis/types/URI.html#getScheme()">getScheme</a></strong>()</code>
<div class="block">Get the scheme for this URI.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/axis/types/URI.html#getSchemeSpecificPart()">getSchemeSpecificPart</a></strong>()</code>
<div class="block">Get the scheme-specific part for this URI (everything following the
scheme and the first colon).</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/axis/types/URI.html#getUserinfo()">getUserinfo</a></strong>()</code>
<div class="block">Get the userinfo for this URI.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/axis/types/URI.html#hashCode()">hashCode</a></strong>()</code>
<div class="block">Returns a hash-code value for this URI.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/axis/types/URI.html#isAbsoluteURI()">isAbsoluteURI</a></strong>()</code>
<div class="block">Returns whether this URI represents an absolute URI.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/axis/types/URI.html#isConformantSchemeName(java.lang.String)">isConformantSchemeName</a></strong>(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;p_scheme)</code>
<div class="block">Determine whether a scheme conforms to the rules for a scheme name.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/axis/types/URI.html#isGenericURI()">isGenericURI</a></strong>()</code>
<div class="block">Get the indicator as to whether this URI uses the "generic URI"
syntax.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/axis/types/URI.html#isWellFormedAddress(java.lang.String)">isWellFormedAddress</a></strong>(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;address)</code>
<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 class="altColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/axis/types/URI.html#isWellFormedIPv4Address(java.lang.String)">isWellFormedIPv4Address</a></strong>(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;address)</code>
<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 class="rowColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/axis/types/URI.html#isWellFormedIPv6Reference(java.lang.String)">isWellFormedIPv6Reference</a></strong>(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;address)</code>
<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 class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/axis/types/URI.html#setFragment(java.lang.String)">setFragment</a></strong>(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;p_fragment)</code>
<div class="block">Set the fragment for this URI.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/axis/types/URI.html#setHost(java.lang.String)">setHost</a></strong>(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;p_host)</code>
<div class="block">Set the host for this URI.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/axis/types/URI.html#setPath(java.lang.String)">setPath</a></strong>(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;p_path)</code>
<div class="block">Set the path for this URI.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/axis/types/URI.html#setPort(int)">setPort</a></strong>(int&nbsp;p_port)</code>
<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 class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/axis/types/URI.html#setQueryString(java.lang.String)">setQueryString</a></strong>(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;p_queryString)</code>
<div class="block">Set the query string for this URI.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/axis/types/URI.html#setRegBasedAuthority(java.lang.String)">setRegBasedAuthority</a></strong>(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;authority)</code>
<div class="block">Sets the registry based authority for this URI.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/axis/types/URI.html#setScheme(java.lang.String)">setScheme</a></strong>(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;p_scheme)</code>
<div class="block">Set the scheme for this URI.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/axis/types/URI.html#setUserinfo(java.lang.String)">setUserinfo</a></strong>(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;p_userinfo)</code>
<div class="block">Set the userinfo for this URI.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/axis/types/URI.html#toString()">toString</a></strong>()</code>
<div class="block">Get the URI as a string specification.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
<code><a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/Object.html?is-external=true#wait(long,%20int)" title="class or interface in java.lang">wait</a></code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="URI()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>URI</h4>
<pre>public&nbsp;URI()</pre>
<div class="block">Construct a new and uninitialized URI.</div>
</li>
</ul>
<a name="URI(org.apache.axis.types.URI)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>URI</h4>
<pre>public&nbsp;URI(<a href="../../../../org/apache/axis/types/URI.html" title="class in org.apache.axis.types">URI</a>&nbsp;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="strong">Parameters:</span></dt><dd><code>p_other</code> - the URI to copy (cannot be null)</dd></dl>
</li>
</ul>
<a name="URI(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>URI</h4>
<pre>public&nbsp;URI(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;p_uriSpec)
throws <a href="../../../../org/apache/axis/types/URI.MalformedURIException.html" title="class in org.apache.axis.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="strong">Parameters:</span></dt><dd><code>p_uriSpec</code> - the URI specification string (cannot be null or
empty)</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../../org/apache/axis/types/URI.MalformedURIException.html" title="class in org.apache.axis.types">URI.MalformedURIException</a></code> - if p_uriSpec violates any syntax
rules</dd></dl>
</li>
</ul>
<a name="URI(java.lang.String, boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>URI</h4>
<pre>public&nbsp;URI(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;p_uriSpec,
boolean&nbsp;allowNonAbsoluteURI)
throws <a href="../../../../org/apache/axis/types/URI.MalformedURIException.html" title="class in org.apache.axis.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.
Construct a relative URI if boolean is assigned to "true"
and p_uriSpec is not valid absolute URI, instead of throwing an exception.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>p_uriSpec</code> - the URI specification string (cannot be null or
empty)</dd><dd><code>allowNonAbsoluteURI</code> - true to permit non-absolute URIs,
false otherwise.</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../../org/apache/axis/types/URI.MalformedURIException.html" title="class in org.apache.axis.types">URI.MalformedURIException</a></code> - if p_uriSpec violates any syntax
rules</dd></dl>
</li>
</ul>
<a name="URI(org.apache.axis.types.URI, java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>URI</h4>
<pre>public&nbsp;URI(<a href="../../../../org/apache/axis/types/URI.html" title="class in org.apache.axis.types">URI</a>&nbsp;p_base,
<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;p_uriSpec)
throws <a href="../../../../org/apache/axis/types/URI.MalformedURIException.html" title="class in org.apache.axis.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="strong">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="strong">Throws:</span></dt>
<dd><code><a href="../../../../org/apache/axis/types/URI.MalformedURIException.html" title="class in org.apache.axis.types">URI.MalformedURIException</a></code> - if p_uriSpec violates any syntax
rules</dd></dl>
</li>
</ul>
<a name="URI(org.apache.axis.types.URI, java.lang.String, boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>URI</h4>
<pre>public&nbsp;URI(<a href="../../../../org/apache/axis/types/URI.html" title="class in org.apache.axis.types">URI</a>&nbsp;p_base,
<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;p_uriSpec,
boolean&nbsp;allowNonAbsoluteURI)
throws <a href="../../../../org/apache/axis/types/URI.MalformedURIException.html" title="class in org.apache.axis.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.
Construct a relative URI if boolean is assigned to "true"
and p_uriSpec is not valid absolute URI and p_base is null
instead of throwing an exception.</div>
<dl><dt><span class="strong">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><dd><code>allowNonAbsoluteURI</code> - true to permit non-absolute URIs,
false otherwise.</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../../org/apache/axis/types/URI.MalformedURIException.html" title="class in org.apache.axis.types">URI.MalformedURIException</a></code> - if p_uriSpec violates any syntax
rules</dd></dl>
</li>
</ul>
<a name="URI(java.lang.String, java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>URI</h4>
<pre>public&nbsp;URI(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;p_scheme,
<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;p_schemeSpecificPart)
throws <a href="../../../../org/apache/axis/types/URI.MalformedURIException.html" title="class in org.apache.axis.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="strong">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="strong">Throws:</span></dt>
<dd><code><a href="../../../../org/apache/axis/types/URI.MalformedURIException.html" title="class in org.apache.axis.types">URI.MalformedURIException</a></code> - if p_scheme violates any
syntax rules</dd></dl>
</li>
</ul>
<a name="URI(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&nbsp;URI(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;p_scheme,
<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;p_host,
<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;p_path,
<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;p_queryString,
<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;p_fragment)
throws <a href="../../../../org/apache/axis/types/URI.MalformedURIException.html" title="class in org.apache.axis.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="strong">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="strong">Throws:</span></dt>
<dd><code><a href="../../../../org/apache/axis/types/URI.MalformedURIException.html" title="class in org.apache.axis.types">URI.MalformedURIException</a></code> - if any of the parameters violates
syntax rules or semantic rules</dd></dl>
</li>
</ul>
<a name="URI(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&nbsp;URI(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;p_scheme,
<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;p_userinfo,
<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;p_host,
int&nbsp;p_port,
<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;p_path,
<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;p_queryString,
<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;p_fragment)
throws <a href="../../../../org/apache/axis/types/URI.MalformedURIException.html" title="class in org.apache.axis.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="strong">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="strong">Throws:</span></dt>
<dd><code><a href="../../../../org/apache/axis/types/URI.MalformedURIException.html" title="class in org.apache.axis.types">URI.MalformedURIException</a></code> - if any of the parameters violates
syntax rules or semantic rules</dd></dl>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method_detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="absolutize(org.apache.axis.types.URI)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>absolutize</h4>
<pre>public&nbsp;void&nbsp;absolutize(<a href="../../../../org/apache/axis/types/URI.html" title="class in org.apache.axis.types">URI</a>&nbsp;p_base)</pre>
<div class="block">Absolutize URI with given base URI.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>p_base</code> - base URI for absolutization</dd></dl>
</li>
</ul>
<a name="getScheme()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getScheme</h4>
<pre>public&nbsp;<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getScheme()</pre>
<div class="block">Get the scheme for this URI.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the scheme for this URI</dd></dl>
</li>
</ul>
<a name="getSchemeSpecificPart()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSchemeSpecificPart</h4>
<pre>public&nbsp;<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;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="strong">Returns:</span></dt><dd>the scheme-specific part for this URI</dd></dl>
</li>
</ul>
<a name="getUserinfo()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getUserinfo</h4>
<pre>public&nbsp;<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getUserinfo()</pre>
<div class="block">Get the userinfo for this URI.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the userinfo for this URI (null if not specified).</dd></dl>
</li>
</ul>
<a name="getHost()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getHost</h4>
<pre>public&nbsp;<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getHost()</pre>
<div class="block">Get the host for this URI.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the host for this URI (null if not specified).</dd></dl>
</li>
</ul>
<a name="getPort()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getPort</h4>
<pre>public&nbsp;int&nbsp;getPort()</pre>
<div class="block">Get the port for this URI.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the port for this URI (-1 if not specified).</dd></dl>
</li>
</ul>
<a name="getRegBasedAuthority()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getRegBasedAuthority</h4>
<pre>public&nbsp;<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getRegBasedAuthority()</pre>
<div class="block">Get the registry based authority for this URI.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the registry based authority (null if not specified).</dd></dl>
</li>
</ul>
<a name="getPath(boolean, boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getPath</h4>
<pre>public&nbsp;<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getPath(boolean&nbsp;p_includeQueryString,
boolean&nbsp;p_includeFragment)</pre>
<div class="block">Get the path for this URI (optionally with the query string and
fragment).</div>
<dl><dt><span class="strong">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="strong">Returns:</span></dt><dd>the path for this URI possibly including the query string
and fragment</dd></dl>
</li>
</ul>
<a name="getPath()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getPath</h4>
<pre>public&nbsp;<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;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="strong">Returns:</span></dt><dd>the path for this URI.</dd></dl>
</li>
</ul>
<a name="getQueryString()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getQueryString</h4>
<pre>public&nbsp;<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getQueryString()</pre>
<div class="block">Get the query string for this URI.</div>
<dl><dt><span class="strong">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 name="getFragment()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getFragment</h4>
<pre>public&nbsp;<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getFragment()</pre>
<div class="block">Get the fragment for this URI.</div>
<dl><dt><span class="strong">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 name="setScheme(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setScheme</h4>
<pre>public&nbsp;void&nbsp;setScheme(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;p_scheme)
throws <a href="../../../../org/apache/axis/types/URI.MalformedURIException.html" title="class in org.apache.axis.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="strong">Parameters:</span></dt><dd><code>p_scheme</code> - the scheme for this URI (cannot be null)</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../../org/apache/axis/types/URI.MalformedURIException.html" title="class in org.apache.axis.types">URI.MalformedURIException</a></code> - if p_scheme is not a conformant
scheme name</dd></dl>
</li>
</ul>
<a name="setUserinfo(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setUserinfo</h4>
<pre>public&nbsp;void&nbsp;setUserinfo(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;p_userinfo)
throws <a href="../../../../org/apache/axis/types/URI.MalformedURIException.html" title="class in org.apache.axis.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="strong">Parameters:</span></dt><dd><code>p_userinfo</code> - the userinfo for this URI</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../../org/apache/axis/types/URI.MalformedURIException.html" title="class in org.apache.axis.types">URI.MalformedURIException</a></code> - if p_userinfo contains invalid
characters</dd></dl>
</li>
</ul>
<a name="setHost(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setHost</h4>
<pre>public&nbsp;void&nbsp;setHost(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;p_host)
throws <a href="../../../../org/apache/axis/types/URI.MalformedURIException.html" title="class in org.apache.axis.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>Note: This method overwrites registry based authority if it
previously existed in this URI.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>p_host</code> - the host for this URI</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../../org/apache/axis/types/URI.MalformedURIException.html" title="class in org.apache.axis.types">URI.MalformedURIException</a></code> - if p_host is not a valid IP
address or DNS hostname.</dd></dl>
</li>
</ul>
<a name="setPort(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setPort</h4>
<pre>public&nbsp;void&nbsp;setPort(int&nbsp;p_port)
throws <a href="../../../../org/apache/axis/types/URI.MalformedURIException.html" title="class in org.apache.axis.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="strong">Parameters:</span></dt><dd><code>p_port</code> - the port number for this URI</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../../org/apache/axis/types/URI.MalformedURIException.html" title="class in org.apache.axis.types">URI.MalformedURIException</a></code> - if p_port is not -1 and not a
valid port number</dd></dl>
</li>
</ul>
<a name="setRegBasedAuthority(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setRegBasedAuthority</h4>
<pre>public&nbsp;void&nbsp;setRegBasedAuthority(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;authority)
throws <a href="../../../../org/apache/axis/types/URI.MalformedURIException.html" title="class in org.apache.axis.types">URI.MalformedURIException</a></pre>
<div class="block"><p>Sets the registry based authority for this URI.</p>
<p>Note: This method overwrites server based authority
if it previously existed in this URI.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>authority</code> - the registry based authority for this URI</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../../org/apache/axis/types/URI.MalformedURIException.html" title="class in org.apache.axis.types">URI.MalformedURIException</a></code> - it authority is not a
well formed registry based authority</dd></dl>
</li>
</ul>
<a name="setPath(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setPath</h4>
<pre>public&nbsp;void&nbsp;setPath(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;p_path)
throws <a href="../../../../org/apache/axis/types/URI.MalformedURIException.html" title="class in org.apache.axis.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="strong">Parameters:</span></dt><dd><code>p_path</code> - the path for this URI (may be null)</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../../org/apache/axis/types/URI.MalformedURIException.html" title="class in org.apache.axis.types">URI.MalformedURIException</a></code> - if p_path contains invalid
characters</dd></dl>
</li>
</ul>
<a name="appendPath(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>appendPath</h4>
<pre>public&nbsp;void&nbsp;appendPath(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;p_addToPath)
throws <a href="../../../../org/apache/axis/types/URI.MalformedURIException.html" title="class in org.apache.axis.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="strong">Parameters:</span></dt><dd><code>p_addToPath</code> - the new segment to be added to the current path</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../../org/apache/axis/types/URI.MalformedURIException.html" title="class in org.apache.axis.types">URI.MalformedURIException</a></code> - if p_addToPath contains syntax
errors</dd></dl>
</li>
</ul>
<a name="setQueryString(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setQueryString</h4>
<pre>public&nbsp;void&nbsp;setQueryString(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;p_queryString)
throws <a href="../../../../org/apache/axis/types/URI.MalformedURIException.html" title="class in org.apache.axis.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="strong">Parameters:</span></dt><dd><code>p_queryString</code> - the query string for this URI</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../../org/apache/axis/types/URI.MalformedURIException.html" title="class in org.apache.axis.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 name="setFragment(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setFragment</h4>
<pre>public&nbsp;void&nbsp;setFragment(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;p_fragment)
throws <a href="../../../../org/apache/axis/types/URI.MalformedURIException.html" title="class in org.apache.axis.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="strong">Parameters:</span></dt><dd><code>p_fragment</code> - the fragment for this URI</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../../org/apache/axis/types/URI.MalformedURIException.html" title="class in org.apache.axis.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 name="equals(java.lang.Object)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>equals</h4>
<pre>public&nbsp;boolean&nbsp;equals(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;p_test)</pre>
<div class="block">Determines if the passed-in Object is equivalent to this URI.</div>
<dl>
<dt><strong>Overrides:</strong></dt>
<dd><code><a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</a></code>&nbsp;in class&nbsp;<code><a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>p_test</code> - the Object to test for equality.</dd>
<dt><span class="strong">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 name="hashCode()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hashCode</h4>
<pre>public&nbsp;int&nbsp;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="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang"><code>Object.hashCode</code></a> method. </p></div>
<dl>
<dt><strong>Overrides:</strong></dt>
<dd><code><a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</a></code>&nbsp;in class&nbsp;<code><a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd>
<dt><span class="strong">Returns:</span></dt><dd>A hash-code value for this URI</dd></dl>
</li>
</ul>
<a name="toString()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toString</h4>
<pre>public&nbsp;<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;toString()</pre>
<div class="block">Get the URI as a string specification. See RFC 2396 Section 5.2.</div>
<dl>
<dt><strong>Overrides:</strong></dt>
<dd><code><a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</a></code>&nbsp;in class&nbsp;<code><a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd>
<dt><span class="strong">Returns:</span></dt><dd>the URI string specification</dd></dl>
</li>
</ul>
<a name="isGenericURI()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isGenericURI</h4>
<pre>public&nbsp;boolean&nbsp;isGenericURI()</pre>
<div class="block">Get the indicator as to whether this URI uses the "generic URI"
syntax.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>true if this URI uses the "generic URI" syntax, false
otherwise</dd></dl>
</li>
</ul>
<a name="isAbsoluteURI()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isAbsoluteURI</h4>
<pre>public&nbsp;boolean&nbsp;isAbsoluteURI()</pre>
<div class="block">Returns whether this URI represents an absolute URI.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>true if this URI represents an absolute URI, false
otherwise</dd></dl>
</li>
</ul>
<a name="isConformantSchemeName(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isConformantSchemeName</h4>
<pre>public static&nbsp;boolean&nbsp;isConformantSchemeName(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;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="strong">Returns:</span></dt><dd>true if the scheme is conformant, false otherwise</dd></dl>
</li>
</ul>
<a name="isWellFormedAddress(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isWellFormedAddress</h4>
<pre>public static&nbsp;boolean&nbsp;isWellFormedAddress(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;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="strong">Returns:</span></dt><dd>true if the string is a syntactically valid IPv4 address,
IPv6 reference or hostname</dd></dl>
</li>
</ul>
<a name="isWellFormedIPv4Address(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isWellFormedIPv4Address</h4>
<pre>public static&nbsp;boolean&nbsp;isWellFormedIPv4Address(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;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><code>IPv4address = 1*3DIGIT "." 1*3DIGIT "." 1*3DIGIT "." 1*3DIGIT</code></p></div>
<dl><dt><span class="strong">Returns:</span></dt><dd>true if the string is a syntactically valid IPv4 address</dd></dl>
</li>
</ul>
<a name="isWellFormedIPv6Reference(java.lang.String)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>isWellFormedIPv6Reference</h4>
<pre>public static&nbsp;boolean&nbsp;isWellFormedIPv6Reference(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;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><code>IPv6reference = "[" IPv6address "]"</code></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="strong">Returns:</span></dt><dd>true if the string is a syntactically valid IPv6 reference</dd></dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!-- -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../overview-summary.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">
<li><a href="../../../../org/apache/axis/types/UnsignedShort.html" title="class in org.apache.axis.types"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../../org/apache/axis/types/URI.MalformedURIException.html" title="class in org.apache.axis.types"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/apache/axis/types/URI.html" target="_top">Frames</a></li>
<li><a href="URI.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../allclasses-noframe.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>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li><a href="#nested_class_summary">Nested</a>&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright © <a href="http://www.apache.org/">The Apache Software Foundation</a>. All Rights Reserved.</small></p>
</body>
</html>