Package org.ametys.core.ui
Class SAXClientSideElementHelper
- java.lang.Object
-
- org.ametys.runtime.plugin.component.AbstractLogEnabled
-
- org.ametys.core.ui.SAXClientSideElementHelper
-
- All Implemented Interfaces:
LogEnabled
,Component
,Contextualizable
,Serviceable
,ThreadSafe
public class SAXClientSideElementHelper extends AbstractLogEnabled implements Contextualizable, Component, Serviceable, ThreadSafe
This helper allow to sax a client side element
-
-
Constructor Summary
Constructors Constructor Description SAXClientSideElementHelper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
contextualize(Context context)
void
saxDefinition(String tagName, ClientSideElement element, String extensionPoint, ContentHandler handler, Map<String,Object> contextualParameters)
SAX a client side elementvoid
service(ServiceManager smanager)
-
Methods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLogger
-
-
-
-
Constructor Detail
-
SAXClientSideElementHelper
public SAXClientSideElementHelper()
-
-
Method Detail
-
service
public void service(ServiceManager smanager) throws ServiceException
- Specified by:
service
in interfaceServiceable
- Throws:
ServiceException
-
contextualize
public void contextualize(Context context) throws ContextException
- Specified by:
contextualize
in interfaceContextualizable
- Throws:
ContextException
-
saxDefinition
public void saxDefinition(String tagName, ClientSideElement element, String extensionPoint, ContentHandler handler, Map<String,Object> contextualParameters) throws SAXException
SAX a client side element- Parameters:
tagName
- the tag name to createelement
- The client side element to sax. Can not be null.extensionPoint
- the extension point of the element.handler
- The handler where to saxcontextualParameters
- Contextuals parameters transmitted by the environment.- Throws:
SAXException
- If an error occured
-
-