public class ODFCartUserPreferencesGenerator extends FOUserPreferencesGenerator
Modifier and Type | Field and Description |
---|---|
protected OdfPageResolver |
_odfPageResolver
The odf page resolver
|
protected AmetysObjectResolver |
_resolver
The ametys object resolver
|
_userPrefEP, _userPrefManager
_currentUserProvider
manager
objectModel, parameters, resolver, source
contentHandler, EMPTY_CONTENT_HANDLER, lexicalHandler, xmlConsumer
Constructor and Description |
---|
ODFCartUserPreferencesGenerator() |
Modifier and Type | Method and Description |
---|---|
protected void |
_saxPreference(UserPreference preference,
Object value,
Map<String,String> contextVars)
Generate a preference definition and value.
|
void |
service(ServiceManager serviceManager) |
_saxPreferences, _saxUserInput, getContextVars, getUser
generate
_getCurrentUser
dispose
recycle, setup
setConsumer, setContentHandler, setLexicalHandler
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setConsumer
protected AmetysObjectResolver _resolver
protected OdfPageResolver _odfPageResolver
public ODFCartUserPreferencesGenerator()
public void service(ServiceManager serviceManager) throws ServiceException
service
in interface Serviceable
service
in class FOUserPreferencesGenerator
ServiceException
protected void _saxPreference(UserPreference preference, Object value, Map<String,String> contextVars) throws SAXException, ProcessingException
UserPreferencesGenerator
_saxPreference
in class UserPreferencesGenerator
preference
- The parameter to SAXvalue
- The parameter value. Can be null.contextVars
- The context varsSAXException
- If an error occurred while SAXingProcessingException
- If an error occurred