org.apache.lenya.cms.publication
Class URLInformation

java.lang.Object
  extended by org.apache.lenya.cms.publication.URLInformation

public class URLInformation
extends java.lang.Object

This class resolves all Lenya-specific information from a webapp URL.


Constructor Summary
URLInformation(java.lang.String webappUrl)
          Ctor.
 
Method Summary
 java.lang.String getArea()
          Returns the area (without the "info-" prefix).
 java.lang.String getCompleteArea()
          Returns the complete area (including the "info-" prefix).
 java.lang.String getDocumentUrl()
          Returns the document URL.
 java.lang.String getPublicationId()
          Returns the publication ID.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

URLInformation

public URLInformation(java.lang.String webappUrl)
Ctor.

Parameters:
webappUrl - A webapp URL (without context prefix).
Method Detail

getArea

public java.lang.String getArea()
Returns the area (without the "info-" prefix).

Returns:
A string.

getCompleteArea

public java.lang.String getCompleteArea()
Returns the complete area (including the "info-" prefix).

Returns:
A string.

getDocumentUrl

public java.lang.String getDocumentUrl()
Returns the document URL.

Returns:
A string.

getPublicationId

public java.lang.String getPublicationId()
Returns the publication ID.

Returns:
A string.


Copyright © 1999-2005 Apache Software Foundation. All Rights Reserved.