org.codehaus.xfire.util.dom
Class DOMOutHandler
java.lang.Object
org.codehaus.xfire.handler.AbstractHandler
org.codehaus.xfire.util.dom.DOMOutHandler
- All Implemented Interfaces:
- Handler
public class DOMOutHandler
- extends AbstractHandler
Creates a org.w3c.dom.Document for the outgoing message and sets the
outgoing message's serializer to a DOMSerializer.
To access the DOM simply do:
OutMessage msg = context.getOutMessage();
Document doc = (Document) msg.getProperty(DOMOutHandler.DOM_MESSAGE);
Fields inherited from interface org.codehaus.xfire.handler.Handler |
ROLE |
Methods inherited from class org.codehaus.xfire.handler.AbstractHandler |
after, before, getAfter, getBefore, getPhase, getRoles, getUnderstoodHeaders, handleFault, setAfter, setBefore, setPhase |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DOM_MESSAGE
public static final String DOM_MESSAGE
- See Also:
- Constant Field Values
DOMOutHandler
public DOMOutHandler()
invoke
public void invoke(MessageContext context)
throws Exception
- Description copied from interface:
Handler
- Invoke a handler. If a fault occurs it will be handled via the
handleFault
method.
- Throws:
Exception
Copyright © 2004-2013. All Rights Reserved.