@Override public HasClassification processElement(ParserContext handlerManager, Element element) throws ConfigurationException { String pattern = $(element).attr("title"); HasClassification classification = new HasClassification(); if (!Strings.isNullOrEmpty(pattern)) classification.setTitlePattern(pattern); return classification; } }
@Override public HasClassification processElement(ParserContext handlerManager, Element element) throws ConfigurationException { String pattern = $(element).attr("title"); HasClassification classification = new HasClassification(); if (!Strings.isNullOrEmpty(pattern)) classification.setTitlePattern(pattern); return classification; } }