com.infoengine.soap.util.sax
Class SAXUtils

java.lang.Object
  extended bycom.infoengine.soap.util.sax.SAXUtils

public class SAXUtils
extends Object


Field Summary
private static int ARRAY_SAVE
           
private static List arrays
           
private static int BEAN_SAVE
           
private static List beans
           
protected static boolean DEBUG
           
private static Map elementHandlers
           
private static int PRIMITIVE_SAVE
           
private static List primitives
           
 
Constructor Summary
SAXUtils()
           
 
Method Summary
private static ArrayDeserializer getArrayDeserializer(String type, int dim, boolean justObjects)
           
static String getArrayType(Attributes atts)
           
private static BeanDeserializer getBeanDeserializer(String type)
           
static SAXObjectDeserializer getHandler(String namespaceURI, String localName, String qName, Attributes atts)
           
static SAXObjectDeserializer getHandler(String namespaceURI, String localName, String qName, Attributes atts, String type)
           
(package private) static SAXObjectDeserializer getHandler(String namespaceURI, String localName, String qName, Attributes atts, String type, boolean justObjectsInArrays)
           
private static PrimitiveDeserializer getPrimitiveDeserializer(int soapType)
           
private static SOAPElementHandlerDeserializer getSOAPElementHandlerDeserializer(String type)
           
static String getType(Attributes atts)
           
private static boolean hasState(Attributes atts)
           
private static boolean isNull(Attributes atts)
           
(package private) static boolean reusable(SAXObjectDeserializer des)
           
(package private) static void reuse(SAXObjectDeserializer des)
           
private static String stripNS(String s)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEBUG

protected static boolean DEBUG

PRIMITIVE_SAVE

private static final int PRIMITIVE_SAVE
See Also:
Constant Field Values

primitives

private static List primitives

BEAN_SAVE

private static final int BEAN_SAVE
See Also:
Constant Field Values

beans

private static List beans

ARRAY_SAVE

private static final int ARRAY_SAVE
See Also:
Constant Field Values

arrays

private static List arrays

elementHandlers

private static Map elementHandlers
Constructor Detail

SAXUtils

public SAXUtils()
Method Detail

getArrayType

public static String getArrayType(Attributes atts)

getType

public static String getType(Attributes atts)

stripNS

private static String stripNS(String s)

isNull

private static boolean isNull(Attributes atts)

hasState

private static boolean hasState(Attributes atts)

getHandler

public static SAXObjectDeserializer getHandler(String namespaceURI,
                                               String localName,
                                               String qName,
                                               Attributes atts)
                                        throws SAXException
Throws:
SAXException

getHandler

public static SAXObjectDeserializer getHandler(String namespaceURI,
                                               String localName,
                                               String qName,
                                               Attributes atts,
                                               String type)
                                        throws SAXException
Throws:
SAXException

getHandler

static SAXObjectDeserializer getHandler(String namespaceURI,
                                        String localName,
                                        String qName,
                                        Attributes atts,
                                        String type,
                                        boolean justObjectsInArrays)
                                 throws SAXException
Throws:
SAXException

reusable

static boolean reusable(SAXObjectDeserializer des)

reuse

static void reuse(SAXObjectDeserializer des)

getPrimitiveDeserializer

private static PrimitiveDeserializer getPrimitiveDeserializer(int soapType)

getBeanDeserializer

private static BeanDeserializer getBeanDeserializer(String type)
                                             throws SAXException
Throws:
SAXException

getArrayDeserializer

private static ArrayDeserializer getArrayDeserializer(String type,
                                                      int dim,
                                                      boolean justObjects)

getSOAPElementHandlerDeserializer

private static SOAPElementHandlerDeserializer getSOAPElementHandlerDeserializer(String type)
                                                                         throws SAXException
Throws:
SAXException