Class HTMLElement

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, java.lang.Iterable<java.lang.Object>, java.util.Collection<java.lang.Object>, java.util.List<java.lang.Object>, java.util.RandomAccess

    public class HTMLElement
    extends java.util.ArrayList<java.lang.Object>
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from class java.util.AbstractList

        modCount
    • Constructor Summary

      Constructors 
      Constructor Description
      HTMLElement​(java.lang.String name)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      HTMLElement addElement​(java.lang.String elementName)  
      void addHTMLContent​(java.lang.String htmlContent)  
      java.lang.String getAttribute​(java.lang.String key)  
      java.lang.String putAttribute​(java.lang.String key, java.lang.String value)  
      java.lang.String removeAttribute​(java.lang.String key)  
      java.lang.String toString()  
      • Methods inherited from class java.util.ArrayList

        add, add, addAll, addAll, clear, clone, contains, ensureCapacity, equals, forEach, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize
      • Methods inherited from class java.util.AbstractCollection

        containsAll
      • Methods inherited from class java.lang.Object

        finalize, getClass, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface java.util.Collection

        parallelStream, stream, toArray
      • Methods inherited from interface java.util.List

        containsAll
    • Constructor Detail

      • HTMLElement

        public HTMLElement​(java.lang.String name)
    • Method Detail

      • getAttribute

        public java.lang.String getAttribute​(java.lang.String key)
      • putAttribute

        public java.lang.String putAttribute​(java.lang.String key,
                                             java.lang.String value)
      • removeAttribute

        public java.lang.String removeAttribute​(java.lang.String key)
      • addElement

        public HTMLElement addElement​(java.lang.String elementName)
      • addHTMLContent

        public void addHTMLContent​(java.lang.String htmlContent)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.util.AbstractCollection<java.lang.Object>