/** * Receives the value of the ODFDOM attribute representation <code>StyleDataStyleNameAttribute * </code> , See {@odf.attribute style:data-style-name} * * @return - the <code>String</code> , the value or <code>null</code>, if the attribute is not set * and no default value defined. */ public String getStyleDataStyleNameAttribute() { StyleDataStyleNameAttribute attr = (StyleDataStyleNameAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "data-style-name"); if (attr != null) { return String.valueOf(attr.getValue()); } return null; }
/** * Sets the value of ODFDOM attribute representation <code>StyleDataStyleNameAttribute</code> , * See {@odf.attribute style:data-style-name} * * @param styleDataStyleNameValue The type is <code>String</code> */ public void setStyleDataStyleNameAttribute(String styleDataStyleNameValue) { StyleDataStyleNameAttribute attr = new StyleDataStyleNameAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); attr.setValue(styleDataStyleNameValue); }