|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.activesoap.handler.xmlbeans.XMLBeansHandler
Processes an XML document using XMLBeans
Constructor Summary | |
XMLBeansHandler()
|
Method Summary | |
org.apache.xmlbeans.XmlObject |
getObject()
Returns the body of the SOAP request converted to the native object (POJO or XmlObject or DOMish tree etc) if available or null if the body was not parsed |
protected void |
handleBody(MessageExchange exchange,
org.apache.xmlbeans.XmlObject body,
XMLStreamWriter out)
|
void |
invoke(MessageExchange exchange)
Handles the processing of an XML message which is typically a SOAP body element or header element but could be an entire REST XML service. |
void |
reply(MessageExchange exchange,
org.apache.xmlbeans.XmlObject reply,
XMLStreamWriter out)
Sends the reply object to the output body |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public XMLBeansHandler()
Method Detail |
public void invoke(MessageExchange exchange) throws Exception
Handler
invoke
in interface Handler
exchange
- is the message exchange which can be used to accesss message-specific attributes
to communicate between different handlers in a loose coupled way or to access service specific details
such as the SOAP roles and encodings etc.
Exception
public void reply(MessageExchange exchange, org.apache.xmlbeans.XmlObject reply, XMLStreamWriter out) throws Exception
Exception
public org.apache.xmlbeans.XmlObject getObject()
protected void handleBody(MessageExchange exchange, org.apache.xmlbeans.XmlObject body, XMLStreamWriter out) throws Exception
Exception
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |