Stellent
HowToComponents
JavaDoc

intradoc.soap.generic
Class SoapGenericSerializer

java.lang.Object
  |
  +--intradoc.soap.generic.SoapGenericSerializer
All Implemented Interfaces:
SoapServiceSerializer

public class SoapGenericSerializer
extends java.lang.Object
implements SoapServiceSerializer


Field Summary
static int ATTRIBUTE_MODE
           
static int FIELD_MODE
           
static java.lang.String GENERIC_NAMESPACE
           
protected  java.util.Properties m_attributeFieldProps
           
protected  java.util.Vector m_dataList
           
protected  java.util.Hashtable m_dataMap
           
protected  java.lang.String m_dataResourceName
           
protected  java.lang.String m_dataTableName
           
protected  int m_fieldTagMode
           
protected  java.lang.String m_fileName
           
protected  java.util.Properties m_ignoreFieldProps
           
static int MIXED_MODE
           
 
Constructor Summary
SoapGenericSerializer()
           
 
Method Summary
protected  void cacheDataObjects()
           
protected  void cacheFieldProperties()
           
protected  boolean canAddLocalData(java.lang.String fieldName, boolean isAttribute)
           
 boolean canParseRequest(DataBinder data, java.lang.String serviceName)
           
 void init()
           
protected  void parseDocumentNode(DataBinder data, PropertiesTreeNode node)
           
 void parseRequest(DataBinder data, PropertiesTreeNode node, java.lang.String serviceName)
           
 void sendResponse(DataBinder data, java.lang.StringBuffer buffer)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_dataTableName

protected java.lang.String m_dataTableName

m_dataResourceName

protected java.lang.String m_dataResourceName

m_fileName

protected java.lang.String m_fileName

GENERIC_NAMESPACE

public static final java.lang.String GENERIC_NAMESPACE
See Also:
Constant Field Values

ATTRIBUTE_MODE

public static final int ATTRIBUTE_MODE
See Also:
Constant Field Values

FIELD_MODE

public static final int FIELD_MODE
See Also:
Constant Field Values

MIXED_MODE

public static final int MIXED_MODE
See Also:
Constant Field Values

m_attributeFieldProps

protected java.util.Properties m_attributeFieldProps

m_ignoreFieldProps

protected java.util.Properties m_ignoreFieldProps

m_fieldTagMode

protected int m_fieldTagMode

m_dataList

protected java.util.Vector m_dataList

m_dataMap

protected java.util.Hashtable m_dataMap
Constructor Detail

SoapGenericSerializer

public SoapGenericSerializer()
Method Detail

init

public void init()
          throws DataException,
                 ServiceException
Specified by:
init in interface SoapServiceSerializer
DataException
ServiceException

cacheDataObjects

protected void cacheDataObjects()
                         throws DataException,
                                ServiceException
DataException
ServiceException

cacheFieldProperties

protected void cacheFieldProperties()
                             throws DataException,
                                    ServiceException
DataException
ServiceException

canParseRequest

public boolean canParseRequest(DataBinder data,
                               java.lang.String serviceName)
Specified by:
canParseRequest in interface SoapServiceSerializer

parseRequest

public void parseRequest(DataBinder data,
                         PropertiesTreeNode node,
                         java.lang.String serviceName)
                  throws java.io.IOException,
                         DataException
Specified by:
parseRequest in interface SoapServiceSerializer
java.io.IOException
DataException

parseDocumentNode

protected void parseDocumentNode(DataBinder data,
                                 PropertiesTreeNode node)
                          throws DataException,
                                 java.io.IOException
DataException
java.io.IOException

sendResponse

public void sendResponse(DataBinder data,
                         java.lang.StringBuffer buffer)
                  throws java.io.IOException
Specified by:
sendResponse in interface SoapServiceSerializer
java.io.IOException

canAddLocalData

protected boolean canAddLocalData(java.lang.String fieldName,
                                  boolean isAttribute)


(c) 1996-2005  All rights reserved.  Stellent, Inc.