Class SemanticHandler

java.lang.Object
com.singularsys.extensions.mathml.parser.AbstractHandler
com.singularsys.extensions.mathml.parser.SemanticHandler
All Implemented Interfaces:
StartTagHandler, TagHandler

public class SemanticHandler extends AbstractHandler implements StartTagHandler
Handler for <semantics> elements.
  • Constructor Details

  • Method Details

    • handle

      public Object handle(StackFrame frame, Locator loc)
      Description copied from interface: TagHandler
      Transform the element, called when a closing tag is encountered.
      Specified by:
      handle in interface TagHandler
      Parameters:
      frame - StackFrame representing the element
      loc - location in input
      Returns:
      typically a Node, other types of objects may also be returned when the tag has a special meaning for its parent node.
    • endDoc

      public void endDoc() throws SAXException
      Description copied from interface: StartTagHandler
      Called at the end of the document.
      Specified by:
      endDoc in interface StartTagHandler
      Throws:
      SAXException
    • start

      public void start(StackFrame frame, Locator loc)
      Description copied from interface: StartTagHandler
      Called when a starting tag is encountered.
      Specified by:
      start in interface StartTagHandler
      Parameters:
      frame -
      loc -
    • startDoc

      public void startDoc()
      Description copied from interface: StartTagHandler
      Called at the start of the document.
      Specified by:
      startDoc in interface StartTagHandler