All Examples  XML Examples  BizTalk Example

Class examples.xml.biztalk.DOMIncomingMessage

java.lang.Object
   |
   +----examples.xml.biztalk.DOMIncomingMessage

public class DOMIncomingMessage
extends Object
implements IncomingMessage
A Biztalk document that has been received by a Biztalk Server. Implements examples.xml.biztalk.IncomingMessage and includes the ability to parse the document using a DOM parser.

Author:
Copyright (c) 2000 by BEA Systems, Inc. All Rights Reserved.

Constructor Index

 o DOMIncomingMessage(String)

Method Index

 o createResponse(String, String)
Not implemented
 o getBizNameSpace()
 o getBodyAsObject()
Returns the DOM Node object repesenting the Body element in the document.
 o getBodyAsXML()
 o getFromAddress()
 o getFromHandle()
 o getFromProcess()
 o getFromReferenceID()
 o getNameSpace()
 o getPayloadAsObject()
Returns the DOM Node object repesenting the first element of the payload in the document.
 o getToAddress()
 o getToHandle()
 o getToProcess()
 o getToReferenceID()
 o getType()
 o getXML()

Constructors

 o DOMIncomingMessage
 public DOMIncomingMessage(String doc)

Methods

 o getXML
 public String getXML() throws BizException
 o getType
 public String getType() throws BizException
 o getNameSpace
 public String getNameSpace() throws BizException
 o getBizNameSpace
 public String getBizNameSpace() throws BizException
 o getFromAddress
 public String getFromAddress() throws BizException
 o getFromReferenceID
 public String getFromReferenceID() throws BizException
 o getFromProcess
 public String getFromProcess() throws BizException
 o getFromHandle
 public String getFromHandle() throws BizException
 o getToAddress
 public String getToAddress() throws BizException
 o getToReferenceID
 public String getToReferenceID() throws BizException
 o getToProcess
 public String getToProcess() throws BizException
 o getToHandle
 public String getToHandle() throws BizException
 o getBodyAsXML
 public String getBodyAsXML() throws BizException
 o getBodyAsObject
 public Object getBodyAsObject() throws BizException
Returns the DOM Node object repesenting the Body element in the document.

Returns:
Node object for Body element
Throws: BizException
thrown if unable to parse or read document
 o getPayloadAsObject
 public Object getPayloadAsObject() throws BizException
Returns the DOM Node object repesenting the first element of the payload in the document.

Returns:
Node object for payload element
Throws: BizException
thrown if unable to parse or read document
 o createResponse
 public OutgoingMessage createResponse(String type,
                                       String name) throws BizException
Not implemented

Throws: BizException
thrown if unable to parse or read document

All Examples  XML Examples  BizTalk Example