|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opensaml.ws.message.encoder.BaseMessageEncoder
public abstract class BaseMessageEncoder
Base class for message decoders.
Constructor Summary | |
---|---|
BaseMessageEncoder()
Constructor. |
Method Summary | |
---|---|
protected abstract void |
doEncode(MessageContext messageContext)
Encodes the outbound message onto the outbound transport. |
void |
encode(MessageContext messageContext)
Encodes the message in the binding specific manner. |
protected org.w3c.dom.Element |
marshallMessage(org.opensaml.xml.XMLObject message)
Helper method that marshalls the given message. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.opensaml.ws.message.encoder.MessageEncoder |
---|
providesMessageConfidentiality, providesMessageIntegrity |
Constructor Detail |
---|
public BaseMessageEncoder()
Method Detail |
---|
public void encode(MessageContext messageContext) throws MessageEncodingException
encode
in interface MessageEncoder
messageContext
- current message context
MessageEncodingException
- thrown if the problem can not be encodedprotected abstract void doEncode(MessageContext messageContext) throws MessageEncodingException
messageContext
- current message context
MessageEncodingException
- thrown if there is a problem encoding the messageprotected org.w3c.dom.Element marshallMessage(org.opensaml.xml.XMLObject message) throws MessageEncodingException
message
- message the marshall and serialize
MessageEncodingException
- thrown if the give message can not be marshalled into its DOM representation
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |