| org.apache.cocoon.components.modules.input.AbstractInputModule org.apache.lenya.cms.cocoon.components.modules.input.DocumentInfoModule
DocumentInfoModule | public class DocumentInfoModule extends AbstractInputModule implements Serviceable(Code) | | Input module to get document information.
{doc-info:{publication-id}:{area}:{uuid}:{document-language}:{property}} where {property} may be:
contentLength - the content length (number of bytes).
expires - the expiration date in ISO 8601 format.
lastModified - the last modification date in ISO 8601
format.
mimeType - the MIME type
nodeName - the name of the node in the site structure
path - the path in the site structure (starting with a
slash) or an empty string if the document is not referenced in the site structure.
resourceType - the name of the resource type
sourceExtension - the source extension
visibleInNav - true if the document's node
is visible in the navigation, false otherwise.
webappUrl - the web application URL of the document or
an empty string if the document is not referenced in the site structure.
|
Method Summary | |
public Object | getAttribute(String name, Configuration modeConf, Map objectModel) | protected Document | getDocument(String publicationId, String area, String uuid, String language, int revision, Map objectModel) Parse the parameters and return a document.
Parameters: publicationId - The publication ID. Parameters: area - The area. Parameters: uuid - The document UUID. Parameters: language - The document language. Parameters: revision - The revision. Parameters: objectModel - The object model. | protected boolean | isVisibleInNavigation(Document document) | public void | service(ServiceManager manager) |
CONTENT_LENGTH | final protected static String CONTENT_LENGTH(Code) | | |
DOCUMENT_URL | final protected static String DOCUMENT_URL(Code) | | |
LAST_MODIFIED | final protected static String LAST_MODIFIED(Code) | | |
META_EXPIRES | final protected static String META_EXPIRES(Code) | | |
META_RESOURCE_TYPE | final protected static String META_RESOURCE_TYPE(Code) | | |
MIN_MANDATORY_PARAMS | final protected static int MIN_MANDATORY_PARAMS(Code) | | |
PARAM_DOCUMENT_LANGUAGE | final protected static String PARAM_DOCUMENT_LANGUAGE(Code) | | |
PARAM_PROPERTY | final protected static String PARAM_PROPERTY(Code) | | |
PARAM_PUBLICATION_ID | final protected static String PARAM_PUBLICATION_ID(Code) | | |
PARAM_REVISION | final protected static String PARAM_REVISION(Code) | | |
RESOURCE_TYPE | final protected static String RESOURCE_TYPE(Code) | | |
SOURCE_EXTENSION | final protected static String SOURCE_EXTENSION(Code) | | |
VISIBLE_IN_NAVIGATION | final protected static String VISIBLE_IN_NAVIGATION(Code) | | |
manager | protected ServiceManager manager(Code) | | |
getDocument | protected Document getDocument(String publicationId, String area, String uuid, String language, int revision, Map objectModel) throws ConfigurationException(Code) | | Parse the parameters and return a document.
Parameters: publicationId - The publication ID. Parameters: area - The area. Parameters: uuid - The document UUID. Parameters: language - The document language. Parameters: revision - The revision. Parameters: objectModel - The object model. The document object created. throws: ConfigurationException - |
isVisibleInNavigation | protected boolean isVisibleInNavigation(Document document) throws ConfigurationException(Code) | | |
service | public void service(ServiceManager manager) throws ServiceException(Code) | | |
Fields inherited from org.apache.cocoon.components.modules.input.AbstractInputModule | protected HashMap settings(Code)(Java Doc)
|
|
|