    All Packages  Class Hierarchy  This Package  Previous  Next  Index

# Class com.ups.xmlsdk.Adapter

    java.lang.Object
       |
       +----com.ups.xmlsdk.Adapter

public class Adapter
extends Object
implements AdapterInterface, XMLDefinitions

The Adapter utilizes the XML4J parser to construct XML documents. This class is a base class providing the parsing and dom manipulation of XML documents.

##

Adapter()
  Adapter constructor comment.

##

adaptFromObject(ServiceRequestContainer)
adaptFromXml(StringBuffer)
  Method takes an XML document as a StringBuffer, parses and populates the bean with the tracking data.

##

Adapter

     public Adapter()

  Adapter constructor comment.

##

adaptFromObject

     public StringBuffer adaptFromObject(ServiceRequestContainer aServReqContainer) throws Exception

  Parameters:
    aServReqContainer - com.ups.xmlsdk.ServiceRequestContainer
  Returns:
    java.lang.StringBuffer

adaptFromXml

     public ServiceResponseContainer adaptFromXml(StringBuffer document) throws Exception

  Method takes an XML document as a StringBuffer, parses and populates the bean with the tracking data.

  Parameters:
    java.lang.StringBuffer - document

    All Packages  Class Hierarchy  This Package  Previous  Next  Index