/** * Receives the value of the ODFDOM attribute representation <code>DrawLayerAttribute</code> , See * {@odf.attribute draw:layer} * * @return - the <code>String</code> , the value or <code>null</code>, if the attribute is not set * and no default value defined. */ public String getDrawLayerAttribute() { DrawLayerAttribute attr = (DrawLayerAttribute) getOdfAttribute(OdfName.get(OdfNamespace.get(OdfNamespaceNames.DRAW), "layer")); if (attr != null) { return String.valueOf(attr.getValue()); } return null; }
/** * Sets the value of ODFDOM attribute representation <code>DrawLayerAttribute</code> , See * {@odf.attribute draw:layer} * * @param drawLayerValue The type is <code>String</code> */ public void setDrawLayerAttribute(String drawLayerValue) { DrawLayerAttribute attr = new DrawLayerAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); attr.setValue(drawLayerValue); }