Code example for AbstractSingleBeanDefinitionParser

0
 * Parser for the <xpath-expression> element. 
 * 
 * @author Jonas Partner 
 * @author Soby Chacko 
 */ 
public class XPathExpressionParser extends AbstractSingleBeanDefinitionParser {
 
	@Override 
	protected boolean shouldGenerateId() { 
		return false; 
	} 
 
	@Override 
	protected boolean shouldGenerateIdAsFallback() { 
		return true; 
	} 
 
	@Override 
	protected Class<?> getBeanClass(Element element) {
		return XPathExpressionFactory.class; 
Experience pair programming with AI  Get Codota for Java