@Override public TechnologyTagExists processElement(ParserContext handlerManager, Element element) throws ConfigurationException { String technologyTagPattern = $(element).attr(NAME); String in = $(element).attr("in"); if (StringUtils.isBlank(technologyTagPattern)) { throw new WindupException("Error, '" + ELEMENT_NAME + "' element must have a non-empty '" + NAME + "' attribute"); } return TechnologyTagExists.withName(technologyTagPattern).in(in); } }
@Override public TechnologyTagExists processElement(ParserContext handlerManager, Element element) throws ConfigurationException { String technologyTagPattern = $(element).attr(NAME); String in = $(element).attr("in"); if (StringUtils.isBlank(technologyTagPattern)) { throw new WindupException("Error, '" + ELEMENT_NAME + "' element must have a non-empty '" + NAME + "' attribute"); } return TechnologyTagExists.withName(technologyTagPattern).in(in); } }