Class LogHandler

  • All Implemented Interfaces:
    TagHandler

    public class LogHandler
    extends SpecialFunctionHandler
    Handles: <apply><log/>arg</apply> <apply><log/><logbase><cn>2</cn></logbase>arg</apply>
    • Constructor Summary

      Constructors 
      Constructor Description
      LogHandler​(java.lang.String logJepName, java.lang.String lgJepName)  
    • Constructor Detail

      • LogHandler

        public LogHandler​(java.lang.String logJepName,
                          java.lang.String lgJepName)
        Parameters:
        logJepName -
        lgJepName -
    • Method Detail

      • apply

        public Node apply​(ApplyHandler ah,
                          StackFrame frame,
                          org.xml.sax.Locator loc)
                   throws org.xml.sax.SAXParseException,
                          ParseException
        Description copied from class: SpecialFunctionHandler
        Called when closing <apply/> tag is encountered.
        Specified by:
        apply in class SpecialFunctionHandler
        Parameters:
        ah - a reference to the ApplyHandler which provides some useful methods.
        frame - the stackframe for the apply element, the children can be recovered from this
        loc - provides information on the location in the xml document.
        Returns:
        the resulting Node representing the function.
        Throws:
        org.xml.sax.SAXParseException
        ParseException