}
private FormatterElement getFormatterElement(XmlNode node) {
// first search an element in cache.
synchronized (_formattersElementCache) {
FormatterElement element = new FormatterElement(node);
if (_handlersElementCache.containsKey(element.getName())) {
return _formattersElementCache.get(element.getName());
} else {
return element;
}
}
}