|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Standard transformer service provider interface. Transforms demarshaled containment trees of compiler generated stubs into Message implementations in both directions: marshaling and demarshaling.
Method Summary | |
java.lang.Object |
transform(Message a_msg)
Transforms the agnostic Message representation of an LDAPv3 ASN.1 message envelope into a compiler generated and BER lib specific stub containment tree. |
Message |
transform(java.lang.Object a_obj)
Transforms the containment tree rooted at some compiler stub object into a Message implementing object instance. |
Methods inherited from interface org.apache.directory.shared.ldap.message.spi.ProviderObject |
getProvider |
Method Detail |
public Message transform(java.lang.Object a_obj) throws ProviderException
a_obj
- the compiler specific root object holding the containment tree
for the LDAPv3 message envelope. For example for the Snacc
provider this object would be an instance of the LDAPMessage
stub class.
ProviderException
- to indicate an error while attempting to transform
library/compiler specific message envelope into agnostic
message. Provider specific exceptions encountered while
transforming can be held within this subclass of
MultiException.public java.lang.Object transform(Message a_msg) throws ProviderException
a_msg
- The Message object used to generate the compiler stub based
containment tree.
ProviderException
- to indicate an error while attempting to transform
library/compiler specific message envelope into agnostic
message. Provider specific exceptions encountered while
transforming can be held within this subclass of
MultiException.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |