|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.dse.base.FormatElement | +--com.ibm.dse.services.ldap.LDAPResponseFormat
This class provides externalization support for the LDAP Access service. It extends from FormatElement and provides support for transferring data returned in response to an LDAP request, from the response models into client contexes. Unlike regular Composer format elements, this class does not utilize the format(Context) method.
Fields inherited from class com.ibm.dse.base.FormatElement |
dataElementName,
name |
Constructor Summary | |
LDAPResponseFormat()
LDAPResponseFormat constructor. |
Method Summary | |
java.lang.String |
format(DataElement element)
Format abstract class. |
MapFormat |
getDataMap()
Returns the data mapping defined for this format element (in support if externalization). |
java.lang.String |
getName()
Returns the name of this format element. |
java.lang.String |
getResponseType()
Returns the response type for this format. |
java.lang.Object |
initializeFrom(Tag aTag)
Initializes this format elements state from externalized data. |
void |
setDataMap(MapFormat newDataMap)
Sets the data mappings used by this format element (in support of externalization). |
void |
setName(java.lang.String newName)
Sets the names of this format element. |
void |
setResponseType(java.lang.String newResponseType)
Sets the response type of this format element. |
Vector |
toStrings()
Returns a vector containing the string representation of the SGML tags used to externalize this object. |
void |
unformat(Context context,
LDAPResponse response)
Transfers data stored in the supplied response model object into the supplied context, according to the data mappings defined for this format element. |
void |
unformat(Operation operation,
LDAPResponse response)
Functionally equivalent to unformat(operation.getContext, response). |
DataElement |
unformat(java.lang.String str,
DataElement element)
Unformat abstract method. |
Methods inherited from class com.ibm.dse.base.FormatElement |
exceptionInfo,
externalizer,
extract,
format,
format,
getDataElementName,
getExternalizer,
getTagName,
isCacheable,
isConstant,
readExternal,
readExternal,
readObject,
reinitialize,
removeExternal,
rootDecorated,
setDataElementName,
setExternalizer,
setSize,
toString,
toTags,
unformat,
unformat,
writeExternal,
writeExternal |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Constructor Detail |
public LDAPResponseFormat()
Method Detail |
public java.lang.String format(DataElement element)
aDataElement
- DataElementpublic MapFormat getDataMap()
public java.lang.String getName()
public java.lang.String getResponseType()
public java.lang.Object initializeFrom(Tag aTag) throws java.io.IOException, DSEException
aTag
- com.ibm.dse.base.Tagpublic void setDataMap(MapFormat newDataMap)
newDataMap
- com.ibm.dse.services.ldap.Mappublic void setName(java.lang.String newName)
newName
- java.lang.Stringpublic void setResponseType(java.lang.String newResponseType)
newResponseType
- java.lang.Stringpublic Vector toStrings()
public void unformat(Context context, LDAPResponse response) throws DSEInvalidRequestException, DSEInvalidArgumentException
context
- com.ibm.dse.base.Contextresponse
- com.ibm.dse.services.ldap.model.LDAPResponsepublic void unformat(Operation operation, LDAPResponse response) throws DSEInvalidRequestException, DSEInvalidArgumentException
operation
- com.ibm.dse.base.Operationresponse
- com.ibm.dse.services.ldap.model.LDAPResponsepublic DataElement unformat(java.lang.String str, DataElement element)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |