/** * <p> * Parses a <property> tag value from the provided {@link Element}. <property> elements have a name and * value attribute which represent the property entries key and value. * </p> * * @param element the element to parse looking for <property/> */ public void parseProperty(Element element) { parsePropertyElement(element); }
/** * <p> * Parses <property> tag values from the provided {@link Element} if it contains a <properties /> element. * Only one <properties /> element may be present. <property> elements have a name and value attribute * which represent the property entries key and value. * </p> * * @param element the element to parse looking for <properties /> */ public void parseProperties(Element element) { List<Element> propertiesElements = DomUtils.getChildElementsByTagName(element, PROPERTIES_ELEMENT); if (propertiesElements.size() == 1) { parsePropertyElement(propertiesElements.get(0)); } else if (propertiesElements.size() > 1) { parserContext.getReaderContext().error("The <properties> element may not appear more than once.", element); } }
/** * <p> * Parses a <property> tag value from the provided {@link Element}. <property> elements have a name and * value attribute which represent the property entries key and value. * </p> * * @param element the element to parse looking for <property/> */ public void parseProperty(Element element) { parsePropertyElement(element); }
/** * <p> * Parses a <property> tag value from the provided {@link Element}. <property> elements have a name and * value attribute which represent the property entries key and value. * </p> * * @param element the element to parse looking for <property/> */ public void parseProperty(Element element) { parsePropertyElement(element); }
/** * <p> * Parses a <property> tag value from the provided {@link Element}. <property> elements have a name and * value attribute which represent the property entries key and value. * </p> * * @param element the element to parse looking for <property/> */ public void parseProperty(Element element) { parsePropertyElement(element); }
/** * <p> * Parses <property> tag values from the provided {@link Element} if it contains a <properties /> element. * Only one <properties /> element may be present. <property> elements have a name and value attribute * which represent the property entries key and value. * </p> * * @param element the element to parse looking for <properties /> */ public void parseProperties(Element element) { List<Element> propertiesElements = DomUtils.getChildElementsByTagName(element, PROPERTIES_ELEMENT); if (propertiesElements.size() == 1) { parsePropertyElement(propertiesElements.get(0)); } else if (propertiesElements.size() > 1) { parserContext.getReaderContext().error("The <properties> element may not appear more than once.", element); } }
/** * <p> * Parses <property> tag values from the provided {@link Element} if it contains a <properties /> element. * Only one <properties /> element may be present. <property> elements have a name and value attribute * which represent the property entries key and value. * </p> * * @param element the element to parse looking for <properties /> */ public void parseProperties(Element element) { List<Element> propertiesElements = DomUtils.getChildElementsByTagName(element, PROPERTIES_ELEMENT); if (propertiesElements.size() == 1) { parsePropertyElement(propertiesElements.get(0)); } else if (propertiesElements.size() > 1) { parserContext.getReaderContext().error("The <properties> element may not appear more than once.", element); } }
/** * <p> * Parses <property> tag values from the provided {@link Element} if it contains a <properties /> element. * Only one <properties /> element may be present. <property> elements have a name and value attribute * which represent the property entries key and value. * </p> * * @param element the element to parse looking for <properties /> */ public void parseProperties(Element element) { List<Element> propertiesElements = DomUtils.getChildElementsByTagName(element, PROPERTIES_ELEMENT); if (propertiesElements.size() == 1) { parsePropertyElement(propertiesElements.get(0)); } else if (propertiesElements.size() > 1) { parserContext.getReaderContext().error("The <properties> element may not appear more than once.", element); } }