|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.lenya.cms.publication.IdentityDocumentIdToPathMapper org.apache.lenya.cms.publication.SingleLanguageIdentityMapper
public class SingleLanguageIdentityMapper
Single Language Identity mapper.
Similar to the DefaultDocumentIdToPathMapper
, but doesn't add
a language suffix to the source URIs. This is useful for publications
which do not have multiple language version of the same document,
such as the "blog" publication.
Constructor Summary | |
---|---|
SingleLanguageIdentityMapper()
|
Method Summary | |
---|---|
protected java.lang.String |
getSuffix(java.lang.String language)
The parameter language is ignored, since this mapper is used for situations where only one language version of a document exists |
Methods inherited from class org.apache.lenya.cms.publication.IdentityDocumentIdToPathMapper |
---|
getFile, getPath |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SingleLanguageIdentityMapper()
Method Detail |
---|
protected java.lang.String getSuffix(java.lang.String language)
language
is ignored, since this mapper is used for situations where only one language version of a document exists
getSuffix
in class IdentityDocumentIdToPathMapper
language
- The language.
IdentityDocumentIdToPathMapper.getSuffix(java.lang.String)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |