Class ConstantHandler

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

public class ConstantHandler extends AbstractHandler
Handles <cn> elements.
Author:
Richard Morris
  • Field Details

  • Constructor Details

    • ConstantHandler

      public ConstantHandler(Jep jep)
      Parameters:
      jep -
  • Method Details

    • handle

      public Object handle(StackFrame frame, Locator loc) throws SAXParseException
      Description copied from interface: TagHandler
      Transform the element, called when a closing tag is encountered.
      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.
      Throws:
      SAXParseException
    • putEntity

      public String putEntity(String key, String value)
    • putConstantElement

      public String putConstantElement(String key, String value)
    • removeConstantElement

      public String removeConstantElement(String key)
    • removeEntity

      public String removeEntity(String key)