Class NullHandler

java.lang.Object
com.singularsys.extensions.mathml.parser.NullHandler
All Implemented Interfaces:
TagHandler

public class NullHandler extends Object implements TagHandler
Just returns null.
Author:
Richard Morris
  • Constructor Details

    • NullHandler

      public NullHandler()
  • 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.
    • getInstance

      public static NullHandler getInstance()