Packagecom.adobe.net
Classpublic class URI

This class implements functions and utilities for working with URI's (Universal Resource Identifiers). For technical description of the URI syntax, please see RFC 3986 at http://www.ietf.org/rfc/rfc3986.txt or do a web search for "rfc 3986".

The most important aspect of URI's to understand is that URI's and URL's are not strings. URI's are complex data structures that encapsulate many pieces of information. The string version of a URI is the serialized representation of that data structure. This string serialization is used to provide a human readable representation and a means to transport the data over the network where it can then be parsed back into its' component parts.

URI's fall into one of three categories:

The query and fragment parts are optional.

This class supports both non-hierarchical and hierarchical URI's

This class is intended to be used "as-is" for the vast majority of common URI's. However, if your application requires a custom URI syntax (e.g. custom query syntax or special handling of non-hierarchical URI's), this class can be fully subclassed. If you intended to subclass URI, please see the source code for complete documation on protected members and protected fuctions.



Public Properties
 PropertyDefined by
  authority : String
The authority (host) of the URI.
URI
  fragment : String
The fragment (anchor) portion of the URI.
URI
  nonHierarchical : String
The non-hierarchical part of the URI.
URI
  password : String
The password of the URI.
URI
  path : String
The path portion of the URI.
URI
  port : String
The host port number.
URI
  query : String
The query (CGI) portion of the URI.
URI
  queryRaw : String
Accessor to the raw query data.
URI
  resolver : IURIResolver
[static]
URI
  scheme : String
The scheme of the URI.
URI
  username : String
The username of the URI.
URI
Protected Properties
 PropertyDefined by
  _authority : String = ""
URI
  _fragment : String = ""
URI
  hierState : Boolean
URI
  _nonHierarchical : String = ""
URI
  _password : String = ""
URI
  _path : String = ""
URI
  _port : String = ""
URI
  _query : String = ""
URI
  _relative : Boolean = false
URI
  _resolver : IURIResolver = null
[static]
URI
  _scheme : String = ""
URI
  _username : String = ""
URI
  _valid : Boolean = false
URI
Public Methods
 MethodDefined by
  
URI(uri:String = null)
URI Constructor.
URI
  
chdir(reference:String, escape:Boolean = false):Boolean
This function is used to move around in a URI in a way similar to the 'cd' or 'chdir' commands on Unix.
URI
  
copyURI(uri:URI):void
Copy function.
URI
  
escapeChars(unescaped:String):String
[static] URI escapes the given character string.
URI
  
fastEscapeChars(unescaped:String, bitmap:URIEncodingBitmap):String
[static] Performance focused function that escapes the given character string using the given URIEncodingBitmap as the rule for what characters need to be escaped.
URI
  
forceEscape():void
Forcefully ensure that this URI is properly escaped.
URI
  
getCommonParent(uri:URI, caseSensitive:Boolean = true):URI
Given another URI, return the common parent between this one and the provided URI.
URI
  
getDefaultPort():String
Based on the type of this URI (http, ftp, etc.) get the default port used for that protocol.
URI
  
getExtension(minusDot:Boolean = false):String
Get the ".xyz" file extension from the filename in the URI.
URI
  
getFilename(minusExtension:Boolean = false):String
Quick function to retrieve the file name off the end of a URI.
URI
  
getQueryByMap():Object
Get the query of the URI in an Object class that allows for easy access to the query data via Object accessors.
URI
  
getQueryValue(name:String):String
Get the value for the specified named in the query part.
URI
  
getRelation(uri:URI, caseSensitive:Boolean = true):int
Given another URI, return this URI object's relation to the one given.
URI
  
isAbsolute():Boolean
Is this URI an absolute URI? An absolute URI is a complete, fully qualified reference to a resource.
URI
  
isDirectory():Boolean
Does this URI point to a resource that is a directory/folder? The URI specification dictates that any path that ends in a slash is a directory.
URI
  
isHierarchical():Boolean
Is this URI a hierarchical URI? URI's can be
URI
  
isOfFileType(extension:String):Boolean
Does this URI point to a resource of the given file type? Given a file extension (or just a file name, this will strip the extension), check to see if this URI points to a file of that type.
URI
  
isOfType(scheme:String):Boolean
Is this URI of a particular scheme type? For example, passing "http" to a URI object that represents the URI "http://site.com/" would return true.
URI
  
isRelative():Boolean
Is this URI a relative URI? Relative URI's do not have a scheme and only contain a relative path with optional anchor and query parts.
URI
  
isValid():Boolean
Is this a valid URI?
URI
  
makeAbsoluteURI(base_uri:URI):Boolean
Given an absolute URI, make this relative URI absolute using the given URI as a base.
URI
  
makeRelativeURI(base_uri:URI, caseSensitive:Boolean = true):Boolean
Given a URI to use as a base from which this object should be relative to, convert this object into a relative URI.
URI
  
queryPartEscape(unescaped:String):String
[static] Similar to Escape(), except this also escapes characters that would conflict with the name/value pair query syntax.
URI
  
queryPartUnescape(escaped:String):String
[static] Unescape the individual name/value string pairs.
URI
  
setParts(schemeStr:String, authorityStr:String, portStr:String, pathStr:String, queryStr:String, fragmentStr:String):void
Quick shorthand accessor to set the parts of this URI.
URI
  
setQueryByMap(map:Object):void
Set the query part of this URI using the given object as the content source.
URI
  
setQueryValue(name:String, value:String):void
Set the given value on the given query name.
URI
  
toDisplayString():String
Output the URI as a string that is easily readable by a human.
URI
  
toString():String
Output this URI as a string.
URI
  
unescapeChars(escaped:String):String
[static] Unescape any URI escaped characters in the given character string.
URI
  
unknownToURI(unknown:String, defaultScheme:String = "http"):Boolean
Given a string, convert it to a URI.
URI
Public Constants
 ConstantDefined by
  CHILD : int = 1
[static]
URI
  EQUAL : int = 2
[static]
URI
  NOT_RELATED : int = 0
[static]
URI
  PARENT : int = 3
[static]
URI
  UNKNOWN_SCHEME : String
[static]
URI
  URIbaselineEscape : String
[static]
URI
  URImustEscape : String = " %"
[static]
URI
  URInonHierEscape : String
[static]
URI
  URIpathEscape : String
[static]
URI
  URIqueryEscape : String
[static]
URI
  URIqueryPartEscape : String
[static]
URI
Protected Constants
 ConstantDefined by
  URIauthorityExcludedBitmap : URIEncodingBitmap
[static]
URI
  URIbaselineExcludedBitmap : URIEncodingBitmap
[static]
URI
  URIfragmentExcludedBitmap : URIEncodingBitmap
[static]
URI
  URInonHierexcludedBitmap : URIEncodingBitmap
[static]
URI
  URIpathExcludedBitmap : URIEncodingBitmap
[static]
URI
  URIportExludedBitmap : URIEncodingBitmap
[static]
URI
  URIqueryExcludedBitmap : URIEncodingBitmap
[static]
URI
  URIqueryPartExcludedBitmap : URIEncodingBitmap
[static]
URI
  URIschemeExcludedBitmap : URIEncodingBitmap
[static]
URI
  URIuserpassExcludedBitmap : URIEncodingBitmap
[static]
URI
Property detail
_authorityproperty
protected var _authority:String = ""
authorityproperty 
authority:String  [read-write]

The authority (host) of the URI. Only valid for hierarchical URI's. If the URI is relative, this will be an empty string. When setting this value, the string given is assumed to be unescaped. When retrieving this value, the resulting string is unescaped.

Implementation
    public function get authority():String
    public function set authority(value:String):void
_fragmentproperty 
protected var _fragment:String = ""
fragmentproperty 
fragment:String  [read-write]

The fragment (anchor) portion of the URI. This is valid for both hierarchical and non-hierarchical URI's.

Implementation
    public function get fragment():String
    public function set fragment(value:String):void
hierStateproperty 
hierState:Boolean  [read-write]Implementation
    protected function get hierState():Boolean
    protected function set hierState(value:Boolean):void
_nonHierarchicalproperty 
protected var _nonHierarchical:String = ""
nonHierarchicalproperty 
nonHierarchical:String  [read-write]

The non-hierarchical part of the URI. For example, if this URI object represents "mailto:somebody

Implementation
    public function get nonHierarchical():String
    public function set nonHierarchical(value:String):void
_passwordproperty 
protected var _password:String = ""
passwordproperty 
password:String  [read-write]

The password of the URI. Similar to username.

Implementation
    public function get password():String
    public function set password(value:String):void

See also

URI.username
_pathproperty 
protected var _path:String = ""
pathproperty 
path:String  [read-write]

The path portion of the URI. Only valid for hierarchical URI's. When setting this value, the string given is assumed to be unescaped. When retrieving this value, the resulting string is unescaped.

The path portion can be in one of two formats. 1) an absolute path, or 2) a relative path. An absolute path starts with a slash ('/'), a relative path does not.

An absolute path may look like:

/full/path/to/my/file.htm

A relative path may look like:

   path/to/my/file.htm
   ../images/logo.gif
   ../../reports/index.htm
   

Paths can be absolute or relative. Note that this not the same as an absolute or relative URI. An absolute URI can only have absolute paths. For example:

http:/site.com/path/to/file.htm

This absolute URI has an absolute path of "/path/to/file.htm".

Relative URI's can have either absolute paths or relative paths. All of the following relative URI's are valid:

   /absolute/path/to/file.htm
   path/to/file.htm
   ../path/to/file.htm
   
Implementation
    public function get path():String
    public function set path(value:String):void
_portproperty 
protected var _port:String = ""
portproperty 
port:String  [read-write]

The host port number. Only valid for hierarchical URI's. If the URI is relative, this will be an empty string. URI's can contain the port number of the remote host:

http://site.com:8080/index.htm

Implementation
    public function get port():String
    public function set port(value:String):void
_queryproperty 
protected var _query:String = ""
queryproperty 
query:String  [read-write]

The query (CGI) portion of the URI. This part is valid for both hierarchical and non-hierarchical URI's.

This accessor should only be used if a custom query syntax is used. This URI class supports the common "param=value" style query syntax via the get/setQueryValue() and get/setQueryByMap() functions. Those functions should be used instead if the common syntax is being used.

The URI RFC does not specify any particular syntax for the query part of a URI. It is intended to allow any format that can be agreed upon by the two communicating hosts. However, most systems have standardized on the typical CGI format:

http://site.com/script.php?param1=value1¶m2=value2

This class has specific support for this query syntax

This common query format is an array of name/value pairs with its own syntax that is different from the overall URI syntax. The query has its own escaping logic. For a query part to be properly escaped and unescaped, it must be split into its component parts. This accessor escapes/unescapes the entire query part without regard for it's component parts. This has the possibliity of leaving the query string in an ambiguious state in regards to its syntax. If the contents of the query part are important, it is recommended that get/setQueryValue() or get/setQueryByMap() are used instead.

If a different query syntax is being used, a subclass of URI can be created to handle that specific syntax. Implementation
    public function get query():String
    public function set query(value:String):void

See also

URI.getQueryByMap
queryRawproperty 
queryRaw:String  [read-write]

Accessor to the raw query data. If you are using a custom query syntax, this accessor can be used to get and set the query part directly with no escaping/unescaping. This should ONLY be used if your application logic is handling custom query logic and handling the proper escaping of the query part.

Implementation
    public function get queryRaw():String
    public function set queryRaw(value:String):void
_relativeproperty 
protected var _relative:Boolean = false
_resolverproperty 
protected static var _resolver:IURIResolver = null
resolverproperty 
resolver:IURIResolver  [read-write]Implementation
    public static function get resolver():IURIResolver
    public function set resolver(value:IURIResolver):void
_schemeproperty 
protected var _scheme:String = ""
schemeproperty 
scheme:String  [read-write]

The scheme of the URI.

Implementation
    public function get scheme():String
    public function set scheme(value:String):void
_usernameproperty 
protected var _username:String = ""
usernameproperty 
username:String  [read-write]

The username of the URI. Only valid for hierarchical URI's. If the URI is relative, this will be an empty string.

The URI specification allows for authentication credentials to be embedded in the URI as such:

http://user:passwd@host/path/to/file.htm

When setting this value, the string given is assumed to be unescaped. When retrieving this value, the resulting string is unescaped.

Implementation
    public function get username():String
    public function set username(value:String):void
_validproperty 
protected var _valid:Boolean = false
Constructor detail
URI()constructor
public function URI(uri:String = null)

URI Constructor. If no string is given, this will initialize this URI object to a blank URI.

Parameters
uri:String (default = null)
Method detail
chdir()method
public function chdir(reference:String, escape:Boolean = false):Boolean

This function is used to move around in a URI in a way similar to the 'cd' or 'chdir' commands on Unix. These operations are completely string based, using the context of the URI to determine the position within the path. The heuristics used to determine the action are based off Appendix C in RFC 2396.

URI paths that end in '/' are considered paths that point to directories, while paths that do not end in '/' are files. For example, if you execute chdir("d") on the following URI's:
1. http://something.com/a/b/c/ (directory)
2. http://something.com/a/b/c (not directory)
you will get:
1. http://something.com/a/b/c/d
2. http://something.com/a/b/d

See RFC 2396, Appendix C for more info.

Parameters
reference:String — the URI or path to "cd" to.
 
escape:Boolean (default = false) — true if the passed reference string should be URI escaped before using it.

Returns
Boolean — true if the chdir was successful, false otherwise.
copyURI()method 
public function copyURI(uri:URI):void

Copy function.

Parameters
uri:URI
escapeChars()method 
public static function escapeChars(unescaped:String):String

URI escapes the given character string. This is similar in function to the global encodeURIComponent() function in ActionScript, but is slightly different in regards to which characters get escaped. This escapes the characters specified in the URIbaselineExluded set (see class static members). This is needed for this class to work properly.

If a different set of characters need to be used for the escaping, you may use fastEscapeChars() and specify a custom URIEncodingBitmap that contains the characters your application needs escaped.

Never pass a full URI to this function. A URI can only be properly escaped/unescaped when split into its component parts (see RFC 3986 section 2.4). This is due to the fact that the URI component separators could be characters that would normally need to be escaped.

Parameters
unescaped:String — character string to be escaped.

Returns
String — escaped character string

See also

encodeURIComponent
fastEscapeChars
fastEscapeChars()method 
public static function fastEscapeChars(unescaped:String, bitmap:URIEncodingBitmap):String

Performance focused function that escapes the given character string using the given URIEncodingBitmap as the rule for what characters need to be escaped. This function is used by this class and can be used externally to this class to perform escaping on custom character sets.

Never pass a full URI to this function. A URI can only be properly escaped/unescaped when split into its component parts (see RFC 3986 section 2.4). This is due to the fact that the URI component separators could be characters that would normally need to be escaped.

Parameters
unescaped:String — the unescaped string to be escaped
 
bitmap:URIEncodingBitmap — the set of characters that need to be escaped

Returns
String — the escaped string.
forceEscape()method 
public function forceEscape():void

Forcefully ensure that this URI is properly escaped.

Sometimes URI's are constructed by hand using strings outside this class. In those cases, it is unlikely the URI has been properly escaped. This function forcefully escapes this URI by unescaping each part and then re-escaping it. If the URI did not have any escaping, the first unescape will do nothing and then the re-escape will properly escape everything. If the URI was already escaped, the unescape and re-escape will essentally be a no-op. This provides a safe way to make sure a URI is in the proper escaped form.

getCommonParent()method 
public function getCommonParent(uri:URI, caseSensitive:Boolean = true):URI

Given another URI, return the common parent between this one and the provided URI.

Parameters
uri:URI — the other URI from which to find a common parent
 
caseSensitive:Boolean (default = true)

Returns
URI — the parent URI if successful, null otherwise.
getDefaultPort()method 
public function getDefaultPort():String

Based on the type of this URI (http, ftp, etc.) get the default port used for that protocol. This is just intended to be a helper function for the most common cases.

Returns
String
getExtension()method 
public function getExtension(minusDot:Boolean = false):String

Get the ".xyz" file extension from the filename in the URI. For example, if we have the following URI:

http://something.com/path/to/my/page.html?form=yes&name=bob#anchor

This will return ".html".

Parameters
minusDot:Boolean (default = false) — If true, this will strip the dot from the extension. If true, the above example would have returned "html".

Returns
String — the file extension
getFilename()method 
public function getFilename(minusExtension:Boolean = false):String

Quick function to retrieve the file name off the end of a URI.

For example, if the URI is:

http://something.com/some/path/to/my/file.html

this function will return "file.html".

Parameters
minusExtension:Boolean (default = false) — true if the file extension should be stripped

Returns
String — the file name. If this URI is a directory, the return value will be empty string.
getQueryByMap()method 
public function getQueryByMap():Object

Get the query of the URI in an Object class that allows for easy access to the query data via Object accessors. For example:

   var query:Object = uri.getQueryByMap();
   var value:String = query["param"];    // get a value
   query["param2"] = "foo";   // set a new value
   

Returns
Object — Object that contains the name/value pairs of the query.

See also

getQueryValue()method 
public function getQueryValue(name:String):String

Get the value for the specified named in the query part. This assumes the query part of the URI is in the common "name1=value1&name2=value2" syntax. Do not call this function if you are using a custom query syntax.

Parameters
name:String — name of the query value to get.

Returns
String — the value of the query name, empty string if the query name does not exist.
getRelation()method 
public function getRelation(uri:URI, caseSensitive:Boolean = true):int

Given another URI, return this URI object's relation to the one given. URI's can have 1 of 4 possible relationships. They can be unrelated, equal, parent, or a child of the given URI.

Parameters
uri:URI — URI to compare this URI object to.
 
caseSensitive:Boolean (default = true) — true if the URI comparison should be done taking case into account, false if the comparison should be performed case insensitive.

Returns
int — URI.NOT_RELATED, URI.CHILD, URI.PARENT, or URI.EQUAL
isAbsolute()method 
public function isAbsolute():Boolean

Is this URI an absolute URI? An absolute URI is a complete, fully qualified reference to a resource. e.g. http://site.com/index.htm Non-hierarchical URI's are always absolute.

Returns
Boolean
isDirectory()method 
public function isDirectory():Boolean

Does this URI point to a resource that is a directory/folder? The URI specification dictates that any path that ends in a slash is a directory. This is needed to be able to perform correct path logic when combining relative URI's with absolute URI's to obtain the correct absolute URI to a resource.

Returns
Boolean — true if this URI represents a directory resource, false if this URI represents a file resource.

See also

URI.chdir
isHierarchical()method 
public function isHierarchical():Boolean

Is this URI a hierarchical URI? URI's can be

Returns
Boolean
isOfFileType()method 
public function isOfFileType(extension:String):Boolean

Does this URI point to a resource of the given file type? Given a file extension (or just a file name, this will strip the extension), check to see if this URI points to a file of that type.

Parameters
extension:String — string that contains a file extension with or without a dot ("html" and ".html" are both valid), or a file name with an extension (e.g. "index.html").

Returns
Boolean — true if this URI points to a resource with the same file file extension as the extension provided, false otherwise.
isOfType()method 
public function isOfType(scheme:String):Boolean

Is this URI of a particular scheme type? For example, passing "http" to a URI object that represents the URI "http://site.com/" would return true.

Parameters
scheme:String — scheme to check for

Returns
Boolean — true if this URI object is of the given type, false otherwise.
isRelative()method 
public function isRelative():Boolean

Is this URI a relative URI? Relative URI's do not have a scheme and only contain a relative path with optional anchor and query parts. e.g. "../reports/index.htm". Non-hierarchical URI's will never be relative.

Returns
Boolean
isValid()method 
public function isValid():Boolean

Is this a valid URI?

Returns
Boolean — true if this object represents a valid URI, false otherwise.
makeAbsoluteURI()method 
public function makeAbsoluteURI(base_uri:URI):Boolean

Given an absolute URI, make this relative URI absolute using the given URI as a base. This URI instance must be relative and the base_uri must be absolute.

Parameters
base_uri:URI — URI to use as the base from which to make this relative URI into an absolute URI.

Returns
Boolean — true if successful, false otherwise.
makeRelativeURI()method 
public function makeRelativeURI(base_uri:URI, caseSensitive:Boolean = true):Boolean

Given a URI to use as a base from which this object should be relative to, convert this object into a relative URI. For example, if you have:

   var uri1:URI = new URI("http://something.com/path/to/some/file.html");
   var uri2:URI = new URI("http://something.com/path/to/another/file.html");
   
   uri1.MakeRelativePath(uri2);

uri1 will have a final value of "../some/file.html"

Note! This function is brute force. If you have two URI's that are completely unrelated, this will still attempt to make the relative URI. In that case, you will most likely get a relative path that looks something like:

../../../../../../some/path/to/my/file.html

Parameters
base_uri:URI — the URI from which to make this URI relative
 
caseSensitive:Boolean (default = true)

Returns
Boolean — true if successful, false if the base_uri and this URI are not related, of if error.
queryPartEscape()method 
public static function queryPartEscape(unescaped:String):String

Similar to Escape(), except this also escapes characters that would conflict with the name/value pair query syntax. This is intended to be called on each individual "name" and "value" in the query making sure that nothing in the name or value strings contain characters that would conflict with the query syntax (e.g. '=' and '&').

Parameters
unescaped:String — unescaped string that is to be escaped.

Returns
String — escaped string.

See also

queryPartUnescape()method 
public static function queryPartUnescape(escaped:String):String

Unescape the individual name/value string pairs.

Parameters
escaped:String — escaped string to be unescaped

Returns
String — unescaped string

See also

setParts()method 
public function setParts(schemeStr:String, authorityStr:String, portStr:String, pathStr:String, queryStr:String, fragmentStr:String):void

Quick shorthand accessor to set the parts of this URI. The given parts are assumed to be in unescaped form. If the URI is non-hierarchical (e.g. mailto:) you will need to call SetScheme() and SetNonHierarchical().

Parameters
schemeStr:String
 
authorityStr:String
 
portStr:String
 
pathStr:String
 
queryStr:String
 
fragmentStr:String
setQueryByMap()method 
public function setQueryByMap(map:Object):void

Set the query part of this URI using the given object as the content source. Any member of the object that has a value of null will not be in the resulting query.

Parameters
map:Object — object that contains the name/value pairs as members of that object.

See also

setQueryValue()method 
public function setQueryValue(name:String, value:String):void

Set the given value on the given query name. If the given name does not exist, it will automatically add this name/value pair to the query. If null is passed as the value, it will remove the given item from the query.

This automatically escapes any characters that may conflict with the query syntax so that they are "safe" within the query. The strings passed are assumed to be literal unescaped name and value.

Parameters
name:String — name of the query value to set
 
value:String — value of the query item to set. If null, this will force the removal of this item from the query.
toDisplayString()method 
public function toDisplayString():String

Output the URI as a string that is easily readable by a human. This outputs the URI with all escape sequences unescaped to their character representation. This makes the URI easier for a human to read, but the URI could be completely invalid because some unescaped characters may now cause ambiguous parsing. This function should only be used if you want to display a URI to a user. This function should never be used outside that specific case.

Returns
String — the URI in string format with all escape sequences unescaped.

See also

toString()method 
public function toString():String

Output this URI as a string. The resulting string is properly escaped and well formed for machine processing.

Returns
String
unescapeChars()method 
public static function unescapeChars(escaped:String):String

Unescape any URI escaped characters in the given character string.

Never pass a full URI to this function. A URI can only be properly escaped/unescaped when split into its component parts (see RFC 3986 section 2.4). This is due to the fact that the URI component separators could be characters that would normally need to be escaped.

Parameters
escaped:String — the escaped string to be unescaped.

Returns
String — unescaped string.
unknownToURI()method 
public function unknownToURI(unknown:String, defaultScheme:String = "http"):Boolean

Given a string, convert it to a URI. The string could be a full URI that is improperly escaped, a malformed URI (e.g. missing a protocol like "www.something.com"), a relative URI, or any variation there of.

The intention of this function is to take anything that a user might manually enter as a URI/URL and try to determine what they mean. This function differs from the URI constructor in that it makes some assumptions to make it easy to import user entered URI data.

This function is intended to be a helper function. It is not all-knowning and will probably make mistakes when attempting to parse a string of unknown origin. If your applicaiton is receiving input from the user, your application should already have a good idea what the user should be entering, and your application should be pre-processing the user's input to make sure it is well formed before passing it to this function.

It is assumed that the string given to this function is something the user may have manually entered. Given this, the URI string is probably unescaped or improperly escaped. This function will attempt to properly escape the URI by using forceEscape(). The result is that a toString() call on a URI that was created from unknownToURI() may not match the input string due to the difference in escaping.

Parameters
unknown:String — a potental URI string that should be parsed and loaded into this object.
 
defaultScheme:String (default = "http") — if it is determined that the passed string looks like a URI, but it is missing the scheme part, this string will be used as the missing scheme.

Returns
Boolean — true if the given string was successfully parsed into a valid URI object, false otherwise.
Constant detail
CHILDconstant
public static const CHILD:int = 1
EQUALconstant 
public static const EQUAL:int = 2
NOT_RELATEDconstant 
public static const NOT_RELATED:int = 0
PARENTconstant 
public static const PARENT:int = 3
UNKNOWN_SCHEMEconstant 
public static const UNKNOWN_SCHEME:String
URIauthorityExcludedBitmapconstant 
protected static const URIauthorityExcludedBitmap:URIEncodingBitmap
URIbaselineEscapeconstant 
public static const URIbaselineEscape:String
URIbaselineExcludedBitmapconstant 
protected static const URIbaselineExcludedBitmap:URIEncodingBitmap
URIfragmentExcludedBitmapconstant 
protected static const URIfragmentExcludedBitmap:URIEncodingBitmap
URImustEscapeconstant 
public static const URImustEscape:String = " %"
URInonHierEscapeconstant 
public static const URInonHierEscape:String
URInonHierexcludedBitmapconstant 
protected static const URInonHierexcludedBitmap:URIEncodingBitmap
URIpathEscapeconstant 
public static const URIpathEscape:String
URIpathExcludedBitmapconstant 
protected static const URIpathExcludedBitmap:URIEncodingBitmap
URIportExludedBitmapconstant 
protected static const URIportExludedBitmap:URIEncodingBitmap
URIqueryEscapeconstant 
public static const URIqueryEscape:String
URIqueryExcludedBitmapconstant 
protected static const URIqueryExcludedBitmap:URIEncodingBitmap
URIqueryPartEscapeconstant 
public static const URIqueryPartEscape:String
URIqueryPartExcludedBitmapconstant 
protected static const URIqueryPartExcludedBitmap:URIEncodingBitmap
URIschemeExcludedBitmapconstant 
protected static const URIschemeExcludedBitmap:URIEncodingBitmap
URIuserpassExcludedBitmapconstant 
protected static const URIuserpassExcludedBitmap:URIEncodingBitmap