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, _patternsFields inherited from class org.apache.cocoon.transformation.ServiceableTransformer
manager, objectModel, parameters, resolver, sourceFields inherited from class org.apache.cocoon.xml.AbstractXMLProducer
contentHandler, EMPTY_CONTENT_HANDLER, lexicalHandler, xmlConsumerFields inherited from interface org.apache.cocoon.transformation.Transformer
ROLE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringGet the url of the minimizerprotected String_removeContextPath(String uri) Remove the context path from the uri to be able to analyse correctly the patternsprotected StringReturn the salt used by the hash cachevoidservice(ServiceManager smanager) Methods inherited from class org.ametys.plugins.core.ui.minimize.MinimizeTransformer
configure, contextualize, endElement, setup, startDocument, startElementMethods inherited from class org.apache.cocoon.transformation.ServiceableTransformer
dispose, recycleMethods inherited from class org.apache.cocoon.xml.AbstractXMLPipe
characters, comment, endCDATA, endDocument, endDTD, endEntity, endPrefixMapping, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startCDATA, startDTD, startEntity, startPrefixMappingMethods inherited from class org.apache.cocoon.xml.AbstractXMLProducer
setConsumer, setContentHandler, setLexicalHandlerMethods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLoggerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.xml.sax.ContentHandler
characters, declaration, endDocument, endPrefixMapping, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startPrefixMappingMethods inherited from interface org.xml.sax.ext.LexicalHandler
comment, endCDATA, endDTD, endEntity, startCDATA, startDTD, startEntityMethods inherited from interface org.apache.cocoon.xml.XMLProducer
setConsumer
-
Constructor Details
-
FrontMinimizeTransformer
public FrontMinimizeTransformer()
-
-
Method Details
-
service
- Specified by:
servicein interfaceServiceable- Overrides:
servicein classMinimizeTransformer- Throws:
ServiceException
-
_removeContextPath
Description copied from class:MinimizeTransformerRemove the context path from the uri to be able to analyse correctly the patterns- Overrides:
_removeContextPathin classMinimizeTransformer- Parameters:
uri- The incomming uri- Returns:
- The uri with no context path
-
_getMinimizeUrl
Description copied from class:MinimizeTransformerGet the url of the minimizer- Overrides:
_getMinimizeUrlin classMinimizeTransformer- Returns:
- The minimizer url
-
getHashSalt
Description copied from class:MinimizeTransformerReturn the salt used by the hash cache- Overrides:
getHashSaltin classMinimizeTransformer- Returns:
- The salt string
-