/** * Returns whether the attribute specified by name has a value. * * @param attributeName the name of the attribute * @return true if an attribute with the given name is specified on this element or has a * default value, false otherwise. */ public boolean hasAttribute(final String attributeName) { return attributes_.containsKey(attributeName); }
/** * Returns whether the attribute specified by name has a value. * * @param attributeName the name of the attribute * @return true if an attribute with the given name is specified on this element or has a * default value, false otherwise. */ @Override public boolean hasAttribute(final String attributeName) { return attributes_.containsKey(attributeName); }
/** * Returns whether the attribute specified by name has a value. * * @param attributeName the name of the attribute * @return true if an attribute with the given name is specified on this element or has a * default value, false otherwise. */ public boolean hasAttribute(final String attributeName) { return attributes_.containsKey(attributeName); }
/** * Returns whether the attribute specified by name has a value. * * @param attributeName the name of the attribute * @return true if an attribute with the given name is specified on this element or has a * default value, false otherwise. */ @Override public boolean hasAttribute(final String attributeName) { return attributes_.containsKey(attributeName); }
/** * Returns whether the attribute specified by name has a value. * * @param attributeName the name of the attribute * @return true if an attribute with the given name is specified on this element or has a * default value, false otherwise. */ public boolean hasAttribute(final String attributeName) { return attributes_.containsKey(attributeName); }
/** * {@inheritDoc} */ @Override public DomAttr put(String key, final DomAttr value) { key = fixName(key); if (!containsKey(key)) { attrPositions_.add(key); } return super.put(key, value); }
/** * {@inheritDoc} */ @Override public DomAttr put(String key, final DomAttr value) { key = fixName(key); if (!containsKey(key)) { attrPositions_.add(key); } return super.put(key, value); }
/** * {@inheritDoc} */ @Override public DomAttr put(String key, final DomAttr value) { key = fixName(key); if (!containsKey(key)) { attrPositions_.add(key); } return super.put(key, value); }