Class TextBookmarkStartElement

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

public class TextBookmarkStartElement extends OdfElement
DOM implementation of OpenDocument element <text:bookmark-start>.
See Also:
  • Field Details

    • ELEMENT_NAME

      public static final OdfName ELEMENT_NAME
  • Constructor Details

    • TextBookmarkStartElement

      public TextBookmarkStartElement(OdfFileDom ownerDoc)
      Create the instance of TextBookmarkStartElement
      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:bookmark-start>.
    • getTextNameAttribute

      public String getTextNameAttribute()
      Receives the value of the ODFDOM attribute representation TextNameAttribute , See @text:name

      Attribute is mandatory.

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

      public void setTextNameAttribute(String textNameValue)
      Sets the value of ODFDOM attribute representation TextNameAttribute , See @text:name
      Parameters:
      textNameValue - The type is String
    • getXhtmlAboutAttribute

      public String getXhtmlAboutAttribute()
      Receives the value of the ODFDOM attribute representation XhtmlAboutAttribute , See @xhtml:about
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setXhtmlAboutAttribute

      public void setXhtmlAboutAttribute(String xhtmlAboutValue)
      Sets the value of ODFDOM attribute representation XhtmlAboutAttribute , See @xhtml:about
      Parameters:
      xhtmlAboutValue - The type is String
    • getXhtmlContentAttribute

      public String getXhtmlContentAttribute()
      Receives the value of the ODFDOM attribute representation XhtmlContentAttribute , See @xhtml:content
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setXhtmlContentAttribute

      public void setXhtmlContentAttribute(String xhtmlContentValue)
      Sets the value of ODFDOM attribute representation XhtmlContentAttribute , See @xhtml:content
      Parameters:
      xhtmlContentValue - The type is String
    • getXhtmlDatatypeAttribute

      public String getXhtmlDatatypeAttribute()
      Receives the value of the ODFDOM attribute representation XhtmlDatatypeAttribute , See @xhtml:datatype
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setXhtmlDatatypeAttribute

      public void setXhtmlDatatypeAttribute(String xhtmlDatatypeValue)
      Sets the value of ODFDOM attribute representation XhtmlDatatypeAttribute , See @xhtml:datatype
      Parameters:
      xhtmlDatatypeValue - The type is String
    • getXhtmlPropertyAttribute

      public String getXhtmlPropertyAttribute()
      Receives the value of the ODFDOM attribute representation XhtmlPropertyAttribute , See @xhtml:property
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setXhtmlPropertyAttribute

      public void setXhtmlPropertyAttribute(String xhtmlPropertyValue)
      Sets the value of ODFDOM attribute representation XhtmlPropertyAttribute , See @xhtml:property
      Parameters:
      xhtmlPropertyValue - The type is String
    • getXmlIdAttribute

      public String getXmlIdAttribute()
      Receives the value of the ODFDOM attribute representation XmlIdAttribute , See @xml:id
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setXmlIdAttribute

      public void setXmlIdAttribute(String xmlIdValue)
      Sets the value of ODFDOM attribute representation XmlIdAttribute , See @xml:id
      Parameters:
      xmlIdValue - The type is String
    • 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
    • onRemoveNode

      protected void onRemoveNode()
      Overrides:
      onRemoveNode in class OdfElement
    • onInsertNode

      protected void onInsertNode()
      Overrides:
      onInsertNode in class OdfElement