Class StackFrame

java.lang.Object
com.singularsys.extensions.mathml.parser.StackFrame

public class StackFrame extends Object
Representation of an element, contains the name, attributes and children of the element. A stack frame is created when a closing tag is encountered the children will be the result produced by the handler for each element.
  • Constructor Details

    • StackFrame

      public StackFrame(String lname, Attributes att)
      Parameters:
      lname -
      att -
  • Method Details

    • addChild

      public void addChild(Object o)
    • getNumChildren

      public int getNumChildren()
    • getChild

      public Object getChild(int i)
    • getAttributeValue

      public String getAttributeValue(String name)
    • getAttributes

      public Map<String,String> getAttributes()
    • getName

      public String getName()
    • getChildren

      public List<Object> getChildren()
    • toString

      public String toString()
      Overrides:
      toString in class Object