Class Element

  • All Implemented Interfaces:
    java.io.Serializable
    Direct Known Subclasses:
    StyledElement

    public class Element
    extends java.lang.Object
    implements java.io.Serializable
    Provides a common representation for TTML elements.
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.lang.String id  
    • Constructor Summary

      Constructors 
      Constructor Description
      Element()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getID()
      The identifier of the element.
      void setID​(java.lang.String id)
      The identifier of the element.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • id

        protected java.lang.String id
    • Constructor Detail

      • Element

        public Element()
    • Method Detail

      • setID

        public void setID​(java.lang.String id)
        The identifier of the element.
        Parameters:
        id - the identifier string
      • getID

        public java.lang.String getID()
        The identifier of the element.
        Returns:
        the identifier string