Step 2: Creating Content Provider Entities
A content provider entity represents one XML source from a specific content provider. The entity provides all the information required for making a connection with the content provider and retrieving the specific XML source.
Several entities can be implemented by the same Java class.
There are two types of entities:
-
HTTP Entity: An entity that obtains XML via an HTTP request. For information on creating HTTP entities, see Creating HTTP Entities .
-
SOAP Entity: An entity that obtains XML via a SOAP request. For information on creating SOAP entities, see Creating SOAP Entities .
All entities implement the following interfaces:
-
IProviderEntity: Defines the methods for getting the XML source.
-
ITransformationProviderEntity: Defines the methods for getting information about the entity’s transformer.