Package org.ametys.web.workspace
Class FrontMinimizeTransformer
- All Implemented Interfaces:
Poolable
,Recyclable
,Disposable
,Component
,Configurable
,Contextualizable
,LogEnabled
,Serviceable
,SitemapModelComponent
,Transformer
,XMLConsumer
,XMLPipe
,XMLProducer
,XMLConsumer
,ContentHandler
,LexicalHandler
The front office minimizer use a different url to avoid front application url conflict
-
Field Summary
Fields inherited from class org.ametys.plugins.core.ui.minimize.MinimizeTransformer
_context, _currentContextPath, _inlineCssMedias, _isSuperDevMode, _locale, _patterns
Fields inherited from class org.apache.cocoon.transformation.ServiceableTransformer
manager, objectModel, parameters, resolver, source
Fields inherited from class org.apache.cocoon.xml.AbstractXMLProducer
contentHandler, EMPTY_CONTENT_HANDLER, lexicalHandler, xmlConsumer
Fields inherited from interface org.apache.cocoon.transformation.Transformer
ROLE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected String
Get the url of the minimizerprotected String
_removeContextPath
(String uri) Remove the context path from the uri to be able to analyse correctly the patternsprotected String
Return the salt used by the hash cachevoid
service
(ServiceManager smanager) Methods inherited from class org.ametys.plugins.core.ui.minimize.MinimizeTransformer
configure, contextualize, endElement, setup, startDocument, startElement
Methods inherited from class org.apache.cocoon.transformation.ServiceableTransformer
dispose, recycle
Methods inherited from class org.apache.cocoon.xml.AbstractXMLPipe
characters, comment, endCDATA, endDocument, endDTD, endEntity, endPrefixMapping, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startCDATA, startDTD, startEntity, startPrefixMapping
Methods inherited from class org.apache.cocoon.xml.AbstractXMLProducer
setConsumer, setContentHandler, setLexicalHandler
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.xml.sax.ContentHandler
characters, declaration, endDocument, endPrefixMapping, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startPrefixMapping
Methods inherited from interface org.xml.sax.ext.LexicalHandler
comment, endCDATA, endDTD, endEntity, startCDATA, startDTD, startEntity
Methods inherited from interface org.apache.cocoon.xml.XMLProducer
setConsumer
-
Constructor Details
-
FrontMinimizeTransformer
public FrontMinimizeTransformer()
-
-
Method Details
-
service
- Specified by:
service
in interfaceServiceable
- Overrides:
service
in classMinimizeTransformer
- Throws:
ServiceException
-
_removeContextPath
Description copied from class:MinimizeTransformer
Remove the context path from the uri to be able to analyse correctly the patterns- Overrides:
_removeContextPath
in classMinimizeTransformer
- Parameters:
uri
- The incomming uri- Returns:
- The uri with no context path
-
_getMinimizeUrl
Description copied from class:MinimizeTransformer
Get the url of the minimizer- Overrides:
_getMinimizeUrl
in classMinimizeTransformer
- Returns:
- The minimizer url
-
getHashSalt
Description copied from class:MinimizeTransformer
Return the salt used by the hash cache- Overrides:
getHashSalt
in classMinimizeTransformer
- Returns:
- The salt string
-