Interface Nodelet


public interface Nodelet
A nodelet is a sort of callback or event handler that can be registered to handle an XPath event registered with the NodeParser.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    For a registered XPath, the NodeletParser will call the Nodelet's process method for processing.
  • Method Details

    • process

      void process(Map<String,String> attrs) throws Exception
      For a registered XPath, the NodeletParser will call the Nodelet's process method for processing.
      Parameters:
      attrs - the attributes of the start element
      Throws:
      Exception - if an error occurs while processing the nodelet