Code example for Element

Methods: getAttribute

0
 
    @Override 
    protected void doParse(Element element, BeanDefinitionBuilder builder) {
        builder.addPropertyValue("viewClass", JstlView.class);
 
        String prefix = element.getAttribute("prefix");
        builder.addPropertyValue("prefix", prefix);
        String suffix = element.getAttribute("suffix");
        builder.addPropertyValue("suffix", suffix);
    } 
}