| DocumentURLProvider Class | 
 Inheritance Hierarchy
Inheritance HierarchyNamespace: CMS.DocumentEngine
 Syntax
Syntaxpublic class DocumentURLProvider : AbstractURLProvider<DocumentURLProvider>
The DocumentURLProvider type exposes the following members.
 Constructors
Constructors| Name | Description | |
|---|---|---|
|  | DocumentURLProvider | 
 Methods
Methods| Name | Description | |
|---|---|---|
|   | BuildWildcardQueryString | 
            Returns query string for wildcard url. Wildcard is in format /{name
             | 
|   | EnsureDomainPrefix | 
            Ensures domain prefix with dependence on specified site setting
             | 
|  | EnsureDomainPrefixInternal | 
            Ensures domain prefix with dependence on specified site setting
             | 
|   | EnsureWildcardPath | 
            Ensures URL path with wildcards. The wildcard with default value are replace to the default value.
             | 
|   | GetPermanentDocUrl | 
            Returns permanent document URL.
             | 
|  | GetPermanentDocUrlInternal | 
            Returns permanent document URL.
             | 
|   | GetUrl | 
            Returns URL for the specified aliasPath and urlPath (preferable if urlpath is not wildcard URL) and a specified site name.
             | 
|  | GetUrlForPathInternal | 
            Returns URL for the specified path.
             | 
|  | GetUrlInternal | 
            Returns URL for the specified aliasPath and urlPath (preferable if urlpath is not wildcard URL) and a specified site name.
             | 
|   | UsePermanentUrls | 
            Indicates if permanent URLs should be generated for documents and attachments
             | 
 Extension Methods
Extension Methods| Name | Description | |
|---|---|---|
|  | AsValue | 
            Converts object to a query value which can be used as a query parameter
            (Defined by QueryExtensions.) | 
|  | GetAPIString | 
            Gets the string by the specified resource key
            (Defined by CoreExtensions.) | 
|  | GetString | 
            Gets the string by the specified resource key
            (Defined by CoreExtensions.) | 
|  | ToBoolean | 
            Returns the boolean representation of an object or default value if not.
            (Defined by CoreExtensions.) | 
|  | ToDateTime | 
            Returns the DateTime representation of an object or default value if not.
            (Defined by CoreExtensions.) | 
|  | ToDouble | 
            Returns the double representation of an object or default value if not.
            (Defined by CoreExtensions.) | 
|  | ToGuid | 
            Returns the Guid representation of an object or default value if not.
            (Defined by CoreExtensions.) | 
|  | ToInteger | 
            Returns the integer representation of an object or default value if not.
            (Defined by CoreExtensions.) | 
|  | ToString | 
            Returns the string representation of an object or default value if not.
            (Defined by CoreExtensions.) | 
 Fields
Fields| Name | Description | |
|---|---|---|
|   | DEFAUL_PAGE_DEFAULT | 
            Use default page URL
             | 
|   | DEFAUL_PAGE_DOMAIN | 
            Use domain for default page
             | 
|   | DEFAUL_PAGE_NONE | 
            Do not process default page
             | 
|   | DEFAUL_PAGE_PAGE | 
            Use default alias path page
             | 
|   | DOMAIN_PREFIX_NONE | 
            Do not process domain prefix
             | 
|   | DOMAIN_PREFIX_WITHOUTWWW | 
            Never use www prefix for domains
             | 
|   | DOMAIN_PREFIX_WWW | 
            Always use www prefix for domains
             | 
|   | NO_EXTENSION | 
            No extension constant
             | 
 Properties
Properties| Name | Description | |
|---|---|---|
|   | DefaultPageURL | 
            Default (root) page URL.
             | 
|   | UseCurrentWildcardValueAsDefaultValue | 
            Gets or sets the value that indicates whether current wildcard query string value should be used as default value.
             | 
|   | WildcardDefaultValueDelimiter | 
            Gets the delimiter for default widcard value.
             | 
|   | WildcardRegex | 
            Gets the regular expression for wildcard rule.
             | 
 See Also
See Also