Class Element

  • Direct Known Subclasses:
    Text

    public class Element
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      java.util.ArrayList<Element> children  
      java.lang.String tag  
    • Constructor Summary

      Constructors 
      Constructor Description
      Element​(java.lang.String s)  
    • Field Detail

      • tag

        public java.lang.String tag
      • children

        public java.util.ArrayList<Element> children
    • Constructor Detail

      • Element

        public Element​(java.lang.String s)
    • Method Detail

      • addContent

        public void addContent​(Element e)
      • setContent

        public void setContent​(Element e)
      • addContent

        public void addContent​(java.util.List list)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object