/** * Receives the value of the ODFDOM attribute representation <code>NumberTitleAttribute</code> , * See {@odf.attribute number:title} * * @return - the <code>String</code> , the value or <code>null</code>, if the attribute is not set * and no default value defined. */ public String getNumberTitleAttribute() { NumberTitleAttribute attr = (NumberTitleAttribute) getOdfAttribute(OdfDocumentNamespace.NUMBER, "title"); if (attr != null) { return String.valueOf(attr.getValue()); } return null; }
/** * Sets the value of ODFDOM attribute representation <code>NumberTitleAttribute</code> , See * {@odf.attribute number:title} * * @param numberTitleValue The type is <code>String</code> */ public void setNumberTitleAttribute(String numberTitleValue) { NumberTitleAttribute attr = new NumberTitleAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); attr.setValue(numberTitleValue); }