public class MultiDeferredElementVisitorHook extends ParameterizedExtensionHook
ExtensionHook.URIResource
ElementVisitor.ResourceBundleProvider
ATTRIBUTE_RSBUNDLE_CLASS, KEY_EXTENSION, KEY_RSBUNDLE_CLASS, MANIFEST_XMLNS
KEY_LOCATOR
Constructor and Description |
---|
MultiDeferredElementVisitorHook() |
Modifier and Type | Method and Description |
---|---|
void |
attachElementVisitor(ElementVisitor elementVisitor)
When the XML data associated with the hook handler instance needs
to be processed, call this method passing an ElementVisitor
implementation.
|
void |
end(ElementEndContext context)
Visit the end tag of an xml element.
|
java.util.List<ElementVisitor> |
getAttachedVisitors() |
int |
getMaximumNumberOfVisitors() |
int |
getNumberOfAttachedVisitors() |
void |
setHookHandlerParameters(java.util.Map<java.lang.String,java.lang.String> parameterMap) |
void |
setMaximumNumberOfVisitors(int maxVisitors) |
void |
start(ElementStartContext context)
Visit the start tag of an xml element.
|
findPath, getExtension, getProvider, getRSBundleClass, getSchemaLocation, resolvePath, setProvider, setSchemaLocation
getAttributeHelper, getClassLoader, getMetaClassLoader, getResourceBundle, getResourceBundleProvider, getTextHelper, log, log, setResourceBundleProvider
public void setHookHandlerParameters(java.util.Map<java.lang.String,java.lang.String> parameterMap)
setHookHandlerParameters
in class ParameterizedExtensionHook
public void setMaximumNumberOfVisitors(int maxVisitors)
public int getMaximumNumberOfVisitors()
public void start(ElementStartContext context)
ElementVisitor
This implementation does nothing.
start
in class ElementVisitor
context
- information about the xml start tag.public void end(ElementEndContext context)
ElementVisitor
This implementation does nothing.
end
in class ElementVisitor
context
- information about the xml end tag.public void attachElementVisitor(ElementVisitor elementVisitor)
elementVisitor
- public int getNumberOfAttachedVisitors()
public java.util.List<ElementVisitor> getAttachedVisitors()