blob: b6dbebb845011ec80da138bfeb4d7df422a6cd61 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.5.0_18) on Sun Apr 01 21:18:37 PDT 2012 -->
<TITLE>
URI
</TITLE>
<META NAME="keywords" CONTENT="org.apache.xml.serializer.utils.URI class">
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style">
<SCRIPT type="text/javascript">
function windowTitle()
{
parent.document.title="URI";
}
</SCRIPT>
<NOSCRIPT>
</NOSCRIPT>
</HEAD>
<BODY BGCOLOR="white" onload="windowTitle();">
<!-- ========= START OF TOP NAVBAR ======= -->
<A NAME="navbar_top"><!-- --></A>
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/URI.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../../org/apache/xml/serializer/utils/SystemIDResolver.html" title="class in org.apache.xml.serializer.utils"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../../org/apache/xml/serializer/utils/URI.MalformedURIException.html" title="class in org.apache.xml.serializer.utils"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../../index.html?org/apache/xml/serializer/utils/URI.html" target="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="URI.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
&nbsp;<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_top"></A>
<!-- ========= END OF TOP NAVBAR ========= -->
<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
org.apache.xml.serializer.utils</FONT>
<BR>
Class URI</H2>
<PRE>
java.lang.Object
<IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.xml.serializer.utils.URI</B>
</PRE>
<HR>
<DL>
<DT><PRE>final class <A HREF="../../../../../src-html/org/apache/xml/serializer/utils/URI.html#line.65"><B>URI</B></A><DT>extends java.lang.Object</DL>
</PRE>
<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 RFC 2396
<http://www.ietf.org/rfc/rfc2396.txt?number=2396>. Every 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.
This class is a copy of the one in org.apache.xml.utils.
It exists to cut the serializers dependancy on that package.
A minor change from the original is that this class no longer implements
Serializable, and the serialVersionUID magic field is dropped, and
the class is no longer "public".
<P>
<P>
<HR>
<P>
<!-- ======== NESTED CLASS SUMMARY ======== -->
<A NAME="nested_class_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Nested Class Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;class</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/xml/serializer/utils/URI.MalformedURIException.html" title="class in org.apache.xml.serializer.utils">URI.MalformedURIException</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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.</TD>
</TR>
</TABLE>
&nbsp;<!-- =========== FIELD SUMMARY =========== -->
<A NAME="field_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Field Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private static&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/xml/serializer/utils/URI.html#DEBUG">DEBUG</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Indicate whether in DEBUG mode</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private &nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/xml/serializer/utils/URI.html#m_fragment">m_fragment</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If specified, stores the fragment for this URI; otherwise null.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private &nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/xml/serializer/utils/URI.html#m_host">m_host</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If specified, stores the host for this URI; otherwise null.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private &nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/xml/serializer/utils/URI.html#m_path">m_path</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If specified, stores the path for this URI; otherwise null.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private &nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/xml/serializer/utils/URI.html#m_port">m_port</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If specified, stores the port for this URI; otherwise -1.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private &nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/xml/serializer/utils/URI.html#m_queryString">m_queryString</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If specified, stores the query string for this URI; otherwise
null.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private &nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/xml/serializer/utils/URI.html#m_scheme">m_scheme</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Stores the scheme (usually the protocol) for this URI.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private &nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/xml/serializer/utils/URI.html#m_userinfo">m_userinfo</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If specified, stores the userinfo for this URI; otherwise null.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private static&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/xml/serializer/utils/URI.html#MARK_CHARACTERS">MARK_CHARACTERS</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;URI punctuation mark characters - these, combined with
alphanumerics, constitute the "unreserved" characters</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private static&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/xml/serializer/utils/URI.html#RESERVED_CHARACTERS">RESERVED_CHARACTERS</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;reserved characters</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private static&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/xml/serializer/utils/URI.html#SCHEME_CHARACTERS">SCHEME_CHARACTERS</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;scheme can be composed of alphanumerics and these characters</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private static&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/xml/serializer/utils/URI.html#USERINFO_CHARACTERS">USERINFO_CHARACTERS</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;userinfo can be composed of unreserved, escaped and these
characters</TD>
</TR>
</TABLE>
&nbsp;
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<A NAME="constructor_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Constructor Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../../org/apache/xml/serializer/utils/URI.html#URI()">URI</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Construct a new and uninitialized URI.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../../org/apache/xml/serializer/utils/URI.html#URI(java.lang.String)">URI</A></B>(java.lang.String&nbsp;p_uriSpec)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Construct a new URI from a URI specification string.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../../org/apache/xml/serializer/utils/URI.html#URI(java.lang.String, java.lang.String)">URI</A></B>(java.lang.String&nbsp;p_scheme,
java.lang.String&nbsp;p_schemeSpecificPart)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Construct a new URI that does not follow the generic URI syntax.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../../org/apache/xml/serializer/utils/URI.html#URI(java.lang.String, java.lang.String, java.lang.String, int, java.lang.String, java.lang.String, java.lang.String)">URI</A></B>(java.lang.String&nbsp;p_scheme,
java.lang.String&nbsp;p_userinfo,
java.lang.String&nbsp;p_host,
int&nbsp;p_port,
java.lang.String&nbsp;p_path,
java.lang.String&nbsp;p_queryString,
java.lang.String&nbsp;p_fragment)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Construct a new URI that follows the generic URI syntax from its
component parts.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../../org/apache/xml/serializer/utils/URI.html#URI(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)">URI</A></B>(java.lang.String&nbsp;p_scheme,
java.lang.String&nbsp;p_host,
java.lang.String&nbsp;p_path,
java.lang.String&nbsp;p_queryString,
java.lang.String&nbsp;p_fragment)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Construct a new URI that follows the generic URI syntax from its
component parts.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../../org/apache/xml/serializer/utils/URI.html#URI(org.apache.xml.serializer.utils.URI)">URI</A></B>(<A HREF="../../../../../org/apache/xml/serializer/utils/URI.html" title="class in org.apache.xml.serializer.utils">URI</A>&nbsp;p_other)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Construct a new URI from another URI.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../../org/apache/xml/serializer/utils/URI.html#URI(org.apache.xml.serializer.utils.URI, java.lang.String)">URI</A></B>(<A HREF="../../../../../org/apache/xml/serializer/utils/URI.html" title="class in org.apache.xml.serializer.utils">URI</A>&nbsp;p_base,
java.lang.String&nbsp;p_uriSpec)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Construct a new URI from a base URI and a URI specification string.</TD>
</TR>
</TABLE>
&nbsp;
<!-- ========== METHOD SUMMARY =========== -->
<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Method Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/xml/serializer/utils/URI.html#appendPath(java.lang.String)">appendPath</A></B>(java.lang.String&nbsp;p_addToPath)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Append to the end of the path of this URI.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/xml/serializer/utils/URI.html#equals(java.lang.Object)">equals</A></B>(java.lang.Object&nbsp;p_test)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Determines if the passed-in Object is equivalent to this URI.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/xml/serializer/utils/URI.html#getFragment()">getFragment</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the fragment for this URI.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/xml/serializer/utils/URI.html#getHost()">getHost</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the host for this URI.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/xml/serializer/utils/URI.html#getPath()">getPath</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the path for this URI.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/xml/serializer/utils/URI.html#getPath(boolean, boolean)">getPath</A></B>(boolean&nbsp;p_includeQueryString,
boolean&nbsp;p_includeFragment)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the path for this URI (optionally with the query string and
fragment).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/xml/serializer/utils/URI.html#getPort()">getPort</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the port for this URI.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/xml/serializer/utils/URI.html#getQueryString()">getQueryString</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the query string for this URI.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/xml/serializer/utils/URI.html#getScheme()">getScheme</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the scheme for this URI.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/xml/serializer/utils/URI.html#getSchemeSpecificPart()">getSchemeSpecificPart</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the scheme-specific part for this URI (everything following the
scheme and the first colon).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/xml/serializer/utils/URI.html#getUserinfo()">getUserinfo</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the userinfo for this URI.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/xml/serializer/utils/URI.html#initialize(org.apache.xml.serializer.utils.URI)">initialize</A></B>(<A HREF="../../../../../org/apache/xml/serializer/utils/URI.html" title="class in org.apache.xml.serializer.utils">URI</A>&nbsp;p_other)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Initialize all fields of this URI from another URI.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/xml/serializer/utils/URI.html#initialize(org.apache.xml.serializer.utils.URI, java.lang.String)">initialize</A></B>(<A HREF="../../../../../org/apache/xml/serializer/utils/URI.html" title="class in org.apache.xml.serializer.utils">URI</A>&nbsp;p_base,
java.lang.String&nbsp;p_uriSpec)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Initializes this URI from a base URI and a URI specification string.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/xml/serializer/utils/URI.html#initializeAuthority(java.lang.String)">initializeAuthority</A></B>(java.lang.String&nbsp;p_uriSpec)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Initialize the authority (userinfo, host and port) for this
URI from a URI string spec.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/xml/serializer/utils/URI.html#initializePath(java.lang.String)">initializePath</A></B>(java.lang.String&nbsp;p_uriSpec)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Initialize the path for this URI from a URI string spec.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/xml/serializer/utils/URI.html#initializeScheme(java.lang.String)">initializeScheme</A></B>(java.lang.String&nbsp;p_uriSpec)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Initialize the scheme for this URI from a URI string spec.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private static&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/xml/serializer/utils/URI.html#isAlpha(char)">isAlpha</A></B>(char&nbsp;p_char)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Determine whether a char is an alphabetic character: a-z or A-Z</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private static&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/xml/serializer/utils/URI.html#isAlphanum(char)">isAlphanum</A></B>(char&nbsp;p_char)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Determine whether a char is an alphanumeric: 0-9, a-z or A-Z</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/xml/serializer/utils/URI.html#isConformantSchemeName(java.lang.String)">isConformantSchemeName</A></B>(java.lang.String&nbsp;p_scheme)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Determine whether a scheme conforms to the rules for a scheme name.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private static&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/xml/serializer/utils/URI.html#isDigit(char)">isDigit</A></B>(char&nbsp;p_char)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Determine whether a char is a digit.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/xml/serializer/utils/URI.html#isGenericURI()">isGenericURI</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the indicator as to whether this URI uses the "generic URI"
syntax.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private static&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/xml/serializer/utils/URI.html#isHex(char)">isHex</A></B>(char&nbsp;p_char)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Determine whether a character is a hexadecimal character.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private static&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/xml/serializer/utils/URI.html#isReservedCharacter(char)">isReservedCharacter</A></B>(char&nbsp;p_char)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Determine whether a character is a reserved character:
';', '/', '?', ':', '@', '&', '=', '+', '$' or ','</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private static&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/xml/serializer/utils/URI.html#isUnreservedCharacter(char)">isUnreservedCharacter</A></B>(char&nbsp;p_char)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Determine whether a char is an unreserved character.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private static&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/xml/serializer/utils/URI.html#isURIString(java.lang.String)">isURIString</A></B>(java.lang.String&nbsp;p_uric)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Determine whether a given string contains only URI characters (also
called "uric" in RFC 2396).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/xml/serializer/utils/URI.html#isWellFormedAddress(java.lang.String)">isWellFormedAddress</A></B>(java.lang.String&nbsp;p_address)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Determine whether a string is syntactically capable of representing
a valid IPv4 address or the domain name of a network host.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/xml/serializer/utils/URI.html#setFragment(java.lang.String)">setFragment</A></B>(java.lang.String&nbsp;p_fragment)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the fragment for this URI.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/xml/serializer/utils/URI.html#setHost(java.lang.String)">setHost</A></B>(java.lang.String&nbsp;p_host)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the host for this URI.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/xml/serializer/utils/URI.html#setPath(java.lang.String)">setPath</A></B>(java.lang.String&nbsp;p_path)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the path for this URI.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/xml/serializer/utils/URI.html#setPort(int)">setPort</A></B>(int&nbsp;p_port)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the port for this URI.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/xml/serializer/utils/URI.html#setQueryString(java.lang.String)">setQueryString</A></B>(java.lang.String&nbsp;p_queryString)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the query string for this URI.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/xml/serializer/utils/URI.html#setScheme(java.lang.String)">setScheme</A></B>(java.lang.String&nbsp;p_scheme)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the scheme for this URI.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/xml/serializer/utils/URI.html#setUserinfo(java.lang.String)">setUserinfo</A></B>(java.lang.String&nbsp;p_userinfo)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the userinfo for this URI.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/xml/serializer/utils/URI.html#toString()">toString</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the URI as a string specification.</TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD>
</TR>
</TABLE>
&nbsp;
<P>
<!-- ============ FIELD DETAIL =========== -->
<A NAME="field_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Field Detail</B></FONT></TH>
</TR>
</TABLE>
<A NAME="RESERVED_CHARACTERS"><!-- --></A><H3>
RESERVED_CHARACTERS</H3>
<PRE>
private static final java.lang.String <A HREF="../../../../../src-html/org/apache/xml/serializer/utils/URI.html#line.98"><B>RESERVED_CHARACTERS</B></A></PRE>
<DL>
<DD>reserved characters
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.apache.xml.serializer.utils.URI.RESERVED_CHARACTERS">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="MARK_CHARACTERS"><!-- --></A><H3>
MARK_CHARACTERS</H3>
<PRE>
private static final java.lang.String <A HREF="../../../../../src-html/org/apache/xml/serializer/utils/URI.html#line.104"><B>MARK_CHARACTERS</B></A></PRE>
<DL>
<DD>URI punctuation mark characters - these, combined with
alphanumerics, constitute the "unreserved" characters
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.apache.xml.serializer.utils.URI.MARK_CHARACTERS">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="SCHEME_CHARACTERS"><!-- --></A><H3>
SCHEME_CHARACTERS</H3>
<PRE>
private static final java.lang.String <A HREF="../../../../../src-html/org/apache/xml/serializer/utils/URI.html#line.107"><B>SCHEME_CHARACTERS</B></A></PRE>
<DL>
<DD>scheme can be composed of alphanumerics and these characters
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.apache.xml.serializer.utils.URI.SCHEME_CHARACTERS">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="USERINFO_CHARACTERS"><!-- --></A><H3>
USERINFO_CHARACTERS</H3>
<PRE>
private static final java.lang.String <A HREF="../../../../../src-html/org/apache/xml/serializer/utils/URI.html#line.113"><B>USERINFO_CHARACTERS</B></A></PRE>
<DL>
<DD>userinfo can be composed of unreserved, escaped and these
characters
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.apache.xml.serializer.utils.URI.USERINFO_CHARACTERS">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="m_scheme"><!-- --></A><H3>
m_scheme</H3>
<PRE>
private java.lang.String <A HREF="../../../../../src-html/org/apache/xml/serializer/utils/URI.html#line.117"><B>m_scheme</B></A></PRE>
<DL>
<DD>Stores the scheme (usually the protocol) for this URI.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="m_userinfo"><!-- --></A><H3>
m_userinfo</H3>
<PRE>
private java.lang.String <A HREF="../../../../../src-html/org/apache/xml/serializer/utils/URI.html#line.121"><B>m_userinfo</B></A></PRE>
<DL>
<DD>If specified, stores the userinfo for this URI; otherwise null.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="m_host"><!-- --></A><H3>
m_host</H3>
<PRE>
private java.lang.String <A HREF="../../../../../src-html/org/apache/xml/serializer/utils/URI.html#line.125"><B>m_host</B></A></PRE>
<DL>
<DD>If specified, stores the host for this URI; otherwise null.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="m_port"><!-- --></A><H3>
m_port</H3>
<PRE>
private int <A HREF="../../../../../src-html/org/apache/xml/serializer/utils/URI.html#line.129"><B>m_port</B></A></PRE>
<DL>
<DD>If specified, stores the port for this URI; otherwise -1.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="m_path"><!-- --></A><H3>
m_path</H3>
<PRE>
private java.lang.String <A HREF="../../../../../src-html/org/apache/xml/serializer/utils/URI.html#line.133"><B>m_path</B></A></PRE>
<DL>
<DD>If specified, stores the path for this URI; otherwise null.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="m_queryString"><!-- --></A><H3>
m_queryString</H3>
<PRE>
private java.lang.String <A HREF="../../../../../src-html/org/apache/xml/serializer/utils/URI.html#line.140"><B>m_queryString</B></A></PRE>
<DL>
<DD>If specified, stores the query string for this URI; otherwise
null.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="m_fragment"><!-- --></A><H3>
m_fragment</H3>
<PRE>
private java.lang.String <A HREF="../../../../../src-html/org/apache/xml/serializer/utils/URI.html#line.144"><B>m_fragment</B></A></PRE>
<DL>
<DD>If specified, stores the fragment for this URI; otherwise null.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="DEBUG"><!-- --></A><H3>
DEBUG</H3>
<PRE>
private static boolean <A HREF="../../../../../src-html/org/apache/xml/serializer/utils/URI.html#line.147"><B>DEBUG</B></A></PRE>
<DL>
<DD>Indicate whether in DEBUG mode
<P>
<DL>
</DL>
</DL>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<A NAME="constructor_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TH>
</TR>
</TABLE>
<A NAME="URI()"><!-- --></A><H3>
URI</H3>
<PRE>
public <A HREF="../../../../../src-html/org/apache/xml/serializer/utils/URI.html#line.152"><B>URI</B></A>()</PRE>
<DL>
<DD>Construct a new and uninitialized URI.
<P>
</DL>
<HR>
<A NAME="URI(org.apache.xml.serializer.utils.URI)"><!-- --></A><H3>
URI</H3>
<PRE>
public <A HREF="../../../../../src-html/org/apache/xml/serializer/utils/URI.html#line.160"><B>URI</B></A>(<A HREF="../../../../../org/apache/xml/serializer/utils/URI.html" title="class in org.apache.xml.serializer.utils">URI</A>&nbsp;p_other)</PRE>
<DL>
<DD>Construct a new URI from another URI. All fields for this URI are
set equal to the fields of the URI passed in.
<P>
<DL>
<DT><B>Parameters:</B><DD><CODE>p_other</CODE> - the URI to copy (cannot be null)</DL>
</DL>
<HR>
<A NAME="URI(java.lang.String)"><!-- --></A><H3>
URI</H3>
<PRE>
public <A HREF="../../../../../src-html/org/apache/xml/serializer/utils/URI.html#line.180"><B>URI</B></A>(java.lang.String&nbsp;p_uriSpec)
throws <A HREF="../../../../../org/apache/xml/serializer/utils/URI.MalformedURIException.html" title="class in org.apache.xml.serializer.utils">URI.MalformedURIException</A></PRE>
<DL>
<DD>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.
<P>
<DL>
<DT><B>Parameters:</B><DD><CODE>p_uriSpec</CODE> - the URI specification string (cannot be null or
empty)
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../../org/apache/xml/serializer/utils/URI.MalformedURIException.html" title="class in org.apache.xml.serializer.utils">URI.MalformedURIException</A></CODE> - if p_uriSpec violates any syntax
rules</DL>
</DL>
<HR>
<A NAME="URI(org.apache.xml.serializer.utils.URI, java.lang.String)"><!-- --></A><H3>
URI</H3>
<PRE>
public <A HREF="../../../../../src-html/org/apache/xml/serializer/utils/URI.html#line.197"><B>URI</B></A>(<A HREF="../../../../../org/apache/xml/serializer/utils/URI.html" title="class in org.apache.xml.serializer.utils">URI</A>&nbsp;p_base,
java.lang.String&nbsp;p_uriSpec)
throws <A HREF="../../../../../org/apache/xml/serializer/utils/URI.MalformedURIException.html" title="class in org.apache.xml.serializer.utils">URI.MalformedURIException</A></PRE>
<DL>
<DD>Construct a new URI from a base URI and a URI specification string.
The URI specification string may be a relative URI.
<P>
<DL>
<DT><B>Parameters:</B><DD><CODE>p_base</CODE> - the base URI (cannot be null if p_uriSpec is null or
empty)<DD><CODE>p_uriSpec</CODE> - the URI specification string (cannot be null or
empty if p_base is null)
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../../org/apache/xml/serializer/utils/URI.MalformedURIException.html" title="class in org.apache.xml.serializer.utils">URI.MalformedURIException</A></CODE> - if p_uriSpec violates any syntax
rules</DL>
</DL>
<HR>
<A NAME="URI(java.lang.String, java.lang.String)"><!-- --></A><H3>
URI</H3>
<PRE>
public <A HREF="../../../../../src-html/org/apache/xml/serializer/utils/URI.html#line.214"><B>URI</B></A>(java.lang.String&nbsp;p_scheme,
java.lang.String&nbsp;p_schemeSpecificPart)
throws <A HREF="../../../../../org/apache/xml/serializer/utils/URI.MalformedURIException.html" title="class in org.apache.xml.serializer.utils">URI.MalformedURIException</A></PRE>
<DL>
<DD>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.
<P>
<DL>
<DT><B>Parameters:</B><DD><CODE>p_scheme</CODE> - the URI scheme (cannot be null or empty)<DD><CODE>p_schemeSpecificPart</CODE> - the scheme-specific part (cannot be
null or empty)
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../../org/apache/xml/serializer/utils/URI.MalformedURIException.html" title="class in org.apache.xml.serializer.utils">URI.MalformedURIException</A></CODE> - if p_scheme violates any
syntax rules</DL>
</DL>
<HR>
<A NAME="URI(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)"><!-- --></A><H3>
URI</H3>
<PRE>
public <A HREF="../../../../../src-html/org/apache/xml/serializer/utils/URI.html#line.256"><B>URI</B></A>(java.lang.String&nbsp;p_scheme,
java.lang.String&nbsp;p_host,
java.lang.String&nbsp;p_path,
java.lang.String&nbsp;p_queryString,
java.lang.String&nbsp;p_fragment)
throws <A HREF="../../../../../org/apache/xml/serializer/utils/URI.MalformedURIException.html" title="class in org.apache.xml.serializer.utils">URI.MalformedURIException</A></PRE>
<DL>
<DD>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.
<P>
<DL>
<DT><B>Parameters:</B><DD><CODE>p_scheme</CODE> - the URI scheme (cannot be null or empty)<DD><CODE>p_host</CODE> - the hostname or IPv4 address for the URI<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><CODE>p_queryString</CODE> - the URI query string (cannot be specified
if path is null)<DD><CODE>p_fragment</CODE> - the URI fragment (cannot be specified if path
is null)
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../../org/apache/xml/serializer/utils/URI.MalformedURIException.html" title="class in org.apache.xml.serializer.utils">URI.MalformedURIException</A></CODE> - if any of the parameters violates
syntax rules or semantic rules</DL>
</DL>
<HR>
<A NAME="URI(java.lang.String, java.lang.String, java.lang.String, int, java.lang.String, java.lang.String, java.lang.String)"><!-- --></A><H3>
URI</H3>
<PRE>
public <A HREF="../../../../../src-html/org/apache/xml/serializer/utils/URI.html#line.287"><B>URI</B></A>(java.lang.String&nbsp;p_scheme,
java.lang.String&nbsp;p_userinfo,
java.lang.String&nbsp;p_host,
int&nbsp;p_port,
java.lang.String&nbsp;p_path,
java.lang.String&nbsp;p_queryString,
java.lang.String&nbsp;p_fragment)
throws <A HREF="../../../../../org/apache/xml/serializer/utils/URI.MalformedURIException.html" title="class in org.apache.xml.serializer.utils">URI.MalformedURIException</A></PRE>
<DL>
<DD>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.
<P>
<DL>
<DT><B>Parameters:</B><DD><CODE>p_scheme</CODE> - the URI scheme (cannot be null or empty)<DD><CODE>p_userinfo</CODE> - the URI userinfo (cannot be specified if host
is null)<DD><CODE>p_host</CODE> - the hostname or IPv4 address for the URI<DD><CODE>p_port</CODE> - the URI port (may be -1 for "unspecified"; cannot
be specified if host is null)<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><CODE>p_queryString</CODE> - the URI query string (cannot be specified
if path is null)<DD><CODE>p_fragment</CODE> - the URI fragment (cannot be specified if path
is null)
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../../org/apache/xml/serializer/utils/URI.MalformedURIException.html" title="class in org.apache.xml.serializer.utils">URI.MalformedURIException</A></CODE> - if any of the parameters violates
syntax rules or semantic rules</DL>
</DL>
<!-- ============ METHOD DETAIL ========== -->
<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Method Detail</B></FONT></TH>
</TR>
</TABLE>
<A NAME="initialize(org.apache.xml.serializer.utils.URI)"><!-- --></A><H3>
initialize</H3>
<PRE>
private void <A HREF="../../../../../src-html/org/apache/xml/serializer/utils/URI.html#line.340"><B>initialize</B></A>(<A HREF="../../../../../org/apache/xml/serializer/utils/URI.html" title="class in org.apache.xml.serializer.utils">URI</A>&nbsp;p_other)</PRE>
<DL>
<DD>Initialize all fields of this URI from another URI.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>p_other</CODE> - the URI to copy (cannot be null)</DL>
</DD>
</DL>
<HR>
<A NAME="initialize(org.apache.xml.serializer.utils.URI, java.lang.String)"><!-- --></A><H3>
initialize</H3>
<PRE>
private void <A HREF="../../../../../src-html/org/apache/xml/serializer/utils/URI.html#line.368"><B>initialize</B></A>(<A HREF="../../../../../org/apache/xml/serializer/utils/URI.html" title="class in org.apache.xml.serializer.utils">URI</A>&nbsp;p_base,
java.lang.String&nbsp;p_uriSpec)
throws <A HREF="../../../../../org/apache/xml/serializer/utils/URI.MalformedURIException.html" title="class in org.apache.xml.serializer.utils">URI.MalformedURIException</A></PRE>
<DL>
<DD>Initializes this URI from a base URI and a URI specification string.
See RFC 2396 Section 4 and Appendix B for specifications on parsing
the URI and Section 5 for specifications on resolving relative URIs
and relative paths.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>p_base</CODE> - the base URI (may be null if p_uriSpec is an absolute
URI)<DD><CODE>p_uriSpec</CODE> - the URI spec string which may be an absolute or
relative URI (can only be null/empty if p_base
is not null)
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../../org/apache/xml/serializer/utils/URI.MalformedURIException.html" title="class in org.apache.xml.serializer.utils">URI.MalformedURIException</A></CODE> - if p_base is null and p_uriSpec
is not an absolute URI or if
p_uriSpec violates syntax rules</DL>
</DD>
</DL>
<HR>
<A NAME="initializeScheme(java.lang.String)"><!-- --></A><H3>
initializeScheme</H3>
<PRE>
private void <A HREF="../../../../../src-html/org/apache/xml/serializer/utils/URI.html#line.580"><B>initializeScheme</B></A>(java.lang.String&nbsp;p_uriSpec)
throws <A HREF="../../../../../org/apache/xml/serializer/utils/URI.MalformedURIException.html" title="class in org.apache.xml.serializer.utils">URI.MalformedURIException</A></PRE>
<DL>
<DD>Initialize the scheme for this URI from a URI string spec.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>p_uriSpec</CODE> - the URI specification (cannot be null)
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../../org/apache/xml/serializer/utils/URI.MalformedURIException.html" title="class in org.apache.xml.serializer.utils">URI.MalformedURIException</A></CODE> - if URI does not have a conformant
scheme</DL>
</DD>
</DL>
<HR>
<A NAME="initializeAuthority(java.lang.String)"><!-- --></A><H3>
initializeAuthority</H3>
<PRE>
private void <A HREF="../../../../../src-html/org/apache/xml/serializer/utils/URI.html#line.621"><B>initializeAuthority</B></A>(java.lang.String&nbsp;p_uriSpec)
throws <A HREF="../../../../../org/apache/xml/serializer/utils/URI.MalformedURIException.html" title="class in org.apache.xml.serializer.utils">URI.MalformedURIException</A></PRE>
<DL>
<DD>Initialize the authority (userinfo, host and port) for this
URI from a URI string spec.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>p_uriSpec</CODE> - the URI specification (cannot be null)
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../../org/apache/xml/serializer/utils/URI.MalformedURIException.html" title="class in org.apache.xml.serializer.utils">URI.MalformedURIException</A></CODE> - if p_uriSpec violates syntax rules</DL>
</DD>
</DL>
<HR>
<A NAME="initializePath(java.lang.String)"><!-- --></A><H3>
initializePath</H3>
<PRE>
private void <A HREF="../../../../../src-html/org/apache/xml/serializer/utils/URI.html#line.725"><B>initializePath</B></A>(java.lang.String&nbsp;p_uriSpec)
throws <A HREF="../../../../../org/apache/xml/serializer/utils/URI.MalformedURIException.html" title="class in org.apache.xml.serializer.utils">URI.MalformedURIException</A></PRE>
<DL>
<DD>Initialize the path for this URI from a URI string spec.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>p_uriSpec</CODE> - the URI specification (cannot be null)
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../../org/apache/xml/serializer/utils/URI.MalformedURIException.html" title="class in org.apache.xml.serializer.utils">URI.MalformedURIException</A></CODE> - if p_uriSpec violates syntax rules</DL>
</DD>
</DL>
<HR>
<A NAME="getScheme()"><!-- --></A><H3>
getScheme</H3>
<PRE>
public java.lang.String <A HREF="../../../../../src-html/org/apache/xml/serializer/utils/URI.html#line.849"><B>getScheme</B></A>()</PRE>
<DL>
<DD>Get the scheme for this URI.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>the scheme for this URI</DL>
</DD>
</DL>
<HR>
<A NAME="getSchemeSpecificPart()"><!-- --></A><H3>
getSchemeSpecificPart</H3>
<PRE>
public java.lang.String <A HREF="../../../../../src-html/org/apache/xml/serializer/utils/URI.html#line.860"><B>getSchemeSpecificPart</B></A>()</PRE>
<DL>
<DD>Get the scheme-specific part for this URI (everything following the
scheme and the first colon). See RFC 2396 Section 5.2 for spec.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>the scheme-specific part for this URI</DL>
</DD>
</DL>
<HR>
<A NAME="getUserinfo()"><!-- --></A><H3>
getUserinfo</H3>
<PRE>
public java.lang.String <A HREF="../../../../../src-html/org/apache/xml/serializer/utils/URI.html#line.912"><B>getUserinfo</B></A>()</PRE>
<DL>
<DD>Get the userinfo for this URI.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>the userinfo for this URI (null if not specified).</DL>
</DD>
</DL>
<HR>
<A NAME="getHost()"><!-- --></A><H3>
getHost</H3>
<PRE>
public java.lang.String <A HREF="../../../../../src-html/org/apache/xml/serializer/utils/URI.html#line.922"><B>getHost</B></A>()</PRE>
<DL>
<DD>Get the host for this URI.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>the host for this URI (null if not specified).</DL>
</DD>
</DL>
<HR>
<A NAME="getPort()"><!-- --></A><H3>
getPort</H3>
<PRE>
public int <A HREF="../../../../../src-html/org/apache/xml/serializer/utils/URI.html#line.932"><B>getPort</B></A>()</PRE>
<DL>
<DD>Get the port for this URI.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>the port for this URI (-1 if not specified).</DL>
</DD>
</DL>
<HR>
<A NAME="getPath(boolean, boolean)"><!-- --></A><H3>
getPath</H3>
<PRE>
public java.lang.String <A HREF="../../../../../src-html/org/apache/xml/serializer/utils/URI.html#line.951"><B>getPath</B></A>(boolean&nbsp;p_includeQueryString,
boolean&nbsp;p_includeFragment)</PRE>
<DL>
<DD>Get the path for this URI (optionally with the query string and
fragment).
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>p_includeQueryString</CODE> - if true (and query string is not null),
then a "?" followed by the query string
will be appended<DD><CODE>p_includeFragment</CODE> - if true (and fragment is not null),
then a "#" followed by the fragment
will be appended
<DT><B>Returns:</B><DD>the path for this URI possibly including the query string
and fragment</DL>
</DD>
</DL>
<HR>
<A NAME="getPath()"><!-- --></A><H3>
getPath</H3>
<PRE>
public java.lang.String <A HREF="../../../../../src-html/org/apache/xml/serializer/utils/URI.html#line.978"><B>getPath</B></A>()</PRE>
<DL>
<DD>Get the path for this URI. Note that the value returned is the path
only and does not include the query string or fragment.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>the path for this URI.</DL>
</DD>
</DL>
<HR>
<A NAME="getQueryString()"><!-- --></A><H3>
getQueryString</H3>
<PRE>
public java.lang.String <A HREF="../../../../../src-html/org/apache/xml/serializer/utils/URI.html#line.990"><B>getQueryString</B></A>()</PRE>
<DL>
<DD>Get the query string for this URI.
<P>
<DD><DL>
<DT><B>Returns:</B><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.</DL>
</DD>
</DL>
<HR>
<A NAME="getFragment()"><!-- --></A><H3>
getFragment</H3>
<PRE>
public java.lang.String <A HREF="../../../../../src-html/org/apache/xml/serializer/utils/URI.html#line.1002"><B>getFragment</B></A>()</PRE>
<DL>
<DD>Get the fragment for this URI.
<P>
<DD><DL>
<DT><B>Returns:</B><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.</DL>
</DD>
</DL>
<HR>
<A NAME="setScheme(java.lang.String)"><!-- --></A><H3>
setScheme</H3>
<PRE>
public void <A HREF="../../../../../src-html/org/apache/xml/serializer/utils/URI.html#line.1016"><B>setScheme</B></A>(java.lang.String&nbsp;p_scheme)
throws <A HREF="../../../../../org/apache/xml/serializer/utils/URI.MalformedURIException.html" title="class in org.apache.xml.serializer.utils">URI.MalformedURIException</A></PRE>
<DL>
<DD>Set the scheme for this URI. The scheme is converted to lowercase
before it is set.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>p_scheme</CODE> - the scheme for this URI (cannot be null)
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../../org/apache/xml/serializer/utils/URI.MalformedURIException.html" title="class in org.apache.xml.serializer.utils">URI.MalformedURIException</A></CODE> - if p_scheme is not a conformant
scheme name</DL>
</DD>
</DL>
<HR>
<A NAME="setUserinfo(java.lang.String)"><!-- --></A><H3>
setUserinfo</H3>
<PRE>
public void <A HREF="../../../../../src-html/org/apache/xml/serializer/utils/URI.html#line.1041"><B>setUserinfo</B></A>(java.lang.String&nbsp;p_userinfo)
throws <A HREF="../../../../../org/apache/xml/serializer/utils/URI.MalformedURIException.html" title="class in org.apache.xml.serializer.utils">URI.MalformedURIException</A></PRE>
<DL>
<DD>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.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>p_userinfo</CODE> - the userinfo for this URI
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../../org/apache/xml/serializer/utils/URI.MalformedURIException.html" title="class in org.apache.xml.serializer.utils">URI.MalformedURIException</A></CODE> - if p_userinfo contains invalid
characters</DL>
</DD>
</DL>
<HR>
<A NAME="setHost(java.lang.String)"><!-- --></A><H3>
setHost</H3>
<PRE>
public void <A HREF="../../../../../src-html/org/apache/xml/serializer/utils/URI.html#line.1098"><B>setHost</B></A>(java.lang.String&nbsp;p_host)
throws <A HREF="../../../../../org/apache/xml/serializer/utils/URI.MalformedURIException.html" title="class in org.apache.xml.serializer.utils">URI.MalformedURIException</A></PRE>
<DL>
<DD>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>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>p_host</CODE> - the host for this URI
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../../org/apache/xml/serializer/utils/URI.MalformedURIException.html" title="class in org.apache.xml.serializer.utils">URI.MalformedURIException</A></CODE> - if p_host is not a valid IP
address or DNS hostname.</DL>
</DD>
</DL>
<HR>
<A NAME="setPort(int)"><!-- --></A><H3>
setPort</H3>
<PRE>
public void <A HREF="../../../../../src-html/org/apache/xml/serializer/utils/URI.html#line.1126"><B>setPort</B></A>(int&nbsp;p_port)
throws <A HREF="../../../../../org/apache/xml/serializer/utils/URI.MalformedURIException.html" title="class in org.apache.xml.serializer.utils">URI.MalformedURIException</A></PRE>
<DL>
<DD>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.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>p_port</CODE> - the port number for this URI
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../../org/apache/xml/serializer/utils/URI.MalformedURIException.html" title="class in org.apache.xml.serializer.utils">URI.MalformedURIException</A></CODE> - if p_port is not -1 and not a
valid port number</DL>
</DD>
</DL>
<HR>
<A NAME="setPath(java.lang.String)"><!-- --></A><H3>
setPath</H3>
<PRE>
public void <A HREF="../../../../../src-html/org/apache/xml/serializer/utils/URI.html#line.1159"><B>setPath</B></A>(java.lang.String&nbsp;p_path)
throws <A HREF="../../../../../org/apache/xml/serializer/utils/URI.MalformedURIException.html" title="class in org.apache.xml.serializer.utils">URI.MalformedURIException</A></PRE>
<DL>
<DD>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.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>p_path</CODE> - the path for this URI (may be null)
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../../org/apache/xml/serializer/utils/URI.MalformedURIException.html" title="class in org.apache.xml.serializer.utils">URI.MalformedURIException</A></CODE> - if p_path contains invalid
characters</DL>
</DD>
</DL>
<HR>
<A NAME="appendPath(java.lang.String)"><!-- --></A><H3>
appendPath</H3>
<PRE>
public void <A HREF="../../../../../src-html/org/apache/xml/serializer/utils/URI.html#line.1187"><B>appendPath</B></A>(java.lang.String&nbsp;p_addToPath)
throws <A HREF="../../../../../org/apache/xml/serializer/utils/URI.MalformedURIException.html" title="class in org.apache.xml.serializer.utils">URI.MalformedURIException</A></PRE>
<DL>
<DD>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.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>p_addToPath</CODE> - the new segment to be added to the current path
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../../org/apache/xml/serializer/utils/URI.MalformedURIException.html" title="class in org.apache.xml.serializer.utils">URI.MalformedURIException</A></CODE> - if p_addToPath contains syntax
errors</DL>
</DD>
</DL>
<HR>
<A NAME="setQueryString(java.lang.String)"><!-- --></A><H3>
setQueryString</H3>
<PRE>
public void <A HREF="../../../../../src-html/org/apache/xml/serializer/utils/URI.html#line.1246"><B>setQueryString</B></A>(java.lang.String&nbsp;p_queryString)
throws <A HREF="../../../../../org/apache/xml/serializer/utils/URI.MalformedURIException.html" title="class in org.apache.xml.serializer.utils">URI.MalformedURIException</A></PRE>
<DL>
<DD>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.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>p_queryString</CODE> - the query string for this URI
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../../org/apache/xml/serializer/utils/URI.MalformedURIException.html" title="class in org.apache.xml.serializer.utils">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</DL>
</DD>
</DL>
<HR>
<A NAME="setFragment(java.lang.String)"><!-- --></A><H3>
setFragment</H3>
<PRE>
public void <A HREF="../../../../../src-html/org/apache/xml/serializer/utils/URI.html#line.1286"><B>setFragment</B></A>(java.lang.String&nbsp;p_fragment)
throws <A HREF="../../../../../org/apache/xml/serializer/utils/URI.MalformedURIException.html" title="class in org.apache.xml.serializer.utils">URI.MalformedURIException</A></PRE>
<DL>
<DD>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.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>p_fragment</CODE> - the fragment for this URI
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../../org/apache/xml/serializer/utils/URI.MalformedURIException.html" title="class in org.apache.xml.serializer.utils">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</DL>
</DD>
</DL>
<HR>
<A NAME="equals(java.lang.Object)"><!-- --></A><H3>
equals</H3>
<PRE>
public boolean <A HREF="../../../../../src-html/org/apache/xml/serializer/utils/URI.html#line.1321"><B>equals</B></A>(java.lang.Object&nbsp;p_test)</PRE>
<DL>
<DD>Determines if the passed-in Object is equivalent to this URI.
<P>
<DD><DL>
<DT><B>Overrides:</B><DD><CODE>equals</CODE> in class <CODE>java.lang.Object</CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>p_test</CODE> - the Object to test for equality.
<DT><B>Returns:</B><DD>true if p_test is a URI with all values equal to this
URI, false otherwise</DL>
</DD>
</DL>
<HR>
<A NAME="toString()"><!-- --></A><H3>
toString</H3>
<PRE>
public java.lang.String <A HREF="../../../../../src-html/org/apache/xml/serializer/utils/URI.html#line.1348"><B>toString</B></A>()</PRE>
<DL>
<DD>Get the URI as a string specification. See RFC 2396 Section 5.2.
<P>
<DD><DL>
<DT><B>Overrides:</B><DD><CODE>toString</CODE> in class <CODE>java.lang.Object</CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>the URI string specification</DL>
</DD>
</DL>
<HR>
<A NAME="isGenericURI()"><!-- --></A><H3>
isGenericURI</H3>
<PRE>
public boolean <A HREF="../../../../../src-html/org/apache/xml/serializer/utils/URI.html#line.1371"><B>isGenericURI</B></A>()</PRE>
<DL>
<DD>Get the indicator as to whether this URI uses the "generic URI"
syntax.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>true if this URI uses the "generic URI" syntax, false
otherwise</DL>
</DD>
</DL>
<HR>
<A NAME="isConformantSchemeName(java.lang.String)"><!-- --></A><H3>
isConformantSchemeName</H3>
<PRE>
public static boolean <A HREF="../../../../../src-html/org/apache/xml/serializer/utils/URI.html#line.1388"><B>isConformantSchemeName</B></A>(java.lang.String&nbsp;p_scheme)</PRE>
<DL>
<DD>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 '.'.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>p_scheme</CODE> - The sheme name to check
<DT><B>Returns:</B><DD>true if the scheme is conformant, false otherwise</DL>
</DD>
</DL>
<HR>
<A NAME="isWellFormedAddress(java.lang.String)"><!-- --></A><H3>
isWellFormedAddress</H3>
<PRE>
public static boolean <A HREF="../../../../../src-html/org/apache/xml/serializer/utils/URI.html#line.1429"><B>isWellFormedAddress</B></A>(java.lang.String&nbsp;p_address)</PRE>
<DL>
<DD>Determine whether a string is syntactically capable of representing
a valid IPv4 address or the domain name of a network host. A valid
IPv4 address consists of four decimal digit groups separated by a
'.'. 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.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>p_address</CODE> - The address string to check
<DT><B>Returns:</B><DD>true if the string is a syntactically valid IPv4 address
or hostname</DL>
</DD>
</DL>
<HR>
<A NAME="isDigit(char)"><!-- --></A><H3>
isDigit</H3>
<PRE>
private static boolean <A HREF="../../../../../src-html/org/apache/xml/serializer/utils/URI.html#line.1533"><B>isDigit</B></A>(char&nbsp;p_char)</PRE>
<DL>
<DD>Determine whether a char is a digit.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>p_char</CODE> - the character to check
<DT><B>Returns:</B><DD>true if the char is betweeen '0' and '9', false otherwise</DL>
</DD>
</DL>
<HR>
<A NAME="isHex(char)"><!-- --></A><H3>
isHex</H3>
<PRE>
private static boolean <A HREF="../../../../../src-html/org/apache/xml/serializer/utils/URI.html#line.1546"><B>isHex</B></A>(char&nbsp;p_char)</PRE>
<DL>
<DD>Determine whether a character is a hexadecimal character.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>p_char</CODE> - the character to check
<DT><B>Returns:</B><DD>true if the char is betweeen '0' and '9', 'a' and 'f'
or 'A' and 'F', false otherwise</DL>
</DD>
</DL>
<HR>
<A NAME="isAlpha(char)"><!-- --></A><H3>
isAlpha</H3>
<PRE>
private static boolean <A HREF="../../../../../src-html/org/apache/xml/serializer/utils/URI.html#line.1559"><B>isAlpha</B></A>(char&nbsp;p_char)</PRE>
<DL>
<DD>Determine whether a char is an alphabetic character: a-z or A-Z
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>p_char</CODE> - the character to check
<DT><B>Returns:</B><DD>true if the char is alphabetic, false otherwise</DL>
</DD>
</DL>
<HR>
<A NAME="isAlphanum(char)"><!-- --></A><H3>
isAlphanum</H3>
<PRE>
private static boolean <A HREF="../../../../../src-html/org/apache/xml/serializer/utils/URI.html#line.1572"><B>isAlphanum</B></A>(char&nbsp;p_char)</PRE>
<DL>
<DD>Determine whether a char is an alphanumeric: 0-9, a-z or A-Z
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>p_char</CODE> - the character to check
<DT><B>Returns:</B><DD>true if the char is alphanumeric, false otherwise</DL>
</DD>
</DL>
<HR>
<A NAME="isReservedCharacter(char)"><!-- --></A><H3>
isReservedCharacter</H3>
<PRE>
private static boolean <A HREF="../../../../../src-html/org/apache/xml/serializer/utils/URI.html#line.1585"><B>isReservedCharacter</B></A>(char&nbsp;p_char)</PRE>
<DL>
<DD>Determine whether a character is a reserved character:
';', '/', '?', ':', '@', '&', '=', '+', '$' or ','
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>p_char</CODE> - the character to check
<DT><B>Returns:</B><DD>true if the string contains any reserved characters</DL>
</DD>
</DL>
<HR>
<A NAME="isUnreservedCharacter(char)"><!-- --></A><H3>
isUnreservedCharacter</H3>
<PRE>
private static boolean <A HREF="../../../../../src-html/org/apache/xml/serializer/utils/URI.html#line.1597"><B>isUnreservedCharacter</B></A>(char&nbsp;p_char)</PRE>
<DL>
<DD>Determine whether a char is an unreserved character.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>p_char</CODE> - the character to check
<DT><B>Returns:</B><DD>true if the char is unreserved, false otherwise</DL>
</DD>
</DL>
<HR>
<A NAME="isURIString(java.lang.String)"><!-- --></A><H3>
isURIString</H3>
<PRE>
private static boolean <A HREF="../../../../../src-html/org/apache/xml/serializer/utils/URI.html#line.1611"><B>isURIString</B></A>(java.lang.String&nbsp;p_uric)</PRE>
<DL>
<DD>Determine whether a given string contains only URI characters (also
called "uric" in RFC 2396). uric consist of all reserved
characters, unreserved characters and escaped characters.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>p_uric</CODE> - URI string
<DT><B>Returns:</B><DD>true if the string is comprised of uric, false otherwise</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A>
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/URI.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../../org/apache/xml/serializer/utils/SystemIDResolver.html" title="class in org.apache.xml.serializer.utils"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../../org/apache/xml/serializer/utils/URI.MalformedURIException.html" title="class in org.apache.xml.serializer.utils"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../../index.html?org/apache/xml/serializer/utils/URI.html" target="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="URI.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
&nbsp;<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<HR>
</BODY>
</HTML>