Class TableSourceServiceElement

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

public class TableSourceServiceElement extends OdfElement
DOM implementation of OpenDocument element <table:source-service>.
See Also:
  • Field Details

    • ELEMENT_NAME

      public static final OdfName ELEMENT_NAME
  • Constructor Details

    • TableSourceServiceElement

      public TableSourceServiceElement(OdfFileDom ownerDoc)
      Create the instance of TableSourceServiceElement
      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 <table:source-service>.
    • getTableNameAttribute

      public String getTableNameAttribute()
      Receives the value of the ODFDOM attribute representation TableNameAttribute , See @table:name

      Attribute is mandatory.

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

      public void setTableNameAttribute(String tableNameValue)
      Sets the value of ODFDOM attribute representation TableNameAttribute , See @table:name
      Parameters:
      tableNameValue - The type is String
    • getTableObjectNameAttribute

      public String getTableObjectNameAttribute()
      Receives the value of the ODFDOM attribute representation TableObjectNameAttribute , See @table:object-name

      Attribute is mandatory.

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

      public void setTableObjectNameAttribute(String tableObjectNameValue)
      Sets the value of ODFDOM attribute representation TableObjectNameAttribute , See @table:object-name
      Parameters:
      tableObjectNameValue - The type is String
    • getTablePasswordAttribute

      public String getTablePasswordAttribute()
      Receives the value of the ODFDOM attribute representation TablePasswordAttribute , See @table:password
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setTablePasswordAttribute

      public void setTablePasswordAttribute(String tablePasswordValue)
      Sets the value of ODFDOM attribute representation TablePasswordAttribute , See @table:password
      Parameters:
      tablePasswordValue - The type is String
    • getTableSourceNameAttribute

      public String getTableSourceNameAttribute()
      Receives the value of the ODFDOM attribute representation TableSourceNameAttribute , See @table:source-name

      Attribute is mandatory.

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

      public void setTableSourceNameAttribute(String tableSourceNameValue)
      Sets the value of ODFDOM attribute representation TableSourceNameAttribute , See @table:source-name
      Parameters:
      tableSourceNameValue - The type is String
    • getTableUserNameAttribute

      public String getTableUserNameAttribute()
      Receives the value of the ODFDOM attribute representation TableUserNameAttribute , See @table:user-name
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setTableUserNameAttribute

      public void setTableUserNameAttribute(String tableUserNameValue)
      Sets the value of ODFDOM attribute representation TableUserNameAttribute , See @table:user-name
      Parameters:
      tableUserNameValue - 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