Class Agent

  • All Implemented Interfaces:
    PacketHandler
    Direct Known Subclasses:
    FormProcessor

    public abstract class Agent
    extends Object
    implements PacketHandler
    A base class to represent XFA agents. Derived classes would embody significant XFA form processor capabilities.
    • Field Detail

      • SUCCESS_WITH_WARNINGS

        public static final int SUCCESS_WITH_WARNINGS
        Completion code for success with warning.
        See Also:
        Constant Field Values
      • SUCCESS_WITH_INFORMATION

        public static final int SUCCESS_WITH_INFORMATION
        Completion code for success with information.
        See Also:
        Constant Field Values
    • Constructor Detail

      • Agent

        public Agent()
        Instantiates an agent.
    • Method Detail

      • filterPackets

        public void filterPackets​(Node oPacket,
                                  Object data)
        An XFA PacketHandler to filter out empty nodes and/or user-specified nodes in an XDP file. This method gets called for each packet in an XDP that is being loaded.
        Specified by:
        filterPackets in interface PacketHandler
      • getConfigSchemaName

        public abstract String getConfigSchemaName()
        Retrieve the configuration schema tag name where the config options are stored for this agent.
      • getPacketList

        public String getPacketList()
        Get the list of XFA packets for the XDP.