blob: 1af4652df13b59ea01e63af9df60a4c988686bc2 [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:06 IST 2012 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
MexUtil (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="MexUtil (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/MexUtil.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;PREV CLASS&nbsp;
&nbsp;NEXT CLASS</FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../../index.html?org/apache/axis2/mex/util/MexUtil.html" target="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="MexUtil.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;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&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.mex.util</FONT>
<BR>
Class MexUtil</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.mex.util.MexUtil</B>
</PRE>
<HR>
<DL>
<DT><PRE>public class <B>MexUtil</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></DL>
</PRE>
<P>
<HR>
<P>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<A NAME="constructor_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>Constructor Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../../org/apache/axis2/mex/util/MexUtil.html#MexUtil()">MexUtil</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
</TABLE>
&nbsp;
<!-- ========== 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>static&nbsp;<A HREF="../../../../../org/apache/axis2/dataretrieval/OutputForm.html" title="class in org.apache.axis2.dataretrieval">OutputForm</A>[]</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/axis2/mex/util/MexUtil.html#allSupportedOutputForms()">allSupportedOutputForms</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>static&nbsp;<A HREF="../../../../../org/apache/axis2/dataretrieval/OutputForm.html" title="class in org.apache.axis2.dataretrieval">OutputForm</A>[]</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/axis2/mex/util/MexUtil.html#determineOutputForm(java.lang.String, org.apache.axis2.description.Parameter, org.apache.axis2.description.Parameter)">determineOutputForm</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;dialect,
<A HREF="../../../../../org/apache/axis2/description/Parameter.html" title="class in org.apache.axis2.description">Parameter</A>&nbsp;axisConfigMEXParm,
<A HREF="../../../../../org/apache/axis2/description/Parameter.html" title="class in org.apache.axis2.description">Parameter</A>&nbsp;serviceConfigMEXParm)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Determine output forms for specified dialect based on "metadataexchange" configured in
axis2.xml and services.xml.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../../org/apache/axis2/mex/om/Metadata.html" title="class in org.apache.axis2.mex.om">Metadata</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/axis2/mex/util/MexUtil.html#fromEPR(org.apache.axis2.addressing.EndpointReference)">fromEPR</A></B>(<A HREF="../../../../../org/apache/axis2/addressing/EndpointReference.html" title="class in org.apache.axis2.addressing">EndpointReference</A>&nbsp;epr)</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>static&nbsp;<A HREF="../../../../../org/apache/axis2/mex/om/Metadata.html" title="class in org.apache.axis2.mex.om">Metadata</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/axis2/mex/util/MexUtil.html#fromOM(org.apache.axiom.om.OMElement)">fromOM</A></B>(org.apache.axiom.om.OMElement&nbsp;omElement)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;API to map mex:Metadata element to a Metadata object representation.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../../org/apache/axis2/mex/om/Metadata.html" title="class in org.apache.axis2.mex.om">Metadata</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/axis2/mex/util/MexUtil.html#fromOM(org.apache.axiom.om.OMElement, java.lang.String)">fromOM</A></B>(org.apache.axiom.om.OMElement&nbsp;omElement,
<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;mexNamespaceValue)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;API to map mex:Metadata element to a Metadata object representation.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;org.apache.axiom.om.impl.OMNamespaceImpl</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/axis2/mex/util/MexUtil.html#getAddressingNameSpace(org.apache.axiom.om.OMElement)">getAddressingNameSpace</A></B>(org.apache.axiom.om.OMElement&nbsp;toAddress)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Answers WS-Addressing namespace</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;org.apache.axiom.soap.SOAPFactory</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/axis2/mex/util/MexUtil.html#getSOAPFactory(int)">getSOAPFactory</A></B>(int&nbsp;SOAPVersion)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Answers SOAPFactory corresponding to specified SOAP Version</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;org.apache.axiom.soap.SOAPFactory</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/axis2/mex/util/MexUtil.html#getSOAPFactory(java.lang.String)">getSOAPFactory</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;soapNameSpaceURI)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Answer SOAPFactory corresponding to specified SOAP namespace URI</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/axis2/mex/util/MexUtil.html#getSOAPVersion(org.apache.axiom.soap.SOAPEnvelope)">getSOAPVersion</A></B>(org.apache.axiom.soap.SOAPEnvelope&nbsp;envelope)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Answer SOAPVersion for specified envelope</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/axis2/mex/util/MexUtil.html#isMexDisabled(org.apache.axis2.description.Parameter)">isMexDisabled</A></B>(<A HREF="../../../../../org/apache/axis2/description/Parameter.html" title="class in org.apache.axis2.description">Parameter</A>&nbsp;serviceConfigMEXParm)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Check if metadata exchange has been disabled for a service.</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>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<A NAME="constructor_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>Constructor Detail</B></FONT></TH>
</TR>
</TABLE>
<A NAME="MexUtil()"><!-- --></A><H3>
MexUtil</H3>
<PRE>
public <B>MexUtil</B>()</PRE>
<DL>
</DL>
<!-- ============ 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="getSOAPVersion(org.apache.axiom.soap.SOAPEnvelope)"><!-- --></A><H3>
getSOAPVersion</H3>
<PRE>
public static int <B>getSOAPVersion</B>(org.apache.axiom.soap.SOAPEnvelope&nbsp;envelope)
throws <A HREF="../../../../../org/apache/axis2/mex/MexException.html" title="class in org.apache.axis2.mex">MexException</A></PRE>
<DL>
<DD>Answer SOAPVersion for specified envelope
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>envelope</CODE> - SOAP Envelope
<DT><B>Returns:</B><DD>version of SOAP
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../../org/apache/axis2/mex/MexException.html" title="class in org.apache.axis2.mex">MexException</A></CODE></DL>
</DD>
</DL>
<HR>
<A NAME="getSOAPFactory(java.lang.String)"><!-- --></A><H3>
getSOAPFactory</H3>
<PRE>
public static org.apache.axiom.soap.SOAPFactory <B>getSOAPFactory</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;soapNameSpaceURI)
throws <A HREF="../../../../../org/apache/axis2/mex/MexException.html" title="class in org.apache.axis2.mex">MexException</A></PRE>
<DL>
<DD>Answer SOAPFactory corresponding to specified SOAP namespace URI
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>soapNameSpaceURI</CODE> - soap namespace uri
<DT><B>Returns:</B><DD>
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../../org/apache/axis2/mex/MexException.html" title="class in org.apache.axis2.mex">MexException</A></CODE></DL>
</DD>
</DL>
<HR>
<A NAME="getSOAPFactory(int)"><!-- --></A><H3>
getSOAPFactory</H3>
<PRE>
public static org.apache.axiom.soap.SOAPFactory <B>getSOAPFactory</B>(int&nbsp;SOAPVersion)</PRE>
<DL>
<DD>Answers SOAPFactory corresponding to specified SOAP Version
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>SOAPVersion</CODE> - SOAP version
<DT><B>Returns:</B><DD>SOAPFactory</DL>
</DD>
</DL>
<HR>
<A NAME="allSupportedOutputForms()"><!-- --></A><H3>
allSupportedOutputForms</H3>
<PRE>
public static <A HREF="../../../../../org/apache/axis2/dataretrieval/OutputForm.html" title="class in org.apache.axis2.dataretrieval">OutputForm</A>[] <B>allSupportedOutputForms</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="fromEPR(org.apache.axis2.addressing.EndpointReference)"><!-- --></A><H3>
fromEPR</H3>
<PRE>
public static <A HREF="../../../../../org/apache/axis2/mex/om/Metadata.html" title="class in org.apache.axis2.mex.om">Metadata</A> <B>fromEPR</B>(<A HREF="../../../../../org/apache/axis2/addressing/EndpointReference.html" title="class in org.apache.axis2.addressing">EndpointReference</A>&nbsp;epr)
throws <A HREF="../../../../../org/apache/axis2/mex/MexException.html" title="class in org.apache.axis2.mex">MexException</A></PRE>
<DL>
<DD><DL>
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../../org/apache/axis2/mex/MexException.html" title="class in org.apache.axis2.mex">MexException</A></CODE></DL>
</DD>
</DL>
<HR>
<A NAME="getAddressingNameSpace(org.apache.axiom.om.OMElement)"><!-- --></A><H3>
getAddressingNameSpace</H3>
<PRE>
public static org.apache.axiom.om.impl.OMNamespaceImpl <B>getAddressingNameSpace</B>(org.apache.axiom.om.OMElement&nbsp;toAddress)
throws <A HREF="../../../../../org/apache/axis2/mex/MexException.html" title="class in org.apache.axis2.mex">MexException</A></PRE>
<DL>
<DD>Answers WS-Addressing namespace
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>toAddress</CODE> - To Address element
<DT><B>Returns:</B><DD>OMNamespaceImpl WS-Addressing namespace
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../../org/apache/axis2/AxisFault.html" title="class in org.apache.axis2">AxisFault</A></CODE>
<DD><CODE><A HREF="../../../../../org/apache/axis2/mex/MexException.html" title="class in org.apache.axis2.mex">MexException</A></CODE></DL>
</DD>
</DL>
<HR>
<A NAME="fromOM(org.apache.axiom.om.OMElement)"><!-- --></A><H3>
fromOM</H3>
<PRE>
public static <A HREF="../../../../../org/apache/axis2/mex/om/Metadata.html" title="class in org.apache.axis2.mex.om">Metadata</A> <B>fromOM</B>(org.apache.axiom.om.OMElement&nbsp;omElement)
throws <A HREF="../../../../../org/apache/axis2/mex/MexException.html" title="class in org.apache.axis2.mex">MexException</A></PRE>
<DL>
<DD>API to map mex:Metadata element to a Metadata object representation. Data validation will
be performed on omElement content. See <A HREF="../../../../../org/apache/axis2/mex/om/Metadata.html" title="class in org.apache.axis2.mex.om"><CODE>Metadata</CODE></A> for APIs to access metadata section.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>omElement</CODE> - an element such as endpoint reference type that contains mex:Metadata or
an mex:Metadata element
<DT><B>Returns:</B><DD>Metadata object representation of mex:Metadata element passed.
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../../org/apache/axis2/mex/MexException.html" title="class in org.apache.axis2.mex">MexException</A></CODE> - if invalid mex:Metadata element content is detected</DL>
</DD>
</DL>
<HR>
<A NAME="fromOM(org.apache.axiom.om.OMElement, java.lang.String)"><!-- --></A><H3>
fromOM</H3>
<PRE>
public static <A HREF="../../../../../org/apache/axis2/mex/om/Metadata.html" title="class in org.apache.axis2.mex.om">Metadata</A> <B>fromOM</B>(org.apache.axiom.om.OMElement&nbsp;omElement,
<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;mexNamespaceValue)
throws <A HREF="../../../../../org/apache/axis2/mex/MexException.html" title="class in org.apache.axis2.mex">MexException</A></PRE>
<DL>
<DD>API to map mex:Metadata element to a Metadata object representation. Data validation will
be performed on omElement content. See <A HREF="../../../../../org/apache/axis2/mex/om/Metadata.html" title="class in org.apache.axis2.mex.om"><CODE>Metadata</CODE></A> for APIs to access metadata section.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>omElement</CODE> - an element such as endpoint reference type that contains mex:Metadata or
an mex:Metadata element<DD><CODE>mexNamespaceValue</CODE> - the namespace of the WS-MEX spec to comply with.
<DT><B>Returns:</B><DD>Metadata object representation of mex:Metadata element passed.
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../../org/apache/axis2/mex/MexException.html" title="class in org.apache.axis2.mex">MexException</A></CODE> - if invalid mex:Metadata element content is detected</DL>
</DD>
</DL>
<HR>
<A NAME="isMexDisabled(org.apache.axis2.description.Parameter)"><!-- --></A><H3>
isMexDisabled</H3>
<PRE>
public static boolean <B>isMexDisabled</B>(<A HREF="../../../../../org/apache/axis2/description/Parameter.html" title="class in org.apache.axis2.description">Parameter</A>&nbsp;serviceConfigMEXParm)</PRE>
<DL>
<DD>Check if metadata exchange has been disabled for a service.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>serviceConfigMEXParm</CODE> - metadataexchange configured in services.xml
<DT><B>Returns:</B><DD></DL>
</DD>
</DL>
<HR>
<A NAME="determineOutputForm(java.lang.String, org.apache.axis2.description.Parameter, org.apache.axis2.description.Parameter)"><!-- --></A><H3>
determineOutputForm</H3>
<PRE>
public static <A HREF="../../../../../org/apache/axis2/dataretrieval/OutputForm.html" title="class in org.apache.axis2.dataretrieval">OutputForm</A>[] <B>determineOutputForm</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;dialect,
<A HREF="../../../../../org/apache/axis2/description/Parameter.html" title="class in org.apache.axis2.description">Parameter</A>&nbsp;axisConfigMEXParm,
<A HREF="../../../../../org/apache/axis2/description/Parameter.html" title="class in org.apache.axis2.description">Parameter</A>&nbsp;serviceConfigMEXParm)</PRE>
<DL>
<DD>Determine output forms for specified dialect based on "metadataexchange" configured in
axis2.xml and services.xml.
The order of precedence in determining output form configured:
a. dialect specific at service level.
b. service level i.e. without dialect attribute specified
c. dialect specific at global level i,e, configured in axis2.xml
d. service level i.e. without dialect attribute specified
e. default output forms to all: inline, location, reference
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>dialect</CODE> - <DD><CODE>axisConfigMEXParm</CODE> - "metadataexchange" parameter configured in axis2.xml<DD><CODE>serviceConfigMEXParm</CODE> - "metadataexchange" parameter configured in services.xml
<DT><B>Returns:</B><DD></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/MexUtil.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;PREV CLASS&nbsp;
&nbsp;NEXT CLASS</FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../../index.html?org/apache/axis2/mex/util/MexUtil.html" target="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="MexUtil.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;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&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>