|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.lenya.cms.publication.xsp.DocumentLanguagesHelper
public class DocumentLanguagesHelper
Helper class for the policy GUI.
Constructor Summary | |
---|---|
DocumentLanguagesHelper(java.util.Map objectModel)
Create a new DocumentlanguageHelper. |
Method Summary | |
---|---|
protected Document |
getDocument(java.lang.String language)
Create a document for a given language and the parameters given in the contructor. |
java.lang.String |
getInfoUrl(java.lang.String language)
Compute the info area URL for a given language and the parameters given in the contructor. |
java.lang.String |
getUrl(java.lang.String language)
Compute the URL for a given language and the parameters given in the contructor. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DocumentLanguagesHelper(java.util.Map objectModel) throws org.apache.cocoon.ProcessingException
objectModel
- the objectModel
org.apache.cocoon.ProcessingException
- if the page envelope could not be created.Method Detail |
---|
public java.lang.String getUrl(java.lang.String language) throws org.apache.cocoon.ProcessingException
language
- the language
org.apache.cocoon.ProcessingException
- if the document for the given language could not be created.public java.lang.String getInfoUrl(java.lang.String language) throws org.apache.cocoon.ProcessingException
language
- the language
org.apache.cocoon.ProcessingException
- if the document for the given language could not be created.protected Document getDocument(java.lang.String language) throws org.apache.cocoon.ProcessingException
language
- the language
org.apache.cocoon.ProcessingException
- if the document for the given language could not be created.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |