public class StaticVariableBinder extends Object implements SAXElementVisitor, DOMElementVisitor
BeanContext). The paramater values are all bound
into a bean accessor Map named "statvar", so variables bound in this way
can be referenced in expressions or templates as e.g "${statvar.xxx}"
(for static variable "xxx").| Constructor and Description |
|---|
StaticVariableBinder() |
| Modifier and Type | Method and Description |
|---|---|
void |
initialize() |
void |
onChildElement(SAXElement element,
SAXElement childElement,
ExecutionContext executionContext) |
void |
onChildText(SAXElement element,
SAXText childText,
ExecutionContext executionContext) |
void |
visitAfter(Element element,
ExecutionContext executionContext) |
void |
visitAfter(SAXElement element,
ExecutionContext executionContext) |
void |
visitBefore(Element element,
ExecutionContext executionContext) |
void |
visitBefore(SAXElement element,
ExecutionContext executionContext) |
@Initialize public void initialize() throws SmooksConfigurationException
SmooksConfigurationExceptionpublic void visitBefore(SAXElement element, ExecutionContext executionContext) throws SmooksException, IOException
visitBefore in interface SAXVisitBeforeSmooksExceptionIOExceptionpublic void onChildText(SAXElement element, SAXText childText, ExecutionContext executionContext) throws SmooksException, IOException
onChildText in interface SAXVisitChildrenSmooksExceptionIOExceptionpublic void onChildElement(SAXElement element, SAXElement childElement, ExecutionContext executionContext) throws SmooksException, IOException
onChildElement in interface SAXVisitChildrenSmooksExceptionIOExceptionpublic void visitAfter(SAXElement element, ExecutionContext executionContext) throws SmooksException, IOException
visitAfter in interface SAXVisitAfterSmooksExceptionIOExceptionpublic void visitBefore(Element element, ExecutionContext executionContext) throws SmooksException
visitBefore in interface DOMVisitBeforeSmooksExceptionpublic void visitAfter(Element element, ExecutionContext executionContext) throws SmooksException
visitAfter in interface DOMVisitAfterSmooksExceptionCopyright © 2015. All rights reserved.