|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.cassinidivision.oce.rendering.URLParser
Class for parsing URLs and extracting OCE rendering information.
Constructor Summary | |
URLParser()
|
Method Summary | |
static String |
determineDomainNameFromRequest(WORequest aRequest)
Retrieve the web host (domain name) details from the request. |
static String |
getNavigationSystem(WORequest aRequest)
Return the current navigation system in operation. |
static NSArray |
handlerURIComponentsForRequest(WORequest aRequest,
N_WebSite aSite,
N_Section aSection)
Retrieve the handler URI components from the request. |
static String |
handlerURLFrom404URL(String a404URL)
Retrieve the handler portion of the URL, given the full URL. |
static String |
handlerURLFromRequest(WORequest aRequest)
Retrieve the handler portion of the URL from the request. |
static URLHandler |
handlerWithName(String handlerName)
Build an instance of the named URL handler class. |
static N_Section |
sectionForRequest(WORequest aRequest,
EOEditingContext editingContext,
N_WebSite aSite)
Retrieve the current OCE section relating to the request received. |
static String |
sectionURLFrom404URL(String a404URL)
Retrieve the "section" portion of the URL from the full URL provided (the portion of URL before the URL handler information). |
static String |
sectionURLFromRequest(WORequest aRequest)
Retrieve the "section" portion of the URL from the request (the portion of URL before the URL handler information). |
static URLHandler |
urlHandlerForURIComponents(NSArray handlerURIComponents)
Retrieve the correct URL handler for processing the URI components provided. |
static N_WebSite |
webSiteForRequest(WORequest aRequest,
EOEditingContext ec)
Retrieve the OCE web site instance corresponding to the request details. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public URLParser()
Method Detail |
public static URLHandler handlerWithName(String handlerName)
handlerName
- The name of the URL handler class.
public static String getNavigationSystem(WORequest aRequest)
aRequest
- The current request.
public static String determineDomainNameFromRequest(WORequest aRequest)
aRequest
- The request in question.
public static N_Section sectionForRequest(WORequest aRequest, EOEditingContext editingContext, N_WebSite aSite)
aRequest
- The current request.editingContext
- The editing context to register the section instance within.aSite
- The current web site instance.
public static String sectionURLFromRequest(WORequest aRequest)
aRequest
- The request in question.
public static String sectionURLFrom404URL(String a404URL)
a404URL
- The full URL in question.
public static String handlerURLFromRequest(WORequest aRequest)
aRequest
- The request in question.
public static String handlerURLFrom404URL(String a404URL)
a404URL
- The full URL in question.
public static NSArray handlerURIComponentsForRequest(WORequest aRequest, N_WebSite aSite, N_Section aSection)
aRequest
- The request in question.aSite
- The web site in question.aSection
- The section in question.
public static URLHandler urlHandlerForURIComponents(NSArray handlerURIComponents)
handlerURIComponents
- Array of strings, each string indicating a portion of a URL.
public static N_WebSite webSiteForRequest(WORequest aRequest, EOEditingContext ec)
aRequest
- The request in question.ec
- The editing context the web site instance will be registered with.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |