Package com.adobe.xfa.agent
Class Agent
java.lang.Object
com.adobe.xfa.agent.Agent
- All Implemented Interfaces:
PacketHandler
- Direct Known Subclasses:
FormProcessor
A base class to represent XFA agents. Derived classes would
embody significant XFA form processor capabilities.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intCompletion code for failure.static final intCompletion code for success.static final intCompletion code for success with information.static final intCompletion code for success with warning. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidfilterPackets(Node oPacket, Object data) An XFA PacketHandler to filter out empty nodes and/or user-specified nodes in an XDP file.abstract StringRetrieve the configuration schema tag name where the config options are stored for this agent.Get the list of XFA packets for the XDP.
-
Field Details
-
SUCCESS
public static final int SUCCESSCompletion code for success.- See Also:
-
FAIL
public static final int FAILCompletion code for failure.- See Also:
-
SUCCESS_WITH_WARNINGS
public static final int SUCCESS_WITH_WARNINGSCompletion code for success with warning.- See Also:
-
SUCCESS_WITH_INFORMATION
public static final int SUCCESS_WITH_INFORMATIONCompletion code for success with information.- See Also:
-
-
Constructor Details
-
Agent
public Agent()Instantiates an agent.
-
-
Method Details
-
filterPackets
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:
filterPacketsin interfacePacketHandler
-
getConfigSchemaName
Retrieve the configuration schema tag name where the config options are stored for this agent. -
getPacketList
Get the list of XFA packets for the XDP.
-