public class SelectiveFormatter extends Formatter implements Cloneable, LogNode
| Constructor and Description |
|---|
SelectiveFormatter() |
SelectiveFormatter(Formatter defFormatter) |
SelectiveFormatter(Formatter defFormatter,
Map<Filter,Formatter> sample) |
SelectiveFormatter(SelectiveFormatter src) |
| Modifier and Type | Method and Description |
|---|---|
SelectiveFormatter |
clone() |
String |
format(LogRecord record) |
LogNode[] |
getChildren() |
Formatter |
getDefFormatter() |
int |
getIndex() |
FormattersMap |
getMap() |
LogNode |
getNextSibling() |
LogNode |
getParent() |
LogNode |
getPreviousSibling() |
LogNode |
getSibling(int i) |
void |
setDefFormatter(Formatter defFormatter) |
void |
setMap(FormattersMap map) |
void |
setParent(LogNode node) |
Iterable<xyz.cofe.collection.iterators.TreeWalk<LogNode>> |
tree() |
void |
visit(xyz.cofe.collection.Func1<Boolean,Stack<LogNode>> visiterEnter,
xyz.cofe.collection.Func1<Object,Stack<LogNode>> visiterExit) |
void |
visit(xyz.cofe.common.Reciver<Stack<LogNode>> visiter) |
void |
visit(xyz.cofe.common.Reciver<Stack<LogNode>> visiterEnter,
xyz.cofe.common.Reciver<Stack<LogNode>> visiterExit) |
Iterable<LogNode> |
walk() |
formatMessage, getHead, getTailpublic SelectiveFormatter()
public SelectiveFormatter(Formatter defFormatter)
public SelectiveFormatter(SelectiveFormatter src)
public SelectiveFormatter clone()
public FormattersMap getMap()
public void setMap(FormattersMap map)
public Formatter getDefFormatter()
public void setDefFormatter(Formatter defFormatter)
public LogNode getParent()
getParent in interface xyz.cofe.collection.tree.TreeNode<LogNode>public void setParent(LogNode node)
setParent in interface xyz.cofe.collection.tree.TreeNodeSetParent<LogNode>public LogNode[] getChildren()
getChildren in interface xyz.cofe.collection.tree.TreeNode<LogNode>public int getIndex()
getIndex in interface xyz.cofe.collection.tree.TreeNode<LogNode>public LogNode getSibling(int i)
getSibling in interface xyz.cofe.collection.tree.TreeNode<LogNode>public LogNode getNextSibling()
getNextSibling in interface xyz.cofe.collection.tree.TreeNode<LogNode>public LogNode getPreviousSibling()
getPreviousSibling in interface xyz.cofe.collection.tree.TreeNode<LogNode>public Iterable<LogNode> walk()
walk in interface xyz.cofe.collection.tree.TreeNode<LogNode>public Iterable<xyz.cofe.collection.iterators.TreeWalk<LogNode>> tree()
tree in interface xyz.cofe.collection.tree.TreeNode<LogNode>public void visit(xyz.cofe.common.Reciver<Stack<LogNode>> visiter)
visit in interface xyz.cofe.collection.tree.TreeNode<LogNode>public void visit(xyz.cofe.collection.Func1<Boolean,Stack<LogNode>> visiterEnter, xyz.cofe.collection.Func1<Object,Stack<LogNode>> visiterExit)
visit in interface xyz.cofe.collection.tree.TreeNode<LogNode>Copyright © 2017. All rights reserved.