Class TextBibliographyEntryTemplateElement

All Implemented Interfaces:
Serializable, Cloneable, OdfStylePropertySet, Element, ElementTraversal, EventTarget, Node, NodeList, TypeInfo

public class TextBibliographyEntryTemplateElement extends OdfStylableElement
DOM implementation of OpenDocument element <text:bibliography-entry-template>.
See Also:
  • Field Details

    • ELEMENT_NAME

      public static final OdfName ELEMENT_NAME
  • Constructor Details

    • TextBibliographyEntryTemplateElement

      public TextBibliographyEntryTemplateElement(OdfFileDom ownerDoc)
      Create the instance of TextBibliographyEntryTemplateElement
      Parameters:
      ownerDoc - The type is OdfFileDom
  • Method Details

    • getOdfName

      public OdfName getOdfName()
      Get the element name
      Specified by:
      getOdfName in class OdfElement
      Returns:
      return OdfName the name of element <text:bibliography-entry-template>.
    • getTextBibliographyTypeAttribute

      public String getTextBibliographyTypeAttribute()
      Receives the value of the ODFDOM attribute representation TextBibliographyTypeAttribute , See @text:bibliography-type

      Attribute is mandatory.

      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setTextBibliographyTypeAttribute

      public void setTextBibliographyTypeAttribute(String textBibliographyTypeValue)
      Sets the value of ODFDOM attribute representation TextBibliographyTypeAttribute , See @text:bibliography-type
      Parameters:
      textBibliographyTypeValue - The type is String
    • getTextStyleNameAttribute

      public String getTextStyleNameAttribute()
      Receives the value of the ODFDOM attribute representation TextStyleNameAttribute , See @text:style-name

      Attribute is mandatory.

      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setTextStyleNameAttribute

      public void setTextStyleNameAttribute(String textStyleNameValue)
      Sets the value of ODFDOM attribute representation TextStyleNameAttribute , See @text:style-name
      Parameters:
      textStyleNameValue - The type is String
    • newTextIndexEntryBibliographyElement

      public TextIndexEntryBibliographyElement newTextIndexEntryBibliographyElement(String textBibliographyDataFieldValue)
      Create child element <text:index-entry-bibliography>.
      Parameters:
      textBibliographyDataFieldValue - the String value of TextBibliographyDataFieldAttribute, see @text:bibliography-data-field at specification
      Returns:
      the element <text:index-entry-bibliography>
    • newTextIndexEntrySpanElement

      public TextIndexEntrySpanElement newTextIndexEntrySpanElement()
      Create child element <text:index-entry-span>.
      Returns:
      the element <text:index-entry-span>
    • newTextIndexEntryTabStopElement

      public TextIndexEntryTabStopElement newTextIndexEntryTabStopElement(String styleTypeValue)
      Create child element <text:index-entry-tab-stop>.
      Parameters:
      styleTypeValue - the String value of StyleTypeAttribute, see @style:type at specification
      Returns:
      the element <text:index-entry-tab-stop>
    • accept

      public void accept(ElementVisitor visitor)
      Accept an visitor instance to allow the visitor to do some operations. Refer to visitor design pattern to get a better understanding.
      Overrides:
      accept in class OdfElement
      Parameters:
      visitor - an instance of DefaultElementVisitor