TUriProducer
Facility to produce
TUri
instances in a structured mannerInheritance
Level | Ancestor | Description |
---|---|---|
1 | TObject | Ultimate ancestor in a class hierarchy |
2 | TUriProducer |
Source
Uri.Producer.pas (26)
Description
You can create URIs relative to the root of the web site using RootUri
and the relative to the current URI using
RelativeUri
. Use PushPath
and PopPath
to control the prefix used for relative
URIs.
Fields
Scope | Visibility | Type | Name | Description |
---|---|---|---|---|
Instance | protected | TUri | FWebSiteRoot | |
Instance | protected | TArray<TText> | FCurrentPath | |
Instance | protected | array of TArray<TText> | PathStack |
Methods
Scope | Visibility | Result | Name | Description |
---|---|---|---|---|
Instance | public | PushPath(Path: array of TText) | ||
Instance | public | PopPath() | ||
Instance | public | TUri | RootUri(SubPath: array of TText; ResourceType: TUriResourceType) | |
Instance | public | TUri | RelativeUri(SubPath: array of TText; ResourceType: TUriResourceType) | |
Instance | public | TUri | RelativeUri(SubPath: TUriPath) | |
Instance | public | TUriProducer | CloneRootProducer() | |
Instance | public | TUriProducer | CloneRelativeProducer() | |
Instance | public | TInteger32 | GetStackSize() | |
Instance | public | Configure(WebSiteRoot: TUri) |