Package org.odftoolkit.odfdom.dom.element.meta

Examples of org.odftoolkit.odfdom.dom.element.meta.MetaTemplateElement


   * It can be represented by <code>OdfMetaTemplate</code> feature;
   * <p>
   * <code>null</code>, if the feature is not exist.
   */
  public OdfMetaTemplate getTemplate() {
    MetaTemplateElement element = getTemplateElement();
    if (element != null) {
      return new OdfMetaTemplate(element);
    } else {
      return null;
    }
View Full Code Here


   * It can be represented by <code>OdfMetaTemplate</code> feature;
   * <p>
   * <code>null</code>, if the feature is not exist.
   */
  public OdfMetaTemplate getTemplate() {
    MetaTemplateElement element = getTemplateElement();
    if (element != null) {
      return new OdfMetaTemplate(element);
    } else {
      return null;
    }
View Full Code Here

   * Child element is new in Odf 1.2
   *
   * @return the element {@odf.element meta:template}
   */
   public MetaTemplateElement newMetaTemplateElement(String xlinkHrefValue, String xlinkTypeValue) {
    MetaTemplateElement metaTemplate = ((OdfFileDom) this.ownerDocument).newOdfElement(MetaTemplateElement.class);
    metaTemplate.setXlinkHrefAttribute(xlinkHrefValue);
    metaTemplate.setXlinkTypeAttribute(xlinkTypeValue);
    this.appendChild(metaTemplate);
    return metaTemplate;
  }
View Full Code Here

TOP

Related Classes of org.odftoolkit.odfdom.dom.element.meta.MetaTemplateElement

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.