blob: 47d265000cf94a82072ff462cf599c594cadb5a1 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_22) on Tue Apr 17 18:34:01 IST 2012 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
MessageImpl (Apache Axis2 - Root 1.6.2 API)
</TITLE>
<META NAME="date" CONTENT="2012-04-17">
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../../stylesheet.css" TITLE="Style">
<SCRIPT type="text/javascript">
function windowTitle()
{
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="MessageImpl (Apache Axis2 - Root 1.6.2 API)";
}
}
</SCRIPT>
<NOSCRIPT>
</NOSCRIPT>
</HEAD>
<BODY BGCOLOR="white" onload="windowTitle();">
<HR>
<!-- ========= START OF TOP NAVBAR ======= -->
<A NAME="navbar_top"><!-- --></A>
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/MessageImpl.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../../../org/apache/axis2/jaxws/message/impl/MessageFactoryImpl.html" title="class in org.apache.axis2.jaxws.message.impl"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../../../org/apache/axis2/jaxws/message/impl/XMLPartBase.html" title="class in org.apache.axis2.jaxws.message.impl"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../../../index.html?org/apache/axis2/jaxws/message/impl/MessageImpl.html" target="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="MessageImpl.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
&nbsp;<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_top"></A>
<!-- ========= END OF TOP NAVBAR ========= -->
<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
org.apache.axis2.jaxws.message.impl</FONT>
<BR>
Class MessageImpl</H2>
<PRE>
<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A>
<IMG SRC="../../../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.axis2.jaxws.message.impl.MessageImpl</B>
</PRE>
<DL>
<DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../../../org/apache/axis2/jaxws/message/Message.html" title="interface in org.apache.axis2.jaxws.message">Message</A>, <A HREF="../../../../../../org/apache/axis2/jaxws/message/XMLPart.html" title="interface in org.apache.axis2.jaxws.message">XMLPart</A></DD>
</DL>
<HR>
<DL>
<DT><PRE>public class <B>MessageImpl</B><DT>extends <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A><DT>implements <A HREF="../../../../../../org/apache/axis2/jaxws/message/Message.html" title="interface in org.apache.axis2.jaxws.message">Message</A></DL>
</PRE>
<P>
MessageImpl
A Message is an XML part + Attachments.
Most of the implementation delegates to the XMLPart implementation.
NOTE: For XML/HTTP (REST), a SOAP 1.1. Envelope is built and the rest payload is placed
in the body. This purposely mimics the Axis2 implementation.
<P>
<P>
<HR>
<P>
<!-- ========== METHOD SUMMARY =========== -->
<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Method Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/apache/axis2/jaxws/message/impl/MessageImpl.html#addDataHandler(javax.activation.DataHandler, java.lang.String)">addDataHandler</A></B>(<A HREF="http://java.sun.com/javaee/5/docs/api/javax/activation/DataHandler.html?is-external=true" title="class or interface in javax.activation">DataHandler</A>&nbsp;dh,
<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;id)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Add Attachment</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/apache/axis2/jaxws/message/impl/MessageImpl.html#appendHeaderBlock(java.lang.String, java.lang.String, org.apache.axis2.jaxws.message.Block)">appendHeaderBlock</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;namespace,
<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;localPart,
<A HREF="../../../../../../org/apache/axis2/jaxws/message/Block.html" title="interface in org.apache.axis2.jaxws.message">Block</A>&nbsp;block)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;appendHeaderBlock
Append the block to the list of header blocks.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/apache/axis2/jaxws/message/impl/MessageImpl.html#close()">close</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Used primarily to ensure the parser is forwarded to the end so it can be closed.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;org.apache.axiom.om.OMElement</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/apache/axis2/jaxws/message/impl/MessageImpl.html#getAsOMElement()">getAsOMElement</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;getAsOMElement Get the xml part as a read/write OM...note this returns an OM SOAPEnvelope for
all protocols...even REST</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="http://java.sun.com/javaee/5/docs/api/javax/xml/soap/SOAPEnvelope.html?is-external=true" title="class or interface in javax.xml.soap">SOAPEnvelope</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/apache/axis2/jaxws/message/impl/MessageImpl.html#getAsSOAPEnvelope()">getAsSOAPEnvelope</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;getAsEnvelope Get the xml part as a read/write SOAPEnvelope</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="http://java.sun.com/javaee/5/docs/api/javax/xml/soap/SOAPMessage.html?is-external=true" title="class or interface in javax.xml.soap">SOAPMessage</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/apache/axis2/jaxws/message/impl/MessageImpl.html#getAsSOAPMessage()">getAsSOAPMessage</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;getAsSOAPMessage Get the xml part as a read/write SOAPEnvelope</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/apache/axis2/jaxws/message/impl/MessageImpl.html#getAttachmentID(int)">getAttachmentID</A></B>(int&nbsp;index)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the indicated (non-soap part) attachment id</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/apache/axis2/jaxws/message/impl/MessageImpl.html#getAttachmentID(java.lang.String)">getAttachmentID</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;partName)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the indicated (non-soap part) attachment id</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A>&lt;<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&gt;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/apache/axis2/jaxws/message/impl/MessageImpl.html#getAttachmentIDs()">getAttachmentIDs</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the list of attachment content ids for the message</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../../../org/apache/axis2/jaxws/message/Block.html" title="interface in org.apache.axis2.jaxws.message">Block</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/apache/axis2/jaxws/message/impl/MessageImpl.html#getBodyBlock(int, java.lang.Object, org.apache.axis2.jaxws.message.factory.BlockFactory)">getBodyBlock</A></B>(int&nbsp;index,
<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>&nbsp;context,
<A HREF="../../../../../../org/apache/axis2/jaxws/message/factory/BlockFactory.html" title="interface in org.apache.axis2.jaxws.message.factory">BlockFactory</A>&nbsp;blockFactory)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;getBodyBlock Get the body block at the specificed index.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../../../org/apache/axis2/jaxws/message/Block.html" title="interface in org.apache.axis2.jaxws.message">Block</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/apache/axis2/jaxws/message/impl/MessageImpl.html#getBodyBlock(java.lang.Object, org.apache.axis2.jaxws.message.factory.BlockFactory)">getBodyBlock</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>&nbsp;context,
<A HREF="../../../../../../org/apache/axis2/jaxws/message/factory/BlockFactory.html" title="interface in org.apache.axis2.jaxws.message.factory">BlockFactory</A>&nbsp;blockFactory)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;getBodyBlock Get the single Body Block.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A>&lt;<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/javax/xml/namespace/QName.html?is-external=true" title="class or interface in javax.xml.namespace">QName</A>&gt;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/apache/axis2/jaxws/message/impl/MessageImpl.html#getBodyBlockQNames()">getBodyBlockQNames</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;getBodyBlockQNames
Calling this method will cache the OM.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="http://java.sun.com/javaee/5/docs/api/javax/activation/DataHandler.html?is-external=true" title="class or interface in javax.activation">DataHandler</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/apache/axis2/jaxws/message/impl/MessageImpl.html#getDataHandler(java.lang.String)">getDataHandler</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;cid)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the attachment identified by the contentID</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../../../org/apache/axis2/jaxws/message/Block.html" title="interface in org.apache.axis2.jaxws.message">Block</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/apache/axis2/jaxws/message/impl/MessageImpl.html#getHeaderBlock(java.lang.String, java.lang.String, java.lang.Object, org.apache.axis2.jaxws.message.factory.BlockFactory)">getHeaderBlock</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;namespace,
<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;localPart,
<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>&nbsp;context,
<A HREF="../../../../../../org/apache/axis2/jaxws/message/factory/BlockFactory.html" title="interface in org.apache.axis2.jaxws.message.factory">BlockFactory</A>&nbsp;blockFactory)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;getHeaderBlock
Get the firstheader block with the specified name.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A>&lt;<A HREF="../../../../../../org/apache/axis2/jaxws/message/Block.html" title="interface in org.apache.axis2.jaxws.message">Block</A>&gt;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/apache/axis2/jaxws/message/impl/MessageImpl.html#getHeaderBlocks(java.lang.String, java.lang.String, java.lang.Object, org.apache.axis2.jaxws.message.factory.BlockFactory, org.apache.axiom.soap.RolePlayer)">getHeaderBlocks</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;namespace,
<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;localPart,
<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>&nbsp;context,
<A HREF="../../../../../../org/apache/axis2/jaxws/message/factory/BlockFactory.html" title="interface in org.apache.axis2.jaxws.message.factory">BlockFactory</A>&nbsp;blockFactory,
org.apache.axiom.soap.RolePlayer&nbsp;rolePlayer)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;getHeaderBlock
Get the header blocks with the specified name
The BlockFactory and object context
are passed in to help create the proper kind of block.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</A>&lt;<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/javax/xml/namespace/QName.html?is-external=true" title="class or interface in javax.xml.namespace">QName</A>&gt;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/apache/axis2/jaxws/message/impl/MessageImpl.html#getHeaderQNames()">getHeaderQNames</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/apache/axis2/jaxws/message/impl/MessageImpl.html#getIndirection()">getIndirection</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get indirection.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../../../org/apache/axis2/jaxws/core/MessageContext.html" title="class in org.apache.axis2.jaxws.core">MessageContext</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/apache/axis2/jaxws/message/impl/MessageImpl.html#getMessageContext()">getMessageContext</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/apache/axis2/jaxws/message/impl/MessageImpl.html#getMimeHeaders()">getMimeHeaders</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/apache/axis2/jaxws/message/impl/MessageImpl.html#getNumBodyBlocks()">getNumBodyBlocks</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;getNumBodyBlocks Calling this method will cache the OM.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/apache/axis2/jaxws/message/impl/MessageImpl.html#getNumHeaderBlocks()">getNumHeaderBlocks</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;getNumHeaderBlocks</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/javax/xml/namespace/QName.html?is-external=true" title="class or interface in javax.xml.namespace">QName</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/apache/axis2/jaxws/message/impl/MessageImpl.html#getOperationElement()">getOperationElement</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../../../org/apache/axis2/jaxws/message/Message.html" title="interface in org.apache.axis2.jaxws.message">Message</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/apache/axis2/jaxws/message/impl/MessageImpl.html#getParent()">getParent</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;getParent Get the Message object that this XMLPart is attached to, if it is attached to one
at all.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../../../org/apache/axis2/jaxws/message/Protocol.html" title="enum in org.apache.axis2.jaxws.message">Protocol</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/apache/axis2/jaxws/message/impl/MessageImpl.html#getProtocol()">getProtocol</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the protocol for this Message (soap11, soap12, etc.)</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="http://java.sun.com/javaee/5/docs/api/javax/jws/soap/SOAPBinding.Style.html?is-external=true" title="class or interface in javax.jws.soap">SOAPBinding.Style</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/apache/axis2/jaxws/message/impl/MessageImpl.html#getStyle()">getStyle</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/apache/axis2/jaxws/message/impl/MessageImpl.html#getValue(java.lang.Object, org.apache.axis2.jaxws.message.factory.BlockFactory)">getValue</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>&nbsp;context,
<A HREF="../../../../../../org/apache/axis2/jaxws/message/factory/BlockFactory.html" title="interface in org.apache.axis2.jaxws.message.factory">BlockFactory</A>&nbsp;blockFactory)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../../../org/apache/axis2/jaxws/message/XMLFault.html" title="class in org.apache.axis2.jaxws.message">XMLFault</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/apache/axis2/jaxws/message/impl/MessageImpl.html#getXMLFault()">getXMLFault</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If the XMLPart represents a fault, an XMLFault is returned which describes the fault in a
protocol agnostic manner</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/apache/axis2/jaxws/message/impl/MessageImpl.html#getXMLPartContentType()">getXMLPartContentType</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The representation of the XMLPart may be in a number of different forms.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="http://java.sun.com/javaee/5/docs/api/javax/xml/stream/XMLStreamReader.html?is-external=true" title="class or interface in javax.xml.stream">XMLStreamReader</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/apache/axis2/jaxws/message/impl/MessageImpl.html#getXMLStreamReader(boolean)">getXMLStreamReader</A></B>(boolean&nbsp;consume)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the XMLStreamReader represented by this Message for the xml part</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/apache/axis2/jaxws/message/impl/MessageImpl.html#isConsumed()">isConsumed</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;isConsumed Return true if the part is consumed.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/apache/axis2/jaxws/message/impl/MessageImpl.html#isDoingSWA()">isDoingSWA</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/apache/axis2/jaxws/message/impl/MessageImpl.html#isFault()">isFault</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Determines whether the XMLPart represents a Fault</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/apache/axis2/jaxws/message/impl/MessageImpl.html#isMTOMEnabled()">isMTOMEnabled</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A message is MTOM enabled if the
associated dispatch/client/impl/provider has a binding type
that enables MTOM.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/apache/axis2/jaxws/message/impl/MessageImpl.html#isPostPivot()">isPostPivot</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/apache/axis2/jaxws/message/impl/MessageImpl.html#outputTo(javax.xml.stream.XMLStreamWriter, boolean)">outputTo</A></B>(<A HREF="http://java.sun.com/javaee/5/docs/api/javax/xml/stream/XMLStreamWriter.html?is-external=true" title="class or interface in javax.xml.stream">XMLStreamWriter</A>&nbsp;writer,
boolean&nbsp;consume)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Write out the Message</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/apache/axis2/jaxws/message/impl/MessageImpl.html#removeBodyBlock(int)">removeBodyBlock</A></B>(int&nbsp;index)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;removeBodyBlock Removes the indicated BodyBlock</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="http://java.sun.com/javaee/5/docs/api/javax/activation/DataHandler.html?is-external=true" title="class or interface in javax.activation">DataHandler</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/apache/axis2/jaxws/message/impl/MessageImpl.html#removeDataHandler(java.lang.String)">removeDataHandler</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;cid)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the attachment and remove it from the Message</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/apache/axis2/jaxws/message/impl/MessageImpl.html#removeHeaderBlock(java.lang.String, java.lang.String)">removeHeaderBlock</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;namespace,
<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;localPart)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;removeHeaderBlock
Removes all header blocks with this namespace/localpart</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/apache/axis2/jaxws/message/impl/MessageImpl.html#setBodyBlock(org.apache.axis2.jaxws.message.Block)">setBodyBlock</A></B>(<A HREF="../../../../../../org/apache/axis2/jaxws/message/Block.html" title="interface in org.apache.axis2.jaxws.message">Block</A>&nbsp;block)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;setBodyBlock Set this as block as the single block for the message.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/apache/axis2/jaxws/message/impl/MessageImpl.html#setBodyBlock(int, org.apache.axis2.jaxws.message.Block)">setBodyBlock</A></B>(int&nbsp;index,
<A HREF="../../../../../../org/apache/axis2/jaxws/message/Block.html" title="interface in org.apache.axis2.jaxws.message">Block</A>&nbsp;block)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;setBodyBlock Set the block at the specified index Once set, the Message owns the block.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/apache/axis2/jaxws/message/impl/MessageImpl.html#setDoingSWA(boolean)">setDoingSWA</A></B>(boolean&nbsp;value)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Indicate that an SWA DataHandler was added to the message.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/apache/axis2/jaxws/message/impl/MessageImpl.html#setHeaderBlock(java.lang.String, java.lang.String, org.apache.axis2.jaxws.message.Block)">setHeaderBlock</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;namespace,
<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;localPart,
<A HREF="../../../../../../org/apache/axis2/jaxws/message/Block.html" title="interface in org.apache.axis2.jaxws.message">Block</A>&nbsp;block)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;setHeaderBlock
replaces the first existing header block with this new block.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/apache/axis2/jaxws/message/impl/MessageImpl.html#setIndirection(int)">setIndirection</A></B>(int&nbsp;indirection)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set indirection.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/apache/axis2/jaxws/message/impl/MessageImpl.html#setMessageContext(org.apache.axis2.jaxws.core.MessageContext)">setMessageContext</A></B>(<A HREF="../../../../../../org/apache/axis2/jaxws/core/MessageContext.html" title="class in org.apache.axis2.jaxws.core">MessageContext</A>&nbsp;messageContext)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;JAX-WS Message Context that owns the Message</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/apache/axis2/jaxws/message/impl/MessageImpl.html#setMimeHeaders(java.util.Map)">setMimeHeaders</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A>&nbsp;map)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the transport headers</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/apache/axis2/jaxws/message/impl/MessageImpl.html#setMTOMEnabled(boolean)">setMTOMEnabled</A></B>(boolean&nbsp;b)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A message is MTOM enabled if the
associated dispatch/client/impl/provider has a binding type
that enables MTOM.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/apache/axis2/jaxws/message/impl/MessageImpl.html#setOperationElement(javax.xml.namespace.QName)">setOperationElement</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/javax/xml/namespace/QName.html?is-external=true" title="class or interface in javax.xml.namespace">QName</A>&nbsp;operationQName)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the operation element qname.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/apache/axis2/jaxws/message/impl/MessageImpl.html#setParent(org.apache.axis2.jaxws.message.Message)">setParent</A></B>(<A HREF="../../../../../../org/apache/axis2/jaxws/message/Message.html" title="interface in org.apache.axis2.jaxws.message">Message</A>&nbsp;msg)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;setParent Set the Message object that will hold this XMLPart</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/apache/axis2/jaxws/message/impl/MessageImpl.html#setPostPivot()">setPostPivot</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Indicate that this message is passed the pivot point.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/apache/axis2/jaxws/message/impl/MessageImpl.html#setStyle(javax.jws.soap.SOAPBinding.Style)">setStyle</A></B>(<A HREF="http://java.sun.com/javaee/5/docs/api/javax/jws/soap/SOAPBinding.Style.html?is-external=true" title="class or interface in javax.jws.soap">SOAPBinding.Style</A>&nbsp;style)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the Style.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/apache/axis2/jaxws/message/impl/MessageImpl.html#setXMLFault(org.apache.axis2.jaxws.message.XMLFault)">setXMLFault</A></B>(<A HREF="../../../../../../org/apache/axis2/jaxws/message/XMLFault.html" title="class in org.apache.axis2.jaxws.message">XMLFault</A>&nbsp;xmlFault)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Change the XMLPart so that it represents the fault described by XMLFault</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/apache/axis2/jaxws/message/impl/MessageImpl.html#traceString(java.lang.String)">traceString</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;indent)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get a traceString...the trace string dumps the contents of the Block without forcing an
underlying ill-performant transformation of the message.</TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD>
</TR>
</TABLE>
&nbsp;
<P>
<!-- ============ METHOD DETAIL ========== -->
<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Method Detail</B></FONT></TH>
</TR>
</TABLE>
<A NAME="getAsSOAPMessage()"><!-- --></A><H3>
getAsSOAPMessage</H3>
<PRE>
public <A HREF="http://java.sun.com/javaee/5/docs/api/javax/xml/soap/SOAPMessage.html?is-external=true" title="class or interface in javax.xml.soap">SOAPMessage</A> <B>getAsSOAPMessage</B>()
throws <A HREF="http://java.sun.com/javaee/5/docs/api/javax/xml/ws/WebServiceException.html?is-external=true" title="class or interface in javax.xml.ws">WebServiceException</A></PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../../org/apache/axis2/jaxws/message/Message.html#getAsSOAPMessage()">Message</A></CODE></B></DD>
<DD>getAsSOAPMessage Get the xml part as a read/write SOAPEnvelope
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../org/apache/axis2/jaxws/message/Message.html#getAsSOAPMessage()">getAsSOAPMessage</A></CODE> in interface <CODE><A HREF="../../../../../../org/apache/axis2/jaxws/message/Message.html" title="interface in org.apache.axis2.jaxws.message">Message</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>SOAPEnvelope
<DT><B>Throws:</B>
<DD><CODE><A HREF="http://java.sun.com/javaee/5/docs/api/javax/xml/ws/WebServiceException.html?is-external=true" title="class or interface in javax.xml.ws">WebServiceException</A></CODE></DL>
</DD>
</DL>
<HR>
<A NAME="getAttachmentID(int)"><!-- --></A><H3>
getAttachmentID</H3>
<PRE>
public <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getAttachmentID</B>(int&nbsp;index)</PRE>
<DL>
<DD>Get the indicated (non-soap part) attachment id
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../org/apache/axis2/jaxws/message/Message.html#getAttachmentID(int)">getAttachmentID</A></CODE> in interface <CODE><A HREF="../../../../../../org/apache/axis2/jaxws/message/Message.html" title="interface in org.apache.axis2.jaxws.message">Message</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>index</CODE> -
<DT><B>Returns:</B><DD>CID or null if not present</DL>
</DD>
</DL>
<HR>
<A NAME="getAttachmentID(java.lang.String)"><!-- --></A><H3>
getAttachmentID</H3>
<PRE>
public <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getAttachmentID</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;partName)</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../../org/apache/axis2/jaxws/message/Message.html#getAttachmentID(java.lang.String)">Message</A></CODE></B></DD>
<DD>Get the indicated (non-soap part) attachment id
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../org/apache/axis2/jaxws/message/Message.html#getAttachmentID(java.lang.String)">getAttachmentID</A></CODE> in interface <CODE><A HREF="../../../../../../org/apache/axis2/jaxws/message/Message.html" title="interface in org.apache.axis2.jaxws.message">Message</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>partName</CODE> - (WS-I indicates that SWA attachments have a partName prefix)
<DT><B>Returns:</B><DD>CID or null if not present</DL>
</DD>
</DL>
<HR>
<A NAME="getValue(java.lang.Object, org.apache.axis2.jaxws.message.factory.BlockFactory)"><!-- --></A><H3>
getValue</H3>
<PRE>
public <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> <B>getValue</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>&nbsp;context,
<A HREF="../../../../../../org/apache/axis2/jaxws/message/factory/BlockFactory.html" title="interface in org.apache.axis2.jaxws.message.factory">BlockFactory</A>&nbsp;blockFactory)
throws <A HREF="http://java.sun.com/javaee/5/docs/api/javax/xml/ws/WebServiceException.html?is-external=true" title="class or interface in javax.xml.ws">WebServiceException</A></PRE>
<DL>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../org/apache/axis2/jaxws/message/Message.html#getValue(java.lang.Object, org.apache.axis2.jaxws.message.factory.BlockFactory)">getValue</A></CODE> in interface <CODE><A HREF="../../../../../../org/apache/axis2/jaxws/message/Message.html" title="interface in org.apache.axis2.jaxws.message">Message</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Throws:</B>
<DD><CODE><A HREF="http://java.sun.com/javaee/5/docs/api/javax/xml/ws/WebServiceException.html?is-external=true" title="class or interface in javax.xml.ws">WebServiceException</A></CODE></DL>
</DD>
</DL>
<HR>
<A NAME="getAttachmentIDs()"><!-- --></A><H3>
getAttachmentIDs</H3>
<PRE>
public <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A>&lt;<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&gt; <B>getAttachmentIDs</B>()</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../../org/apache/axis2/jaxws/message/Message.html#getAttachmentIDs()">Message</A></CODE></B></DD>
<DD>Get the list of attachment content ids for the message
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../org/apache/axis2/jaxws/message/Message.html#getAttachmentIDs()">getAttachmentIDs</A></CODE> in interface <CODE><A HREF="../../../../../../org/apache/axis2/jaxws/message/Message.html" title="interface in org.apache.axis2.jaxws.message">Message</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>List<String></DL>
</DD>
</DL>
<HR>
<A NAME="getDataHandler(java.lang.String)"><!-- --></A><H3>
getDataHandler</H3>
<PRE>
public <A HREF="http://java.sun.com/javaee/5/docs/api/javax/activation/DataHandler.html?is-external=true" title="class or interface in javax.activation">DataHandler</A> <B>getDataHandler</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;cid)</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../../org/apache/axis2/jaxws/message/Message.html#getDataHandler(java.lang.String)">Message</A></CODE></B></DD>
<DD>Get the attachment identified by the contentID
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../org/apache/axis2/jaxws/message/Message.html#getDataHandler(java.lang.String)">getDataHandler</A></CODE> in interface <CODE><A HREF="../../../../../../org/apache/axis2/jaxws/message/Message.html" title="interface in org.apache.axis2.jaxws.message">Message</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD></DL>
</DD>
</DL>
<HR>
<A NAME="removeDataHandler(java.lang.String)"><!-- --></A><H3>
removeDataHandler</H3>
<PRE>
public <A HREF="http://java.sun.com/javaee/5/docs/api/javax/activation/DataHandler.html?is-external=true" title="class or interface in javax.activation">DataHandler</A> <B>removeDataHandler</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;cid)</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../../org/apache/axis2/jaxws/message/Message.html#removeDataHandler(java.lang.String)">Message</A></CODE></B></DD>
<DD>Get the attachment and remove it from the Message
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../org/apache/axis2/jaxws/message/Message.html#removeDataHandler(java.lang.String)">removeDataHandler</A></CODE> in interface <CODE><A HREF="../../../../../../org/apache/axis2/jaxws/message/Message.html" title="interface in org.apache.axis2.jaxws.message">Message</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getProtocol()"><!-- --></A><H3>
getProtocol</H3>
<PRE>
public <A HREF="../../../../../../org/apache/axis2/jaxws/message/Protocol.html" title="enum in org.apache.axis2.jaxws.message">Protocol</A> <B>getProtocol</B>()</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../../org/apache/axis2/jaxws/message/Message.html#getProtocol()">Message</A></CODE></B></DD>
<DD>Get the protocol for this Message (soap11, soap12, etc.)
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../org/apache/axis2/jaxws/message/Message.html#getProtocol()">getProtocol</A></CODE> in interface <CODE><A HREF="../../../../../../org/apache/axis2/jaxws/message/Message.html" title="interface in org.apache.axis2.jaxws.message">Message</A></CODE><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../org/apache/axis2/jaxws/message/XMLPart.html#getProtocol()">getProtocol</A></CODE> in interface <CODE><A HREF="../../../../../../org/apache/axis2/jaxws/message/XMLPart.html" title="interface in org.apache.axis2.jaxws.message">XMLPart</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>Protocl</DL>
</DD>
</DL>
<HR>
<A NAME="getAsOMElement()"><!-- --></A><H3>
getAsOMElement</H3>
<PRE>
public org.apache.axiom.om.OMElement <B>getAsOMElement</B>()
throws <A HREF="http://java.sun.com/javaee/5/docs/api/javax/xml/ws/WebServiceException.html?is-external=true" title="class or interface in javax.xml.ws">WebServiceException</A></PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../../org/apache/axis2/jaxws/message/XMLPart.html#getAsOMElement()">XMLPart</A></CODE></B></DD>
<DD>getAsOMElement Get the xml part as a read/write OM...note this returns an OM SOAPEnvelope for
all protocols...even REST
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../org/apache/axis2/jaxws/message/XMLPart.html#getAsOMElement()">getAsOMElement</A></CODE> in interface <CODE><A HREF="../../../../../../org/apache/axis2/jaxws/message/XMLPart.html" title="interface in org.apache.axis2.jaxws.message">XMLPart</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>OMElement
<DT><B>Throws:</B>
<DD><CODE><A HREF="http://java.sun.com/javaee/5/docs/api/javax/xml/ws/WebServiceException.html?is-external=true" title="class or interface in javax.xml.ws">WebServiceException</A></CODE></DL>
</DD>
</DL>
<HR>
<A NAME="getAsSOAPEnvelope()"><!-- --></A><H3>
getAsSOAPEnvelope</H3>
<PRE>
public <A HREF="http://java.sun.com/javaee/5/docs/api/javax/xml/soap/SOAPEnvelope.html?is-external=true" title="class or interface in javax.xml.soap">SOAPEnvelope</A> <B>getAsSOAPEnvelope</B>()
throws <A HREF="http://java.sun.com/javaee/5/docs/api/javax/xml/ws/WebServiceException.html?is-external=true" title="class or interface in javax.xml.ws">WebServiceException</A></PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../../org/apache/axis2/jaxws/message/XMLPart.html#getAsSOAPEnvelope()">XMLPart</A></CODE></B></DD>
<DD>getAsEnvelope Get the xml part as a read/write SOAPEnvelope
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../org/apache/axis2/jaxws/message/XMLPart.html#getAsSOAPEnvelope()">getAsSOAPEnvelope</A></CODE> in interface <CODE><A HREF="../../../../../../org/apache/axis2/jaxws/message/XMLPart.html" title="interface in org.apache.axis2.jaxws.message">XMLPart</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>SOAPEnvelope
<DT><B>Throws:</B>
<DD><CODE><A HREF="http://java.sun.com/javaee/5/docs/api/javax/xml/ws/WebServiceException.html?is-external=true" title="class or interface in javax.xml.ws">WebServiceException</A></CODE></DL>
</DD>
</DL>
<HR>
<A NAME="getBodyBlock(int, java.lang.Object, org.apache.axis2.jaxws.message.factory.BlockFactory)"><!-- --></A><H3>
getBodyBlock</H3>
<PRE>
public <A HREF="../../../../../../org/apache/axis2/jaxws/message/Block.html" title="interface in org.apache.axis2.jaxws.message">Block</A> <B>getBodyBlock</B>(int&nbsp;index,
<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>&nbsp;context,
<A HREF="../../../../../../org/apache/axis2/jaxws/message/factory/BlockFactory.html" title="interface in org.apache.axis2.jaxws.message.factory">BlockFactory</A>&nbsp;blockFactory)
throws <A HREF="http://java.sun.com/javaee/5/docs/api/javax/xml/ws/WebServiceException.html?is-external=true" title="class or interface in javax.xml.ws">WebServiceException</A></PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../../org/apache/axis2/jaxws/message/XMLPart.html#getBodyBlock(int, java.lang.Object, org.apache.axis2.jaxws.message.factory.BlockFactory)">XMLPart</A></CODE></B></DD>
<DD>getBodyBlock Get the body block at the specificed index. The BlockFactory and object context are
passed in to help create the proper kind of block. Calling this method will cache the OM. Avoid
it in performant situations.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../org/apache/axis2/jaxws/message/XMLPart.html#getBodyBlock(int, java.lang.Object, org.apache.axis2.jaxws.message.factory.BlockFactory)">getBodyBlock</A></CODE> in interface <CODE><A HREF="../../../../../../org/apache/axis2/jaxws/message/XMLPart.html" title="interface in org.apache.axis2.jaxws.message">XMLPart</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>Block or null
<DT><B>Throws:</B>
<DD><CODE><A HREF="http://java.sun.com/javaee/5/docs/api/javax/xml/ws/WebServiceException.html?is-external=true" title="class or interface in javax.xml.ws">WebServiceException</A></CODE><DT><B>See Also:</B><DD><CODE>getBodyBlock</CODE></DL>
</DD>
</DL>
<HR>
<A NAME="getHeaderBlock(java.lang.String, java.lang.String, java.lang.Object, org.apache.axis2.jaxws.message.factory.BlockFactory)"><!-- --></A><H3>
getHeaderBlock</H3>
<PRE>
public <A HREF="../../../../../../org/apache/axis2/jaxws/message/Block.html" title="interface in org.apache.axis2.jaxws.message">Block</A> <B>getHeaderBlock</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;namespace,
<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;localPart,
<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>&nbsp;context,
<A HREF="../../../../../../org/apache/axis2/jaxws/message/factory/BlockFactory.html" title="interface in org.apache.axis2.jaxws.message.factory">BlockFactory</A>&nbsp;blockFactory)
throws <A HREF="http://java.sun.com/javaee/5/docs/api/javax/xml/ws/WebServiceException.html?is-external=true" title="class or interface in javax.xml.ws">WebServiceException</A></PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../../org/apache/axis2/jaxws/message/XMLPart.html#getHeaderBlock(java.lang.String, java.lang.String, java.lang.Object, org.apache.axis2.jaxws.message.factory.BlockFactory)">XMLPart</A></CODE></B></DD>
<DD>getHeaderBlock
Get the firstheader block with the specified name.
The BlockFactory and object context
are passed in to help create the proper kind of block.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../org/apache/axis2/jaxws/message/XMLPart.html#getHeaderBlock(java.lang.String, java.lang.String, java.lang.Object, org.apache.axis2.jaxws.message.factory.BlockFactory)">getHeaderBlock</A></CODE> in interface <CODE><A HREF="../../../../../../org/apache/axis2/jaxws/message/XMLPart.html" title="interface in org.apache.axis2.jaxws.message">XMLPart</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>Block
<DT><B>Throws:</B>
<DD><CODE><A HREF="http://java.sun.com/javaee/5/docs/api/javax/xml/ws/WebServiceException.html?is-external=true" title="class or interface in javax.xml.ws">WebServiceException</A></CODE></DL>
</DD>
</DL>
<HR>
<A NAME="getHeaderBlocks(java.lang.String, java.lang.String, java.lang.Object, org.apache.axis2.jaxws.message.factory.BlockFactory, org.apache.axiom.soap.RolePlayer)"><!-- --></A><H3>
getHeaderBlocks</H3>
<PRE>
public <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A>&lt;<A HREF="../../../../../../org/apache/axis2/jaxws/message/Block.html" title="interface in org.apache.axis2.jaxws.message">Block</A>&gt; <B>getHeaderBlocks</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;namespace,
<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;localPart,
<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>&nbsp;context,
<A HREF="../../../../../../org/apache/axis2/jaxws/message/factory/BlockFactory.html" title="interface in org.apache.axis2.jaxws.message.factory">BlockFactory</A>&nbsp;blockFactory,
org.apache.axiom.soap.RolePlayer&nbsp;rolePlayer)
throws <A HREF="http://java.sun.com/javaee/5/docs/api/javax/xml/ws/WebServiceException.html?is-external=true" title="class or interface in javax.xml.ws">WebServiceException</A></PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../../org/apache/axis2/jaxws/message/XMLPart.html#getHeaderBlocks(java.lang.String, java.lang.String, java.lang.Object, org.apache.axis2.jaxws.message.factory.BlockFactory, org.apache.axiom.soap.RolePlayer)">XMLPart</A></CODE></B></DD>
<DD>getHeaderBlock
Get the header blocks with the specified name
The BlockFactory and object context
are passed in to help create the proper kind of block.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../org/apache/axis2/jaxws/message/XMLPart.html#getHeaderBlocks(java.lang.String, java.lang.String, java.lang.Object, org.apache.axis2.jaxws.message.factory.BlockFactory, org.apache.axiom.soap.RolePlayer)">getHeaderBlocks</A></CODE> in interface <CODE><A HREF="../../../../../../org/apache/axis2/jaxws/message/XMLPart.html" title="interface in org.apache.axis2.jaxws.message">XMLPart</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>namespace</CODE> - uri of header<DD><CODE>localPart</CODE> - local name of header<DD><CODE>context</CODE> - context for blockFactory<DD><CODE>blockFactory</CODE> - kind of factory (i.e. JAXB)
<DT><B>Returns:</B><DD>List<Block>
<DT><B>Throws:</B>
<DD><CODE><A HREF="http://java.sun.com/javaee/5/docs/api/javax/xml/ws/WebServiceException.html?is-external=true" title="class or interface in javax.xml.ws">WebServiceException</A></CODE></DL>
</DD>
</DL>
<HR>
<A NAME="getNumBodyBlocks()"><!-- --></A><H3>
getNumBodyBlocks</H3>
<PRE>
public int <B>getNumBodyBlocks</B>()
throws <A HREF="http://java.sun.com/javaee/5/docs/api/javax/xml/ws/WebServiceException.html?is-external=true" title="class or interface in javax.xml.ws">WebServiceException</A></PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../../org/apache/axis2/jaxws/message/XMLPart.html#getNumBodyBlocks()">XMLPart</A></CODE></B></DD>
<DD>getNumBodyBlocks Calling this method will cache the OM. Avoid it in performant situations.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../org/apache/axis2/jaxws/message/XMLPart.html#getNumBodyBlocks()">getNumBodyBlocks</A></CODE> in interface <CODE><A HREF="../../../../../../org/apache/axis2/jaxws/message/XMLPart.html" title="interface in org.apache.axis2.jaxws.message">XMLPart</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>number of body blocks
<DT><B>Throws:</B>
<DD><CODE><A HREF="http://java.sun.com/javaee/5/docs/api/javax/xml/ws/WebServiceException.html?is-external=true" title="class or interface in javax.xml.ws">WebServiceException</A></CODE></DL>
</DD>
</DL>
<HR>
<A NAME="getBodyBlockQNames()"><!-- --></A><H3>
getBodyBlockQNames</H3>
<PRE>
public <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A>&lt;<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/javax/xml/namespace/QName.html?is-external=true" title="class or interface in javax.xml.namespace">QName</A>&gt; <B>getBodyBlockQNames</B>()
throws <A HREF="http://java.sun.com/javaee/5/docs/api/javax/xml/ws/WebServiceException.html?is-external=true" title="class or interface in javax.xml.ws">WebServiceException</A></PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../../org/apache/axis2/jaxws/message/XMLPart.html#getBodyBlockQNames()">XMLPart</A></CODE></B></DD>
<DD>getBodyBlockQNames
Calling this method will cache the OM. Avoid it in performant situations.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../org/apache/axis2/jaxws/message/XMLPart.html#getBodyBlockQNames()">getBodyBlockQNames</A></CODE> in interface <CODE><A HREF="../../../../../../org/apache/axis2/jaxws/message/XMLPart.html" title="interface in org.apache.axis2.jaxws.message">XMLPart</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>List of QNames
<DT><B>Throws:</B>
<DD><CODE><A HREF="http://java.sun.com/javaee/5/docs/api/javax/xml/ws/WebServiceException.html?is-external=true" title="class or interface in javax.xml.ws">WebServiceException</A></CODE></DL>
</DD>
</DL>
<HR>
<A NAME="getNumHeaderBlocks()"><!-- --></A><H3>
getNumHeaderBlocks</H3>
<PRE>
public int <B>getNumHeaderBlocks</B>()
throws <A HREF="http://java.sun.com/javaee/5/docs/api/javax/xml/ws/WebServiceException.html?is-external=true" title="class or interface in javax.xml.ws">WebServiceException</A></PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../../org/apache/axis2/jaxws/message/XMLPart.html#getNumHeaderBlocks()">XMLPart</A></CODE></B></DD>
<DD>getNumHeaderBlocks
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../org/apache/axis2/jaxws/message/XMLPart.html#getNumHeaderBlocks()">getNumHeaderBlocks</A></CODE> in interface <CODE><A HREF="../../../../../../org/apache/axis2/jaxws/message/XMLPart.html" title="interface in org.apache.axis2.jaxws.message">XMLPart</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>number of header blocks
<DT><B>Throws:</B>
<DD><CODE><A HREF="http://java.sun.com/javaee/5/docs/api/javax/xml/ws/WebServiceException.html?is-external=true" title="class or interface in javax.xml.ws">WebServiceException</A></CODE></DL>
</DD>
</DL>
<HR>
<A NAME="getXMLStreamReader(boolean)"><!-- --></A><H3>
getXMLStreamReader</H3>
<PRE>
public <A HREF="http://java.sun.com/javaee/5/docs/api/javax/xml/stream/XMLStreamReader.html?is-external=true" title="class or interface in javax.xml.stream">XMLStreamReader</A> <B>getXMLStreamReader</B>(boolean&nbsp;consume)
throws <A HREF="http://java.sun.com/javaee/5/docs/api/javax/xml/ws/WebServiceException.html?is-external=true" title="class or interface in javax.xml.ws">WebServiceException</A></PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../../org/apache/axis2/jaxws/message/XMLPart.html#getXMLStreamReader(boolean)">XMLPart</A></CODE></B></DD>
<DD>Get the XMLStreamReader represented by this Message for the xml part
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../org/apache/axis2/jaxws/message/XMLPart.html#getXMLStreamReader(boolean)">getXMLStreamReader</A></CODE> in interface <CODE><A HREF="../../../../../../org/apache/axis2/jaxws/message/XMLPart.html" title="interface in org.apache.axis2.jaxws.message">XMLPart</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>consume</CODE> - true if this is the last request on the Message
<DT><B>Returns:</B><DD>XMLStreamReader
<DT><B>Throws:</B>
<DD><CODE><A HREF="http://java.sun.com/javaee/5/docs/api/javax/xml/ws/WebServiceException.html?is-external=true" title="class or interface in javax.xml.ws">WebServiceException</A></CODE></DL>
</DD>
</DL>
<HR>
<A NAME="isConsumed()"><!-- --></A><H3>
isConsumed</H3>
<PRE>
public boolean <B>isConsumed</B>()</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../../org/apache/axis2/jaxws/message/XMLPart.html#isConsumed()">XMLPart</A></CODE></B></DD>
<DD>isConsumed Return true if the part is consumed. Once consumed, the information in the part is
no longer available.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../org/apache/axis2/jaxws/message/XMLPart.html#isConsumed()">isConsumed</A></CODE> in interface <CODE><A HREF="../../../../../../org/apache/axis2/jaxws/message/XMLPart.html" title="interface in org.apache.axis2.jaxws.message">XMLPart</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>true if the block is consumed (a method was called with consume=true)</DL>
</DD>
</DL>
<HR>
<A NAME="outputTo(javax.xml.stream.XMLStreamWriter, boolean)"><!-- --></A><H3>
outputTo</H3>
<PRE>
public void <B>outputTo</B>(<A HREF="http://java.sun.com/javaee/5/docs/api/javax/xml/stream/XMLStreamWriter.html?is-external=true" title="class or interface in javax.xml.stream">XMLStreamWriter</A>&nbsp;writer,
boolean&nbsp;consume)
throws <A HREF="http://java.sun.com/javaee/5/docs/api/javax/xml/stream/XMLStreamException.html?is-external=true" title="class or interface in javax.xml.stream">XMLStreamException</A>,
<A HREF="http://java.sun.com/javaee/5/docs/api/javax/xml/ws/WebServiceException.html?is-external=true" title="class or interface in javax.xml.ws">WebServiceException</A></PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../../org/apache/axis2/jaxws/message/XMLPart.html#outputTo(javax.xml.stream.XMLStreamWriter, boolean)">XMLPart</A></CODE></B></DD>
<DD>Write out the Message
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../org/apache/axis2/jaxws/message/XMLPart.html#outputTo(javax.xml.stream.XMLStreamWriter, boolean)">outputTo</A></CODE> in interface <CODE><A HREF="../../../../../../org/apache/axis2/jaxws/message/XMLPart.html" title="interface in org.apache.axis2.jaxws.message">XMLPart</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>writer</CODE> - XMLStreamWriter<DD><CODE>consume</CODE> - true if this is the last request on the block.
<DT><B>Throws:</B>
<DD><CODE><A HREF="http://java.sun.com/javaee/5/docs/api/javax/xml/ws/WebServiceException.html?is-external=true" title="class or interface in javax.xml.ws">WebServiceException</A></CODE>
<DD><CODE><A HREF="http://java.sun.com/javaee/5/docs/api/javax/xml/stream/XMLStreamException.html?is-external=true" title="class or interface in javax.xml.stream">XMLStreamException</A></CODE></DL>
</DD>
</DL>
<HR>
<A NAME="removeBodyBlock(int)"><!-- --></A><H3>
removeBodyBlock</H3>
<PRE>
public void <B>removeBodyBlock</B>(int&nbsp;index)
throws <A HREF="http://java.sun.com/javaee/5/docs/api/javax/xml/ws/WebServiceException.html?is-external=true" title="class or interface in javax.xml.ws">WebServiceException</A></PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../../org/apache/axis2/jaxws/message/XMLPart.html#removeBodyBlock(int)">XMLPart</A></CODE></B></DD>
<DD>removeBodyBlock Removes the indicated BodyBlock
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../org/apache/axis2/jaxws/message/XMLPart.html#removeBodyBlock(int)">removeBodyBlock</A></CODE> in interface <CODE><A HREF="../../../../../../org/apache/axis2/jaxws/message/XMLPart.html" title="interface in org.apache.axis2.jaxws.message">XMLPart</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Throws:</B>
<DD><CODE><A HREF="http://java.sun.com/javaee/5/docs/api/javax/xml/ws/WebServiceException.html?is-external=true" title="class or interface in javax.xml.ws">WebServiceException</A></CODE></DL>
</DD>
</DL>
<HR>
<A NAME="removeHeaderBlock(java.lang.String, java.lang.String)"><!-- --></A><H3>
removeHeaderBlock</H3>
<PRE>
public void <B>removeHeaderBlock</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;namespace,
<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;localPart)
throws <A HREF="http://java.sun.com/javaee/5/docs/api/javax/xml/ws/WebServiceException.html?is-external=true" title="class or interface in javax.xml.ws">WebServiceException</A></PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../../org/apache/axis2/jaxws/message/XMLPart.html#removeHeaderBlock(java.lang.String, java.lang.String)">XMLPart</A></CODE></B></DD>
<DD>removeHeaderBlock
Removes all header blocks with this namespace/localpart
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../org/apache/axis2/jaxws/message/XMLPart.html#removeHeaderBlock(java.lang.String, java.lang.String)">removeHeaderBlock</A></CODE> in interface <CODE><A HREF="../../../../../../org/apache/axis2/jaxws/message/XMLPart.html" title="interface in org.apache.axis2.jaxws.message">XMLPart</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Throws:</B>
<DD><CODE><A HREF="http://java.sun.com/javaee/5/docs/api/javax/xml/ws/WebServiceException.html?is-external=true" title="class or interface in javax.xml.ws">WebServiceException</A></CODE></DL>
</DD>
</DL>
<HR>
<A NAME="setBodyBlock(int, org.apache.axis2.jaxws.message.Block)"><!-- --></A><H3>
setBodyBlock</H3>
<PRE>
public void <B>setBodyBlock</B>(int&nbsp;index,
<A HREF="../../../../../../org/apache/axis2/jaxws/message/Block.html" title="interface in org.apache.axis2.jaxws.message">Block</A>&nbsp;block)
throws <A HREF="http://java.sun.com/javaee/5/docs/api/javax/xml/ws/WebServiceException.html?is-external=true" title="class or interface in javax.xml.ws">WebServiceException</A></PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../../org/apache/axis2/jaxws/message/XMLPart.html#setBodyBlock(int, org.apache.axis2.jaxws.message.Block)">XMLPart</A></CODE></B></DD>
<DD>setBodyBlock Set the block at the specified index Once set, the Message owns the block. You
must use the getBodyBlock method to access it.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../org/apache/axis2/jaxws/message/XMLPart.html#setBodyBlock(int, org.apache.axis2.jaxws.message.Block)">setBodyBlock</A></CODE> in interface <CODE><A HREF="../../../../../../org/apache/axis2/jaxws/message/XMLPart.html" title="interface in org.apache.axis2.jaxws.message">XMLPart</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Throws:</B>
<DD><CODE><A HREF="http://java.sun.com/javaee/5/docs/api/javax/xml/ws/WebServiceException.html?is-external=true" title="class or interface in javax.xml.ws">WebServiceException</A></CODE></DL>
</DD>
</DL>
<HR>
<A NAME="setHeaderBlock(java.lang.String, java.lang.String, org.apache.axis2.jaxws.message.Block)"><!-- --></A><H3>
setHeaderBlock</H3>
<PRE>
public void <B>setHeaderBlock</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;namespace,
<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;localPart,
<A HREF="../../../../../../org/apache/axis2/jaxws/message/Block.html" title="interface in org.apache.axis2.jaxws.message">Block</A>&nbsp;block)
throws <A HREF="http://java.sun.com/javaee/5/docs/api/javax/xml/ws/WebServiceException.html?is-external=true" title="class or interface in javax.xml.ws">WebServiceException</A></PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../../org/apache/axis2/jaxws/message/XMLPart.html#setHeaderBlock(java.lang.String, java.lang.String, org.apache.axis2.jaxws.message.Block)">XMLPart</A></CODE></B></DD>
<DD>setHeaderBlock
replaces the first existing header block with this new block. If there is no
existing header block, one is added to the end of the headers
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../org/apache/axis2/jaxws/message/XMLPart.html#setHeaderBlock(java.lang.String, java.lang.String, org.apache.axis2.jaxws.message.Block)">setHeaderBlock</A></CODE> in interface <CODE><A HREF="../../../../../../org/apache/axis2/jaxws/message/XMLPart.html" title="interface in org.apache.axis2.jaxws.message">XMLPart</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Throws:</B>
<DD><CODE><A HREF="http://java.sun.com/javaee/5/docs/api/javax/xml/ws/WebServiceException.html?is-external=true" title="class or interface in javax.xml.ws">WebServiceException</A></CODE></DL>
</DD>
</DL>
<HR>
<A NAME="appendHeaderBlock(java.lang.String, java.lang.String, org.apache.axis2.jaxws.message.Block)"><!-- --></A><H3>
appendHeaderBlock</H3>
<PRE>
public void <B>appendHeaderBlock</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;namespace,
<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;localPart,
<A HREF="../../../../../../org/apache/axis2/jaxws/message/Block.html" title="interface in org.apache.axis2.jaxws.message">Block</A>&nbsp;block)
throws <A HREF="http://java.sun.com/javaee/5/docs/api/javax/xml/ws/WebServiceException.html?is-external=true" title="class or interface in javax.xml.ws">WebServiceException</A></PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../../org/apache/axis2/jaxws/message/XMLPart.html#appendHeaderBlock(java.lang.String, java.lang.String, org.apache.axis2.jaxws.message.Block)">XMLPart</A></CODE></B></DD>
<DD>appendHeaderBlock
Append the block to the list of header blocks. The Message owns the block.
You must use the getHeaderBlock method to access it.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../org/apache/axis2/jaxws/message/XMLPart.html#appendHeaderBlock(java.lang.String, java.lang.String, org.apache.axis2.jaxws.message.Block)">appendHeaderBlock</A></CODE> in interface <CODE><A HREF="../../../../../../org/apache/axis2/jaxws/message/XMLPart.html" title="interface in org.apache.axis2.jaxws.message">XMLPart</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Throws:</B>
<DD><CODE><A HREF="http://java.sun.com/javaee/5/docs/api/javax/xml/ws/WebServiceException.html?is-external=true" title="class or interface in javax.xml.ws">WebServiceException</A></CODE></DL>
</DD>
</DL>
<HR>
<A NAME="traceString(java.lang.String)"><!-- --></A><H3>
traceString</H3>
<PRE>
public <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>traceString</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;indent)</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../../org/apache/axis2/jaxws/message/XMLPart.html#traceString(java.lang.String)">XMLPart</A></CODE></B></DD>
<DD>Get a traceString...the trace string dumps the contents of the Block without forcing an
underlying ill-performant transformation of the message.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../org/apache/axis2/jaxws/message/XMLPart.html#traceString(java.lang.String)">traceString</A></CODE> in interface <CODE><A HREF="../../../../../../org/apache/axis2/jaxws/message/XMLPart.html" title="interface in org.apache.axis2.jaxws.message">XMLPart</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>String containing trace information</DL>
</DD>
</DL>
<HR>
<A NAME="addDataHandler(javax.activation.DataHandler, java.lang.String)"><!-- --></A><H3>
addDataHandler</H3>
<PRE>
public void <B>addDataHandler</B>(<A HREF="http://java.sun.com/javaee/5/docs/api/javax/activation/DataHandler.html?is-external=true" title="class or interface in javax.activation">DataHandler</A>&nbsp;dh,
<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;id)</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../../org/apache/axis2/jaxws/message/Message.html#addDataHandler(javax.activation.DataHandler, java.lang.String)">Message</A></CODE></B></DD>
<DD>Add Attachment
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../org/apache/axis2/jaxws/message/Message.html#addDataHandler(javax.activation.DataHandler, java.lang.String)">addDataHandler</A></CODE> in interface <CODE><A HREF="../../../../../../org/apache/axis2/jaxws/message/Message.html" title="interface in org.apache.axis2.jaxws.message">Message</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>dh</CODE> - DataHandler (type of Attachment is inferred from dh.getContentType)<DD><CODE>id</CODE> - String which is the Attachment content id<DT><B>See Also:</B><DD><CODE>addAttachment(Attachment)</CODE></DL>
</DD>
</DL>
<HR>
<A NAME="getParent()"><!-- --></A><H3>
getParent</H3>
<PRE>
public <A HREF="../../../../../../org/apache/axis2/jaxws/message/Message.html" title="interface in org.apache.axis2.jaxws.message">Message</A> <B>getParent</B>()</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../../org/apache/axis2/jaxws/message/XMLPart.html#getParent()">XMLPart</A></CODE></B></DD>
<DD>getParent Get the Message object that this XMLPart is attached to, if it is attached to one
at all.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../org/apache/axis2/jaxws/message/XMLPart.html#getParent()">getParent</A></CODE> in interface <CODE><A HREF="../../../../../../org/apache/axis2/jaxws/message/XMLPart.html" title="interface in org.apache.axis2.jaxws.message">XMLPart</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD></DL>
</DD>
</DL>
<HR>
<A NAME="setParent(org.apache.axis2.jaxws.message.Message)"><!-- --></A><H3>
setParent</H3>
<PRE>
public void <B>setParent</B>(<A HREF="../../../../../../org/apache/axis2/jaxws/message/Message.html" title="interface in org.apache.axis2.jaxws.message">Message</A>&nbsp;msg)</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../../org/apache/axis2/jaxws/message/XMLPart.html#setParent(org.apache.axis2.jaxws.message.Message)">XMLPart</A></CODE></B></DD>
<DD>setParent Set the Message object that will hold this XMLPart
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../org/apache/axis2/jaxws/message/XMLPart.html#setParent(org.apache.axis2.jaxws.message.Message)">setParent</A></CODE> in interface <CODE><A HREF="../../../../../../org/apache/axis2/jaxws/message/XMLPart.html" title="interface in org.apache.axis2.jaxws.message">XMLPart</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="isMTOMEnabled()"><!-- --></A><H3>
isMTOMEnabled</H3>
<PRE>
public boolean <B>isMTOMEnabled</B>()</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../../org/apache/axis2/jaxws/message/Message.html#isMTOMEnabled()">Message</A></CODE></B></DD>
<DD>A message is MTOM enabled if the
associated dispatch/client/impl/provider has a binding type
that enables MTOM.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../org/apache/axis2/jaxws/message/Message.html#isMTOMEnabled()">isMTOMEnabled</A></CODE> in interface <CODE><A HREF="../../../../../../org/apache/axis2/jaxws/message/Message.html" title="interface in org.apache.axis2.jaxws.message">Message</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>true if the binding for this message indicates mtom</DL>
</DD>
</DL>
<HR>
<A NAME="setMTOMEnabled(boolean)"><!-- --></A><H3>
setMTOMEnabled</H3>
<PRE>
public void <B>setMTOMEnabled</B>(boolean&nbsp;b)</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../../org/apache/axis2/jaxws/message/Message.html#setMTOMEnabled(boolean)">Message</A></CODE></B></DD>
<DD>A message is MTOM enabled if the
associated dispatch/client/impl/provider has a binding type
that enables MTOM.
Indicate whether this is an MTOM message
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../org/apache/axis2/jaxws/message/Message.html#setMTOMEnabled(boolean)">setMTOMEnabled</A></CODE> in interface <CODE><A HREF="../../../../../../org/apache/axis2/jaxws/message/Message.html" title="interface in org.apache.axis2.jaxws.message">Message</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>true</CODE> - if the binding for this message indicates mtom</DL>
</DD>
</DL>
<HR>
<A NAME="getXMLFault()"><!-- --></A><H3>
getXMLFault</H3>
<PRE>
public <A HREF="../../../../../../org/apache/axis2/jaxws/message/XMLFault.html" title="class in org.apache.axis2.jaxws.message">XMLFault</A> <B>getXMLFault</B>()
throws <A HREF="http://java.sun.com/javaee/5/docs/api/javax/xml/ws/WebServiceException.html?is-external=true" title="class or interface in javax.xml.ws">WebServiceException</A></PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../../org/apache/axis2/jaxws/message/XMLPart.html#getXMLFault()">XMLPart</A></CODE></B></DD>
<DD>If the XMLPart represents a fault, an XMLFault is returned which describes the fault in a
protocol agnostic manner
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../org/apache/axis2/jaxws/message/XMLPart.html#getXMLFault()">getXMLFault</A></CODE> in interface <CODE><A HREF="../../../../../../org/apache/axis2/jaxws/message/XMLPart.html" title="interface in org.apache.axis2.jaxws.message">XMLPart</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>the XMLFault object or null
<DT><B>Throws:</B>
<DD><CODE><A HREF="http://java.sun.com/javaee/5/docs/api/javax/xml/ws/WebServiceException.html?is-external=true" title="class or interface in javax.xml.ws">WebServiceException</A></CODE><DT><B>See Also:</B><DD><A HREF="../../../../../../org/apache/axis2/jaxws/message/XMLFault.html" title="class in org.apache.axis2.jaxws.message"><CODE>XMLFault</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="setXMLFault(org.apache.axis2.jaxws.message.XMLFault)"><!-- --></A><H3>
setXMLFault</H3>
<PRE>
public void <B>setXMLFault</B>(<A HREF="../../../../../../org/apache/axis2/jaxws/message/XMLFault.html" title="class in org.apache.axis2.jaxws.message">XMLFault</A>&nbsp;xmlFault)
throws <A HREF="http://java.sun.com/javaee/5/docs/api/javax/xml/ws/WebServiceException.html?is-external=true" title="class or interface in javax.xml.ws">WebServiceException</A></PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../../org/apache/axis2/jaxws/message/XMLPart.html#setXMLFault(org.apache.axis2.jaxws.message.XMLFault)">XMLPart</A></CODE></B></DD>
<DD>Change the XMLPart so that it represents the fault described by XMLFault
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../org/apache/axis2/jaxws/message/XMLPart.html#setXMLFault(org.apache.axis2.jaxws.message.XMLFault)">setXMLFault</A></CODE> in interface <CODE><A HREF="../../../../../../org/apache/axis2/jaxws/message/XMLPart.html" title="interface in org.apache.axis2.jaxws.message">XMLPart</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Throws:</B>
<DD><CODE><A HREF="http://java.sun.com/javaee/5/docs/api/javax/xml/ws/WebServiceException.html?is-external=true" title="class or interface in javax.xml.ws">WebServiceException</A></CODE><DT><B>See Also:</B><DD><A HREF="../../../../../../org/apache/axis2/jaxws/message/XMLFault.html" title="class in org.apache.axis2.jaxws.message"><CODE>XMLFault</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="isFault()"><!-- --></A><H3>
isFault</H3>
<PRE>
public boolean <B>isFault</B>()
throws <A HREF="http://java.sun.com/javaee/5/docs/api/javax/xml/ws/WebServiceException.html?is-external=true" title="class or interface in javax.xml.ws">WebServiceException</A></PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../../org/apache/axis2/jaxws/message/XMLPart.html#isFault()">XMLPart</A></CODE></B></DD>
<DD>Determines whether the XMLPart represents a Fault
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../org/apache/axis2/jaxws/message/XMLPart.html#isFault()">isFault</A></CODE> in interface <CODE><A HREF="../../../../../../org/apache/axis2/jaxws/message/XMLPart.html" title="interface in org.apache.axis2.jaxws.message">XMLPart</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>true if the message represents a fault
<DT><B>Throws:</B>
<DD><CODE><A HREF="http://java.sun.com/javaee/5/docs/api/javax/xml/ws/WebServiceException.html?is-external=true" title="class or interface in javax.xml.ws">WebServiceException</A></CODE></DL>
</DD>
</DL>
<HR>
<A NAME="getXMLPartContentType()"><!-- --></A><H3>
getXMLPartContentType</H3>
<PRE>
public <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getXMLPartContentType</B>()</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../../org/apache/axis2/jaxws/message/XMLPart.html#getXMLPartContentType()">XMLPart</A></CODE></B></DD>
<DD>The representation of the XMLPart may be in a number of different forms. Currently the forms
are UNKNOWN, OM, SOAPENVELOPE, and SPINE. This method returns a String containing one of
these types. This method should only be used for trace and testing purposes. The consumer
of a Message should not make any decisions based on the representation of the XMLPart
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../org/apache/axis2/jaxws/message/XMLPart.html#getXMLPartContentType()">getXMLPartContentType</A></CODE> in interface <CODE><A HREF="../../../../../../org/apache/axis2/jaxws/message/XMLPart.html" title="interface in org.apache.axis2.jaxws.message">XMLPart</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>String</DL>
</DD>
</DL>
<HR>
<A NAME="getStyle()"><!-- --></A><H3>
getStyle</H3>
<PRE>
public <A HREF="http://java.sun.com/javaee/5/docs/api/javax/jws/soap/SOAPBinding.Style.html?is-external=true" title="class or interface in javax.jws.soap">SOAPBinding.Style</A> <B>getStyle</B>()</PRE>
<DL>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../org/apache/axis2/jaxws/message/XMLPart.html#getStyle()">getStyle</A></CODE> in interface <CODE><A HREF="../../../../../../org/apache/axis2/jaxws/message/XMLPart.html" title="interface in org.apache.axis2.jaxws.message">XMLPart</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>the Style (document or rpc)</DL>
</DD>
</DL>
<HR>
<A NAME="setStyle(javax.jws.soap.SOAPBinding.Style)"><!-- --></A><H3>
setStyle</H3>
<PRE>
public void <B>setStyle</B>(<A HREF="http://java.sun.com/javaee/5/docs/api/javax/jws/soap/SOAPBinding.Style.html?is-external=true" title="class or interface in javax.jws.soap">SOAPBinding.Style</A>&nbsp;style)
throws <A HREF="http://java.sun.com/javaee/5/docs/api/javax/xml/ws/WebServiceException.html?is-external=true" title="class or interface in javax.xml.ws">WebServiceException</A></PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../../org/apache/axis2/jaxws/message/XMLPart.html#setStyle(javax.jws.soap.SOAPBinding.Style)">XMLPart</A></CODE></B></DD>
<DD>Set the Style. If the style is DOCUMENT, the body blocks are located underneath the body
element. If the style is set to RPC, then the body blocks are located underneath the rpc
operation.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../org/apache/axis2/jaxws/message/XMLPart.html#setStyle(javax.jws.soap.SOAPBinding.Style)">setStyle</A></CODE> in interface <CODE><A HREF="../../../../../../org/apache/axis2/jaxws/message/XMLPart.html" title="interface in org.apache.axis2.jaxws.message">XMLPart</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>style</CODE> - Style
<DT><B>Throws:</B>
<DD><CODE><A HREF="http://java.sun.com/javaee/5/docs/api/javax/xml/ws/WebServiceException.html?is-external=true" title="class or interface in javax.xml.ws">WebServiceException</A></CODE><DT><B>See Also:</B><DD><CODE>indirection</CODE></DL>
</DD>
</DL>
<HR>
<A NAME="getOperationElement()"><!-- --></A><H3>
getOperationElement</H3>
<PRE>
public <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/javax/xml/namespace/QName.html?is-external=true" title="class or interface in javax.xml.namespace">QName</A> <B>getOperationElement</B>()
throws <A HREF="http://java.sun.com/javaee/5/docs/api/javax/xml/ws/WebServiceException.html?is-external=true" title="class or interface in javax.xml.ws">WebServiceException</A></PRE>
<DL>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../org/apache/axis2/jaxws/message/XMLPart.html#getOperationElement()">getOperationElement</A></CODE> in interface <CODE><A HREF="../../../../../../org/apache/axis2/jaxws/message/XMLPart.html" title="interface in org.apache.axis2.jaxws.message">XMLPart</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>the QName of the operation element if Style.rpc. Otherwise null
<DT><B>Throws:</B>
<DD><CODE><A HREF="http://java.sun.com/javaee/5/docs/api/javax/xml/ws/WebServiceException.html?is-external=true" title="class or interface in javax.xml.ws">WebServiceException</A></CODE></DL>
</DD>
</DL>
<HR>
<A NAME="setOperationElement(javax.xml.namespace.QName)"><!-- --></A><H3>
setOperationElement</H3>
<PRE>
public void <B>setOperationElement</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/javax/xml/namespace/QName.html?is-external=true" title="class or interface in javax.xml.namespace">QName</A>&nbsp;operationQName)
throws <A HREF="http://java.sun.com/javaee/5/docs/api/javax/xml/ws/WebServiceException.html?is-external=true" title="class or interface in javax.xml.ws">WebServiceException</A></PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../../org/apache/axis2/jaxws/message/XMLPart.html#setOperationElement(javax.xml.namespace.QName)">XMLPart</A></CODE></B></DD>
<DD>Set the operation element qname. The operation qname is only used if Style.rpc
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../org/apache/axis2/jaxws/message/XMLPart.html#setOperationElement(javax.xml.namespace.QName)">setOperationElement</A></CODE> in interface <CODE><A HREF="../../../../../../org/apache/axis2/jaxws/message/XMLPart.html" title="interface in org.apache.axis2.jaxws.message">XMLPart</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Throws:</B>
<DD><CODE><A HREF="http://java.sun.com/javaee/5/docs/api/javax/xml/ws/WebServiceException.html?is-external=true" title="class or interface in javax.xml.ws">WebServiceException</A></CODE></DL>
</DD>
</DL>
<HR>
<A NAME="getMimeHeaders()"><!-- --></A><H3>
getMimeHeaders</H3>
<PRE>
public <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A> <B>getMimeHeaders</B>()</PRE>
<DL>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../org/apache/axis2/jaxws/message/Message.html#getMimeHeaders()">getMimeHeaders</A></CODE> in interface <CODE><A HREF="../../../../../../org/apache/axis2/jaxws/message/Message.html" title="interface in org.apache.axis2.jaxws.message">Message</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>get the transport headers map.</DL>
</DD>
</DL>
<HR>
<A NAME="setMimeHeaders(java.util.Map)"><!-- --></A><H3>
setMimeHeaders</H3>
<PRE>
public void <B>setMimeHeaders</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A>&nbsp;map)</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../../org/apache/axis2/jaxws/message/Message.html#setMimeHeaders(java.util.Map)">Message</A></CODE></B></DD>
<DD>Set the transport headers
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../org/apache/axis2/jaxws/message/Message.html#setMimeHeaders(java.util.Map)">setMimeHeaders</A></CODE> in interface <CODE><A HREF="../../../../../../org/apache/axis2/jaxws/message/Message.html" title="interface in org.apache.axis2.jaxws.message">Message</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>map</CODE> - Map</DL>
</DD>
</DL>
<HR>
<A NAME="getBodyBlock(java.lang.Object, org.apache.axis2.jaxws.message.factory.BlockFactory)"><!-- --></A><H3>
getBodyBlock</H3>
<PRE>
public <A HREF="../../../../../../org/apache/axis2/jaxws/message/Block.html" title="interface in org.apache.axis2.jaxws.message">Block</A> <B>getBodyBlock</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>&nbsp;context,
<A HREF="../../../../../../org/apache/axis2/jaxws/message/factory/BlockFactory.html" title="interface in org.apache.axis2.jaxws.message.factory">BlockFactory</A>&nbsp;blockFactory)
throws <A HREF="http://java.sun.com/javaee/5/docs/api/javax/xml/ws/WebServiceException.html?is-external=true" title="class or interface in javax.xml.ws">WebServiceException</A></PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../../org/apache/axis2/jaxws/message/XMLPart.html#getBodyBlock(java.lang.Object, org.apache.axis2.jaxws.message.factory.BlockFactory)">XMLPart</A></CODE></B></DD>
<DD>getBodyBlock Get the single Body Block. The BlockFactory and object context are passed in to
help create the proper kind of block. This method should only be invoked when it is known
that there is zero or one block.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../org/apache/axis2/jaxws/message/XMLPart.html#getBodyBlock(java.lang.Object, org.apache.axis2.jaxws.message.factory.BlockFactory)">getBodyBlock</A></CODE> in interface <CODE><A HREF="../../../../../../org/apache/axis2/jaxws/message/XMLPart.html" title="interface in org.apache.axis2.jaxws.message">XMLPart</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>Block or null
<DT><B>Throws:</B>
<DD><CODE><A HREF="http://java.sun.com/javaee/5/docs/api/javax/xml/ws/WebServiceException.html?is-external=true" title="class or interface in javax.xml.ws">WebServiceException</A></CODE></DL>
</DD>
</DL>
<HR>
<A NAME="setBodyBlock(org.apache.axis2.jaxws.message.Block)"><!-- --></A><H3>
setBodyBlock</H3>
<PRE>
public void <B>setBodyBlock</B>(<A HREF="../../../../../../org/apache/axis2/jaxws/message/Block.html" title="interface in org.apache.axis2.jaxws.message">Block</A>&nbsp;block)
throws <A HREF="http://java.sun.com/javaee/5/docs/api/javax/xml/ws/WebServiceException.html?is-external=true" title="class or interface in javax.xml.ws">WebServiceException</A></PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../../org/apache/axis2/jaxws/message/XMLPart.html#setBodyBlock(org.apache.axis2.jaxws.message.Block)">XMLPart</A></CODE></B></DD>
<DD>setBodyBlock Set this as block as the single block for the message.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../org/apache/axis2/jaxws/message/XMLPart.html#setBodyBlock(org.apache.axis2.jaxws.message.Block)">setBodyBlock</A></CODE> in interface <CODE><A HREF="../../../../../../org/apache/axis2/jaxws/message/XMLPart.html" title="interface in org.apache.axis2.jaxws.message">XMLPart</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Throws:</B>
<DD><CODE><A HREF="http://java.sun.com/javaee/5/docs/api/javax/xml/ws/WebServiceException.html?is-external=true" title="class or interface in javax.xml.ws">WebServiceException</A></CODE></DL>
</DD>
</DL>
<HR>
<A NAME="setPostPivot()"><!-- --></A><H3>
setPostPivot</H3>
<PRE>
public void <B>setPostPivot</B>()</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../../org/apache/axis2/jaxws/message/Message.html#setPostPivot()">Message</A></CODE></B></DD>
<DD>Indicate that this message is passed the pivot point. For example, this is set in the JAX-WS
Dispatcher to indicate
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../org/apache/axis2/jaxws/message/Message.html#setPostPivot()">setPostPivot</A></CODE> in interface <CODE><A HREF="../../../../../../org/apache/axis2/jaxws/message/Message.html" title="interface in org.apache.axis2.jaxws.message">Message</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="isPostPivot()"><!-- --></A><H3>
isPostPivot</H3>
<PRE>
public boolean <B>isPostPivot</B>()</PRE>
<DL>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../org/apache/axis2/jaxws/message/Message.html#isPostPivot()">isPostPivot</A></CODE> in interface <CODE><A HREF="../../../../../../org/apache/axis2/jaxws/message/Message.html" title="interface in org.apache.axis2.jaxws.message">Message</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>true if post pivot</DL>
</DD>
</DL>
<HR>
<A NAME="getIndirection()"><!-- --></A><H3>
getIndirection</H3>
<PRE>
public int <B>getIndirection</B>()</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../../org/apache/axis2/jaxws/message/XMLPart.html#getIndirection()">XMLPart</A></CODE></B></DD>
<DD>Get indirection. Used to force the code to look for blocks at a particular location. For
DOCUMENT the default is 0 For RPC the default is 1 This method is used to override these
settings for special cases.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../org/apache/axis2/jaxws/message/XMLPart.html#getIndirection()">getIndirection</A></CODE> in interface <CODE><A HREF="../../../../../../org/apache/axis2/jaxws/message/XMLPart.html" title="interface in org.apache.axis2.jaxws.message">XMLPart</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>indirection (0 or 1)</DL>
</DD>
</DL>
<HR>
<A NAME="setIndirection(int)"><!-- --></A><H3>
setIndirection</H3>
<PRE>
public void <B>setIndirection</B>(int&nbsp;indirection)</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../../org/apache/axis2/jaxws/message/XMLPart.html#setIndirection(int)">XMLPart</A></CODE></B></DD>
<DD>Set indirection. Used to force the code to look for blocks at a particular location. For
DOCUMENT the default is 0 For RPC the default is 1 This method is used to override these
settings for special cases.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../org/apache/axis2/jaxws/message/XMLPart.html#setIndirection(int)">setIndirection</A></CODE> in interface <CODE><A HREF="../../../../../../org/apache/axis2/jaxws/message/XMLPart.html" title="interface in org.apache.axis2.jaxws.message">XMLPart</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>indirection</CODE> - (0 or 1)</DL>
</DD>
</DL>
<HR>
<A NAME="getMessageContext()"><!-- --></A><H3>
getMessageContext</H3>
<PRE>
public <A HREF="../../../../../../org/apache/axis2/jaxws/core/MessageContext.html" title="class in org.apache.axis2.jaxws.core">MessageContext</A> <B>getMessageContext</B>()</PRE>
<DL>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../org/apache/axis2/jaxws/message/Message.html#getMessageContext()">getMessageContext</A></CODE> in interface <CODE><A HREF="../../../../../../org/apache/axis2/jaxws/message/Message.html" title="interface in org.apache.axis2.jaxws.message">Message</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>JAX-WS MessageContext</DL>
</DD>
</DL>
<HR>
<A NAME="setMessageContext(org.apache.axis2.jaxws.core.MessageContext)"><!-- --></A><H3>
setMessageContext</H3>
<PRE>
public void <B>setMessageContext</B>(<A HREF="../../../../../../org/apache/axis2/jaxws/core/MessageContext.html" title="class in org.apache.axis2.jaxws.core">MessageContext</A>&nbsp;messageContext)</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../../org/apache/axis2/jaxws/message/Message.html#setMessageContext(org.apache.axis2.jaxws.core.MessageContext)">Message</A></CODE></B></DD>
<DD>JAX-WS Message Context that owns the Message
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../org/apache/axis2/jaxws/message/Message.html#setMessageContext(org.apache.axis2.jaxws.core.MessageContext)">setMessageContext</A></CODE> in interface <CODE><A HREF="../../../../../../org/apache/axis2/jaxws/message/Message.html" title="interface in org.apache.axis2.jaxws.message">Message</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="setDoingSWA(boolean)"><!-- --></A><H3>
setDoingSWA</H3>
<PRE>
public void <B>setDoingSWA</B>(boolean&nbsp;value)</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../../org/apache/axis2/jaxws/message/Message.html#setDoingSWA(boolean)">Message</A></CODE></B></DD>
<DD>Indicate that an SWA DataHandler was added to the message.
This information will be used to trigger SWA serialization.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../org/apache/axis2/jaxws/message/Message.html#setDoingSWA(boolean)">setDoingSWA</A></CODE> in interface <CODE><A HREF="../../../../../../org/apache/axis2/jaxws/message/Message.html" title="interface in org.apache.axis2.jaxws.message">Message</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="isDoingSWA()"><!-- --></A><H3>
isDoingSWA</H3>
<PRE>
public boolean <B>isDoingSWA</B>()</PRE>
<DL>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../org/apache/axis2/jaxws/message/Message.html#isDoingSWA()">isDoingSWA</A></CODE> in interface <CODE><A HREF="../../../../../../org/apache/axis2/jaxws/message/Message.html" title="interface in org.apache.axis2.jaxws.message">Message</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>true if SWA DataHandler is present</DL>
</DD>
</DL>
<HR>
<A NAME="close()"><!-- --></A><H3>
close</H3>
<PRE>
public void <B>close</B>()</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../../org/apache/axis2/jaxws/message/XMLPart.html#close()">XMLPart</A></CODE></B></DD>
<DD>Used primarily to ensure the parser is forwarded to the end so it can be closed.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../org/apache/axis2/jaxws/message/XMLPart.html#close()">close</A></CODE> in interface <CODE><A HREF="../../../../../../org/apache/axis2/jaxws/message/XMLPart.html" title="interface in org.apache.axis2.jaxws.message">XMLPart</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getHeaderQNames()"><!-- --></A><H3>
getHeaderQNames</H3>
<PRE>
public <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</A>&lt;<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/javax/xml/namespace/QName.html?is-external=true" title="class or interface in javax.xml.namespace">QName</A>&gt; <B>getHeaderQNames</B>()</PRE>
<DL>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../org/apache/axis2/jaxws/message/XMLPart.html#getHeaderQNames()">getHeaderQNames</A></CODE> in interface <CODE><A HREF="../../../../../../org/apache/axis2/jaxws/message/XMLPart.html" title="interface in org.apache.axis2.jaxws.message">XMLPart</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>QNames of headers</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A>
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/MessageImpl.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../../../org/apache/axis2/jaxws/message/impl/MessageFactoryImpl.html" title="class in org.apache.axis2.jaxws.message.impl"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../../../org/apache/axis2/jaxws/message/impl/XMLPartBase.html" title="class in org.apache.axis2.jaxws.message.impl"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../../../index.html?org/apache/axis2/jaxws/message/impl/MessageImpl.html" target="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="MessageImpl.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
&nbsp;<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<HR>
Copyright &#169; 2004-2012 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All Rights Reserved.
</BODY>
</HTML>