All Packages Class Hierarchy This Package Previous Next Index
Class com.ups.xmlsdk.AdapterUtility
java.lang.Object
|
+----com.ups.xmlsdk.AdapterUtility
- public class AdapterUtility
- extends Object
-
AdapterUtility()
-
-
addNode(Document, String, String, String, String, String)
-
-
buildAddress(Document, String, AddressAbstract)
-
Utility for constructing address Nodes for any of the Address Abstract Child classes
-
buildAddressVector(String, String, String, String, String, String, String)
-
-
buildAddressVector(String, String, String, String, String, String, String, boolean)
-
-
buildComment(Document, String, String)
-
-
buildMixedContentNode(Document, String, String, String, Vector)
-
-
buildNode(Document, String, String, Vector)
-
-
buildReqHdr(Document, String, String[], String, String, String)
-
-
buildRespHdr(Document, String, String, String, String, String)
-
-
buildVector(String, Object)
-
AdapterUtility
public AdapterUtility()
addNode
public static void addNode(Document doc,
String strParentTag,
String newTagName,
String textString,
String attrName,
String attrValue)
buildAddress
public static void buildAddress(Document doc,
String parent,
AddressAbstract address)
- Utility for constructing address Nodes for any of the Address Abstract Child classes
- Parameters:
- address - com.ups.xml.xpci.AddressAbstract
buildAddressVector
public static Vector buildAddressVector(String addr1,
String addr2,
String addr3,
String city,
String state,
String postal,
String country)
buildAddressVector
public static Vector buildAddressVector(String addr1,
String addr2,
String addr3,
String city,
String state,
String postal,
String country,
boolean res)
buildComment
public static void buildComment(Document doc,
String strParentTag,
String comment)
buildMixedContentNode
public static void buildMixedContentNode(Document doc,
String strParentTag,
String nodeName,
String nodeData,
Vector data)
buildNode
public static void buildNode(Document doc,
String strParentTag,
String nodeName,
Vector data)
buildReqHdr
public static void buildReqHdr(Document doc,
String reqaction,
String reqoption[],
String context,
String xpciversion,
String strParentTag)
buildRespHdr
public static void buildRespHdr(Document doc,
String responseCode,
String responseDesc,
String context,
String xpciversion,
String strParentTag)
buildVector
public static Vector buildVector(String s1,
Object s2)
All Packages Class Hierarchy This Package Previous Next Index