Class OperatorHandler

  • All Implemented Interfaces:
    TagHandler

    public class OperatorHandler
    extends java.lang.Object
    implements TagHandler
    Handles elements corresponding to Jep operators.
    • Constructor Summary

      Constructors 
      Constructor Description
      OperatorHandler()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Operator get​(java.lang.Object key)  
      java.lang.Object handle​(StackFrame frame, org.xml.sax.Locator loc)
      Returns the operator.
      Operator put​(java.lang.String key, Operator value)  
      Operator remove​(java.lang.Object key)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • OperatorHandler

        public OperatorHandler()
    • Method Detail

      • handle

        public java.lang.Object handle​(StackFrame frame,
                                       org.xml.sax.Locator loc)
                                throws org.xml.sax.SAXParseException
        Returns the operator.
        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.
        Throws:
        org.xml.sax.SAXParseException
      • get

        public Operator get​(java.lang.Object key)
      • remove

        public Operator remove​(java.lang.Object key)