Ejemplo n.º 1
0
 /**
  * Receives the value of the ODFDOM attribute representation <code>TextConnectionNameAttribute
  * </code> , See {@odf.attribute text:connection-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 getTextConnectionNameAttribute() {
   TextConnectionNameAttribute attr =
       (TextConnectionNameAttribute)
           getOdfAttribute(
               OdfName.get(OdfNamespace.get(OdfNamespaceNames.TEXT), "connection-name"));
   if (attr != null) {
     return String.valueOf(attr.getValue());
   }
   return null;
 }
Ejemplo n.º 2
0
 /**
  * Sets the value of ODFDOM attribute representation <code>TextConnectionNameAttribute</code> ,
  * See {@odf.attribute text:connection-name}
  *
  * @param textConnectionNameValue The type is <code>String</code>
  */
 public void setTextConnectionNameAttribute(String textConnectionNameValue) {
   TextConnectionNameAttribute attr =
       new TextConnectionNameAttribute((OdfFileDom) this.ownerDocument);
   setOdfAttribute(attr);
   attr.setValue(textConnectionNameValue);
 }