public class SAXClientSideElementHelper extends AbstractLogEnabled implements Contextualizable, Component, Serviceable, ThreadSafe
Modifier and Type | Field and Description |
---|---|
protected Context |
_context
The avalon context
|
private HelpManager |
_helpManager |
private JSONUtils |
_jsonUtils |
static String |
ROLE
Avalon role
|
Constructor and Description |
---|
SAXClientSideElementHelper() |
Modifier and Type | Method and Description |
---|---|
void |
contextualize(Context context) |
void |
saxDefinition(String tagName,
ClientSideElement element,
String extensionPoint,
ContentHandler handler,
Map<String,Object> contextualParameters)
SAX a client side element
|
private void |
saxScriptFile(ContentHandler handler,
ClientSideElement.ScriptFile scriptFile) |
void |
service(ServiceManager smanager) |
getLogger, setLogger
private JSONUtils _jsonUtils
private HelpManager _helpManager
public SAXClientSideElementHelper()
public void service(ServiceManager smanager) throws ServiceException
service
in interface Serviceable
ServiceException
public void contextualize(Context context) throws ContextException
contextualize
in interface Contextualizable
ContextException
public void saxDefinition(String tagName, ClientSideElement element, String extensionPoint, ContentHandler handler, Map<String,Object> contextualParameters) throws SAXException
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.SAXException
- If an error occuredprivate void saxScriptFile(ContentHandler handler, ClientSideElement.ScriptFile scriptFile) throws SAXException
SAXException