Package com.independentsoft.office.word

# Class Symbol

java.lang.Object
com.independentsoft.office.word.Symbol

All Implemented Interfaces:
  `IContentElement`, `IRunContent`

public class Symbol extends Object implements IRunContent
The Class Symbol.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `Symbol()`
  Instantiates a new symbol.
  `Symbol​(String character, String font)`
  Instantiates a new symbol.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Symbol`
  `clone()`
  `String`
  `getCharacter()`
  Gets the character.
  `List<IContentElement>`
  `getContentElements()`
  `String`
  `getFont()`
  Gets the font.
  `void`
  `setCharacter​(String character)`
  Sets the character.
  `void`
  `setFont​(String font)`
  Sets the font.
  `String`
  `toString()`

  ### Methods inherited from class java.lang.Object

  `equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Constructor Details

  - ### Symbol

    public Symbol()
    Instantiates a new symbol.

  - ### Symbol

    public Symbol​(String character, String font)
    Instantiates a new symbol.
    Parameters:
      `character` - the character
      `font` - the font

- ## Method Details

  - ### getContentElements

    public List<IContentElement> getContentElements()
    Specified by:
      `getContentElements` in interface `IContentElement`

  - ### clone

    public Symbol clone()
    Specified by:
      `clone` in interface `IContentElement`
    Specified by:
      `clone` in interface `IRunContent`
    Overrides:
      `clone` in class `Object`

  - ### toString

    public String toString()
    Overrides:
      `toString` in class `Object`

  - ### getCharacter

    public String getCharacter()
    Gets the character.
    Returns:
      the character

  - ### setCharacter

    public void setCharacter​(String character)
    Sets the character.
    Parameters:
      `character` - the new character

  - ### getFont

    public String getFont()
    Gets the font.
    Returns:
      the font

  - ### setFont

    public void setFont​(String font)
    Sets the font.
    Parameters:
      `font` - the new font