All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class org.apache.soap.encoding.soapenc.SoapEncUtils

java.lang.Object
   |
   +----org.apache.soap.encoding.soapenc.SoapEncUtils

public class SoapEncUtils
extends Object
These static methods can be used to do much of the repetitive and mechanical work that is required when generating structures using the SOAP-ENC encoding style.

Author:
Matthew J. Duftler (duftler@us.ibm.com)

Constructor Index

 o SoapEncUtils()

Method Index

 o generateArrayHeader(String, Class, Object, Writer, NSStack, XMLJavaMappingRegistry, QName, String)
 o generateNullArray(String, Class, Object, Writer, NSStack, XMLJavaMappingRegistry, QName, String)
 o generateNullStructure(String, Class, Object, Writer, NSStack, XMLJavaMappingRegistry)
 o generateStructureHeader(String, Class, Object, Writer, NSStack, XMLJavaMappingRegistry)
 o generateStructureHeader(String, QName, Object, Writer, NSStack, XMLJavaMappingRegistry, QName, String, boolean)
 o getAttributeValue(Element, String, String, String, boolean)
 o isNull(Element)

Constructors

 o SoapEncUtils
 public SoapEncUtils()

Methods

 o generateNullStructure
 public static void generateNullStructure(String inScopeEncStyle,
                                          Class javaType,
                                          Object context,
                                          Writer sink,
                                          NSStack nsStack,
                                          XMLJavaMappingRegistry xjmr) throws IllegalArgumentException, IOException
 o generateNullArray
 public static void generateNullArray(String inScopeEncStyle,
                                      Class javaType,
                                      Object context,
                                      Writer sink,
                                      NSStack nsStack,
                                      XMLJavaMappingRegistry xjmr,
                                      QName arrayElementType,
                                      String arrayLengthStr) throws IllegalArgumentException, IOException
 o generateArrayHeader
 public static void generateArrayHeader(String inScopeEncStyle,
                                        Class javaType,
                                        Object context,
                                        Writer sink,
                                        NSStack nsStack,
                                        XMLJavaMappingRegistry xjmr,
                                        QName arrayElementType,
                                        String arrayLengthStr) throws IllegalArgumentException, IOException
 o generateStructureHeader
 public static void generateStructureHeader(String inScopeEncStyle,
                                            Class javaType,
                                            Object context,
                                            Writer sink,
                                            NSStack nsStack,
                                            XMLJavaMappingRegistry xjmr) throws IllegalArgumentException, IOException
 o generateStructureHeader
 public static void generateStructureHeader(String inScopeEncStyle,
                                            QName elementType,
                                            Object context,
                                            Writer sink,
                                            NSStack nsStack,
                                            XMLJavaMappingRegistry xjmr,
                                            QName arrayElementType,
                                            String arrayLengthStr,
                                            boolean isNull) throws IllegalArgumentException, IOException
 o isNull
 public static boolean isNull(Element element)
 o getAttributeValue
 public static QName getAttributeValue(Element el,
                                       String attrNameNamespaceURI,
                                       String attrNameLocalPart,
                                       String elDesc,
                                       boolean isRequired) throws IllegalArgumentException

All Packages  Class Hierarchy  This Package  Previous  Next  Index