Interface CopyInformee

All Known Implementing Classes:
LocationCopier

public interface CopyInformee
A CopyInformee is an agent that receives extra information while a tree is being copied. Specifically, each time an element node is copied to the receiver, before calling the startElement() method, the copying code will first call notifyElementNode(), giving the informee extra information about the element currently being copied.
  • Method Summary

    Modifier and Type
    Method
    Description
    Provide information about the node being copied.
  • Method Details

    • notifyElementNode

      Object notifyElementNode(NodeInfo element)
      Provide information about the node being copied. This method is called immediately before the startElement call for the element node in question.
      Parameters:
      element - the node being copied, which must be an element node
      Returns:
      information about this node