public class SAXClientSideElementHelper extends AbstractLogEnabled implements Component, Serviceable, ThreadSafe
Modifier and Type | Field and Description |
---|---|
private JSONUtils |
_jsonUtils |
static String |
ROLE
Avalon role
|
Constructor and Description |
---|
SAXClientSideElementHelper() |
Modifier and Type | Method and Description |
---|---|
void |
saxDefinition(String tagName,
ClientSideElement element,
ContentHandler handler,
Map<String,Object> contextualParameters)
SAX a client side element
|
private void |
saxScriptFile(ContentHandler handler,
ClientSideElement.ScriptFile scriptFile) |
void |
service(ServiceManager smanager) |
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
private JSONUtils _jsonUtils
public SAXClientSideElementHelper()
public void service(ServiceManager smanager) throws ServiceException
service
in interface Serviceable
ServiceException
public void saxDefinition(String tagName, ClientSideElement element, ContentHandler handler, Map<String,Object> contextualParameters) throws SAXException
tagName
- the tag name to createelement
- The client side element to sax. Can not be null.handler
- The handler where to saxcontextualParameters
- Contextuals parameters transmitted by the environment.SAXException
- If an error occuredprivate void saxScriptFile(ContentHandler handler, ClientSideElement.ScriptFile scriptFile) throws SAXException
SAXException