Interface NodeEndlet


  • public interface NodeEndlet
    A nodelet is a sort of callback or event handler that can be registered to handle an XPath event registered with the NodeParser. In particular, nodelets for processing end elements, text, and CDATA data are called NodeEndlet.

    Created: 2017. 11. 2.

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void process​(java.lang.String text)
      For a registered XPath, the NodeletParser will call the Nodelet's process method for processing.
    • Method Detail

      • process

        void process​(java.lang.String text)
              throws java.lang.Exception
        For a registered XPath, the NodeletParser will call the Nodelet's process method for processing.
        Parameters:
        text - the text and CDATA data collected
        Throws:
        java.lang.Exception - if an error occurs while processing the nodelet