org.apache.soap.encoding.soapenc
Class SoapEncUtils

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

public class SoapEncUtils
extends java.lang.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 Summary
SoapEncUtils()
           
 
Method Summary
static void generateArrayHeader(java.lang.String inScopeEncStyle, java.lang.Class javaType, java.lang.Object context, java.io.Writer sink, NSStack nsStack, XMLJavaMappingRegistry xjmr, QName arrayElementType, java.lang.String arrayLengthStr)
           
static void generateNullArray(java.lang.String inScopeEncStyle, java.lang.Class javaType, java.lang.Object context, java.io.Writer sink, NSStack nsStack, XMLJavaMappingRegistry xjmr, QName arrayElementType, java.lang.String arrayLengthStr)
           
static void generateNullStructure(java.lang.String inScopeEncStyle, java.lang.Class javaType, java.lang.Object context, java.io.Writer sink, NSStack nsStack, XMLJavaMappingRegistry xjmr)
           
static void generateStructureHeader(java.lang.String inScopeEncStyle, java.lang.Class javaType, java.lang.Object context, java.io.Writer sink, NSStack nsStack, XMLJavaMappingRegistry xjmr)
           
static void generateStructureHeader(java.lang.String inScopeEncStyle, QName elementType, java.lang.Object context, java.io.Writer sink, NSStack nsStack, XMLJavaMappingRegistry xjmr, QName arrayElementType, java.lang.String arrayLengthStr, boolean isNull)
           
static QName getAttributeValue(org.w3c.dom.Element el, java.lang.String attrNameNamespaceURI, java.lang.String attrNameLocalPart, java.lang.String elDesc, boolean isRequired)
           
static boolean isNull(org.w3c.dom.Element element)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SoapEncUtils

public SoapEncUtils()
Method Detail

generateNullStructure

public static void generateNullStructure(java.lang.String inScopeEncStyle,
                                         java.lang.Class javaType,
                                         java.lang.Object context,
                                         java.io.Writer sink,
                                         NSStack nsStack,
                                         XMLJavaMappingRegistry xjmr)
                                  throws java.lang.IllegalArgumentException,
                                         java.io.IOException

generateNullArray

public static void generateNullArray(java.lang.String inScopeEncStyle,
                                     java.lang.Class javaType,
                                     java.lang.Object context,
                                     java.io.Writer sink,
                                     NSStack nsStack,
                                     XMLJavaMappingRegistry xjmr,
                                     QName arrayElementType,
                                     java.lang.String arrayLengthStr)
                              throws java.lang.IllegalArgumentException,
                                     java.io.IOException

generateArrayHeader

public static void generateArrayHeader(java.lang.String inScopeEncStyle,
                                       java.lang.Class javaType,
                                       java.lang.Object context,
                                       java.io.Writer sink,
                                       NSStack nsStack,
                                       XMLJavaMappingRegistry xjmr,
                                       QName arrayElementType,
                                       java.lang.String arrayLengthStr)
                                throws java.lang.IllegalArgumentException,
                                       java.io.IOException

generateStructureHeader

public static void generateStructureHeader(java.lang.String inScopeEncStyle,
                                           java.lang.Class javaType,
                                           java.lang.Object context,
                                           java.io.Writer sink,
                                           NSStack nsStack,
                                           XMLJavaMappingRegistry xjmr)
                                    throws java.lang.IllegalArgumentException,
                                           java.io.IOException

generateStructureHeader

public static void generateStructureHeader(java.lang.String inScopeEncStyle,
                                           QName elementType,
                                           java.lang.Object context,
                                           java.io.Writer sink,
                                           NSStack nsStack,
                                           XMLJavaMappingRegistry xjmr,
                                           QName arrayElementType,
                                           java.lang.String arrayLengthStr,
                                           boolean isNull)
                                    throws java.lang.IllegalArgumentException,
                                           java.io.IOException

isNull

public static boolean isNull(org.w3c.dom.Element element)

getAttributeValue

public static QName getAttributeValue(org.w3c.dom.Element el,
                                      java.lang.String attrNameNamespaceURI,
                                      java.lang.String attrNameLocalPart,
                                      java.lang.String elDesc,
                                      boolean isRequired)
                               throws java.lang.IllegalArgumentException


Copyright 2001 Oracle SOAP. All Rights Reserved.