Dwuri.getfragment, Dwuri.getnonhierarchical(), Dwuri.setscheme() – Adobe Dreamweaver API Reference CS5 User Manual
Page 285

280
DREAMWEAVER API REFERENCE
Document
Last updated 8/27/2013
DWUri.getFragment
Availability
Dreamweaver CS5.
Description
Retrieves the URI anchor fragment. The URI object is not valid until it is constructed or initialized with the valid URI.
For the URI “
http://www.adobe.com/Dreamweaver/CS5/index.htm#toc
”, “
toc
” is the anchor fragment.
Arguments
None.
Returns
A String containing the URI object’s anchor fragment string.
DWUri.getNonHierarchical()
Availability
Dreamweaver CS5.
Description
Retrieves the non-hierarchical URI string. The URI object is not valid until it is constructed or initialized with the valid URI.
For the URI “
mailto:[email protected]
”, “
” is the non-hierarchical part.
Arguments
None.
Returns
A String containing the URI object’s non-hierarchical string.
DWUri.setScheme()
Availability
Dreamweaver CS5.
Description
Sets the service type scheme for the URI.
The service type scheme can be any string value but cannot contain special characters such as “
:
”, “
/
”, or ”
\
”.
Arguments
scheme
The scheme argument specifies the service type scheme.