/** * Returns {@code true} if this attribute has been specified. * @return {@code true} if this attribute has been specified */ @JsxGetter public boolean isSpecified() { return getDomNodeOrDie().getSpecified(); }
/** * Indicates whether the attribute is explicitly specified or derived from a default value in * the document type definition (DTD) or schema. * @return {@code true} if this attribute has been explicitly specified */ @JsxGetter public boolean isSpecified() { return getDomNodeOrDie().getSpecified(); }
/** * Indicates whether the attribute is explicitly specified or derived from a default value in * the document type definition (DTD) or schema. * @return {@code true} if this attribute has been explicitly specified */ @JsxGetter public boolean isSpecified() { return getDomNodeOrDie().getSpecified(); }
/** * Returns {@code true} if this attribute has been specified. * @return {@code true} if this attribute has been specified */ @JsxGetter public boolean isSpecified() { return getDomNodeOrDie().getSpecified(); }
private static Map<String, DomAttr> createAttributesCopyWithClonedAttribute(final HtmlElement elt, final String attrName) { final Map<String, DomAttr> newMap = new HashMap<>(elt.getAttributesMap()); // clone the specified element, if possible final DomAttr attr = newMap.get(attrName); if (null == attr) { return newMap; } final DomAttr clonedAttr = new DomAttr(attr.getPage(), attr.getNamespaceURI(), attr.getQualifiedName(), attr.getValue(), attr.getSpecified()); newMap.put(attrName, clonedAttr); return newMap; }
private static Map<String, DomAttr> createAttributesCopyWithClonedAttribute(final HtmlElement elt, final String attrName) { final Map<String, DomAttr> newMap = new HashMap<>(elt.getAttributesMap()); // clone the specified element, if possible final DomAttr attr = newMap.get(attrName); if (null == attr) { return newMap; } final DomAttr clonedAttr = new DomAttr(attr.getPage(), attr.getNamespaceURI(), attr.getQualifiedName(), attr.getValue(), attr.getSpecified()); newMap.put(attrName, clonedAttr); return newMap; }
if (!attr.getSpecified()) { continue;
if (!attr.getSpecified()) { continue;