Package | Description |
---|---|
org.xwiki.rendering.listener.chaining | |
org.xwiki.rendering.renderer |
Modifier and Type | Interface and Description |
---|---|
interface |
StackableChainingListener
A chaining listener that can be stacked in the
ListenerChain . |
Modifier and Type | Class and Description |
---|---|
class |
AbstractChainingListener
Default and basic implementation of a chaining listener that knows how to delegate event calls to the next listener
in the chain.
|
class |
BlockStateChainingListener
Indicates block element for which we are inside and previous blocks.
|
class |
ConsecutiveNewLineStateChainingListener
Counts consecutive new lines.
|
class |
EmptyBlockChainingListener
Allow knowing if a container block (a block which can have children) has children or not.
|
class |
GroupStateChainingListener
Provides information on whether we're inside a group.
|
class |
LookaheadChainingListener
Stores events without emitting them back in order to accumulate them and to provide a lookahead feature.
|
class |
MetaDataStateChainingListener
Provides the accumulated MetaData for all the previous blocks.
|
Modifier and Type | Method and Description |
---|---|
ChainingListener |
ListenerChain.getListener(Class<? extends ChainingListener> listenerClass) |
ChainingListener |
ListenerChain.getNextListener(Class<? extends ChainingListener> listenerClass) |
Modifier and Type | Method and Description |
---|---|
void |
ListenerChain.addListener(ChainingListener listener) |
void |
ListenerChain.addListener(ChainingListener listener,
int index) |
Modifier and Type | Method and Description |
---|---|
ChainingListener |
ListenerChain.getListener(Class<? extends ChainingListener> listenerClass) |
ChainingListener |
ListenerChain.getNextListener(Class<? extends ChainingListener> listenerClass) |
int |
ListenerChain.indexOf(Class<? extends ChainingListener> listenerClass) |
void |
ListenerChain.popListener(Class<? extends ChainingListener> listenerClass)
Remove the last instance corresponding to the passed listener class if it's stackable, in order to go back to the
previous state.
|
void |
ListenerChain.pushListener(Class<? extends ChainingListener> listenerClass)
Create a new instance of the passed chaining listener if it's stackable (ie it implements the
StackableChainingListener interface. |
void |
ListenerChain.removeListener(Class<? extends ChainingListener> listenerClass) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractChainingPrintRenderer |
Copyright © 2004–2021 XWiki. All rights reserved.