/** * * Adds config property to the map * * @param configProperties map * @param reader XMLStream reader * @throws XMLStreamException in case of error * @throws ParserException in case of error */ protected void parseConfigProperty(Map<String, String> configProperties, XMLStreamReader reader) throws XMLStreamException, ParserException { String n = attributeAsString(reader, "name"); if (n == null || n.trim().equals("")) throw new ParserException(bundle.requiredAttributeMissing("name", reader.getLocalName())); else configProperties.put(n, elementAsString(reader)); }
className = attributeAsString(reader, attribute.getLocalName()); break;