コード例 #1
0
 /**
  * Receives the value of the ODFDOM attribute representation <code>
  * NumberTransliterationCountryAttribute</code> , See {@odf.attribute
  * number:transliteration-country}
  *
  * @return - the <code>String</code> , the value or <code>null</code>, if the attribute is not set
  *     and no default value defined.
  */
 public String getNumberTransliterationCountryAttribute() {
   NumberTransliterationCountryAttribute attr =
       (NumberTransliterationCountryAttribute)
           getOdfAttribute(OdfDocumentNamespace.NUMBER, "transliteration-country");
   if (attr != null) {
     return String.valueOf(attr.getValue());
   }
   return null;
 }
コード例 #2
0
 /**
  * Sets the value of ODFDOM attribute representation <code>NumberTransliterationCountryAttribute
  * </code> , See {@odf.attribute number:transliteration-country}
  *
  * @param numberTransliterationCountryValue The type is <code>String</code>
  */
 public void setNumberTransliterationCountryAttribute(String numberTransliterationCountryValue) {
   NumberTransliterationCountryAttribute attr =
       new NumberTransliterationCountryAttribute((OdfFileDom) this.ownerDocument);
   setOdfAttribute(attr);
   attr.setValue(numberTransliterationCountryValue);
 }