< prev index next >

src/java.corba/share/classes/com/sun/jndi/cosnaming/IiopUrl.java

Print this page

        

@@ -36,31 +36,36 @@
 /**
  * Extract components of an "iiop" or "iiopname" URL.
  *
  * The format of an iiopname URL is defined in INS 98-10-11 as follows:
  *
+ * <pre>
  * iiopname url = "iiopname://" [addr_list]["/" string_name]
  * addr_list    = [address ","]* address
  * address      = [version host [":" port]]
  * host         = DNS style host name | IP address
  * version      = major "." minor "@" | empty_string
  * port         = number
  * major        = number
  * minor        = number
  * string_name = stringified name | empty_string
+ * </pre>
  *
  * The default port is 9999. The default version is "1.0"
  * US-ASCII alphanumeric characters are not escaped. Any characters outside
  * of this range are escaped except for the following:
+ * <pre>{@code
  * ; / : ? : @ & = + $ , - _ . ! ~ *  ' ( )
+ * }</pre>
  * Escaped characters is escaped by using a % followed by its 2 hexadecimal
  * numbers representing the octet.
  *
  * For backward compatibility,  the "iiop" URL as defined in INS 97-6-6
  * is also supported:
- *
+ * <pre>{@code
  * iiop url     = "iiop://" [host [":" port]] ["/" string_name]
+ * }</pre>
  * The default port is 900.
  *
  * @author Rosanna Lee
  */
 
< prev index next >