Overview | Package | Class | Use | Tree | Deprecated | Index | Help
|  | Oracle
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## weblogic.jms.extensions
Interface XMLMessage

    public interface XMLMessage

An XMLMessage is used to send a message containing XML content.

See Also:
  `WLSession.createXMLMessage()`, `WLSession.createXMLMessage(String)`, `WLSession.createXMLMessage(Document)`, `TextMessage`

Method Summary
`Document` | `getDocument()` Return reference to DOM document for this XML message.
`void` | `setDocument(Document document)` Set the content of the message to the given DOM document.

Method Detail

### setDocument

    void setDocument(Document document)
                     throws JMSException

  Set the content of the message to the given DOM document.

  Parameters:
    `document` -
  Throws:
    `JMSException` - If the document cannot be serialized

### getDocument

    Document getDocument()
                         throws JMSException

  Return reference to DOM document for this XML message.

  Throws:
    `JMSException`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Documentation is available at http://edocs.bea.com/wls/docs103 Copyright 1996,2008, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD