public class PluginElementVisitor extends AbstractPluginVisitor<PluginElement>
PluginElement
. Supports arrays as well as singular values.aliases, annotation, clazz, conversionType, LOGGER, member, substitutor
Constructor and Description |
---|
PluginElementVisitor() |
Modifier and Type | Method and Description |
---|---|
private Node |
findNamedNode(java.lang.String name,
java.lang.Iterable<Node> children) |
java.lang.Object |
visit(Configuration configuration,
Node node,
LogEvent event,
java.lang.StringBuilder log)
Visits a Node to obtain a value for constructing a Plugin object.
|
convert, removeAttributeValue, setAliases, setAnnotation, setConversionType, setMember, setStrSubstitutor
public java.lang.Object visit(Configuration configuration, Node node, LogEvent event, java.lang.StringBuilder log)
PluginVisitor
configuration
- the current Configuration.node
- the current Node corresponding to the Plugin object being created.event
- the current LogEvent that caused this Plugin object to be made (optional).log
- the StringBuilder being used to build a debug message.