Class AnnotationHandler

  • All Implemented Interfaces:
    TagHandler

    public class AnnotationHandler
    extends AbstractHandler
    Handle <annotation-xml> and <annotation> elements.
    Author:
    Richard Morris
    • Constructor Detail

      • AnnotationHandler

        public AnnotationHandler​(Jep jep)
    • Method Detail

      • handle

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