|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.cocoon.components.source.impl.SitemapSourceInfo
This is a helper class for the cocoon protocol.
Field Summary | |
String |
prefix
The prefix of the URI in progress for cocoon:/ requests,
or an empty string for cocoon:// requests. |
boolean |
processFromRoot
Determine the initial processor for the cocoon protocol request. |
String |
protocol
The protocol used in the sitemap URI, up to and excluding the colon. |
String |
queryString
The query string of the sitemap URI. |
boolean |
rawMode
true if the sitemap URI uses the raw: subprotocol,
which means that request parameters of the original request are not forwarded,
false otherwise. |
String |
requestURI
The request URI, relative to the context. |
String |
systemId
The system ID: <protocol><request-uri>[?<query-string>]. |
String |
uri
The sitemap URI without protocol identifier and query string. |
String |
view
The Cocoon view used in the sitemap URI or null if no view is used. |
Constructor Summary | |
SitemapSourceInfo()
|
Method Summary | |
static String |
getView(String query,
org.apache.cocoon.environment.Environment env)
|
static SitemapSourceInfo |
parseURI(org.apache.cocoon.environment.Environment env,
String sitemapURI)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public boolean rawMode
true
if the sitemap URI uses the raw:
subprotocol,
which means that request parameters of the original request are not forwarded,false
otherwise.
public String protocol
public String requestURI
public String systemId
public String view
null
if no view is used.
public String prefix
cocoon:/
requests,
or an empty string for cocoon://
requests.
public String queryString
public String uri
public boolean processFromRoot
true
- start in the root sitemap (cocoon://
)false
- start in the current sitemap (cocoon:/
)
Constructor Detail |
public SitemapSourceInfo()
Method Detail |
public static SitemapSourceInfo parseURI(org.apache.cocoon.environment.Environment env, String sitemapURI) throws MalformedURLException
MalformedURLException
public static String getView(String query, org.apache.cocoon.environment.Environment env)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |