blob: f494d6dd64dcfb093a0dc1a932448ba8910260b4 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>EndpointReferenceHelper (Apache Axis2)</title>
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="EndpointReferenceHelper (Apache Axis2)";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!-- -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/EndpointReferenceHelper.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../org/apache/axis2/addressing/EndpointReference.html" title="class in org.apache.axis2.addressing"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../../org/apache/axis2/addressing/RelatesTo.html" title="class in org.apache.axis2.addressing"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/apache/axis2/addressing/EndpointReferenceHelper.html" target="_top">Frames</a></li>
<li><a href="EndpointReferenceHelper.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">org.apache.axis2.addressing</div>
<h2 title="Class EndpointReferenceHelper" class="title">Class EndpointReferenceHelper</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><a href="http://docs.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></li>
<li>
<ul class="inheritance">
<li>org.apache.axis2.addressing.EndpointReferenceHelper</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<br>
<pre>public class <span class="strong">EndpointReferenceHelper</span>
extends <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre>
<div class="block">The methods in this class are used to process <a href="../../../../org/apache/axis2/addressing/EndpointReference.html" title="class in org.apache.axis2.addressing"><code>EndpointReference</code></a> objects
according to the rules of the 2005/08 (Final) and 2004/08 (submission) WS-Addressing
specifications.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><strong><a href="../../../../org/apache/axis2/addressing/EndpointReferenceHelper.html#EndpointReferenceHelper()">EndpointReferenceHelper</a></strong>()</code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method_summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="http://docs.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></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/axis2/addressing/EndpointReferenceHelper.html#fromOM(org.apache.axis2.addressing.EndpointReference, org.apache.axiom.om.OMElement)">fromOM</a></strong>(<a href="../../../../org/apache/axis2/addressing/EndpointReference.html" title="class in org.apache.axis2.addressing">EndpointReference</a>&nbsp;epr,
<a href="http://ws.apache.org/axiom/apidocs/org/apache/axiom/om/OMElement.html?is-external=true" title="class or interface in org.apache.axiom.om">OMElement</a>&nbsp;eprOMElement)</code>
<div class="block">Populates an endpoint reference based on the <code>OMElement</code>.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/axis2/addressing/EndpointReferenceHelper.html#fromOM(org.apache.axis2.addressing.EndpointReference, org.apache.axiom.om.OMElement, java.lang.String)">fromOM</a></strong>(<a href="../../../../org/apache/axis2/addressing/EndpointReference.html" title="class in org.apache.axis2.addressing">EndpointReference</a>&nbsp;epr,
<a href="http://ws.apache.org/axiom/apidocs/org/apache/axiom/om/OMElement.html?is-external=true" title="class or interface in org.apache.axiom.om">OMElement</a>&nbsp;eprOMElement,
<a href="http://docs.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;addressingNamespace)</code>
<div class="block">Populates an endpoint reference based on the <code>OMElement</code> and
WS-Addressing namespace that is passed in.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/axis2/addressing/EndpointReference.html" title="class in org.apache.axis2.addressing">EndpointReference</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/axis2/addressing/EndpointReferenceHelper.html#fromOM(org.apache.axiom.om.OMElement)">fromOM</a></strong>(<a href="http://ws.apache.org/axiom/apidocs/org/apache/axiom/om/OMElement.html?is-external=true" title="class or interface in org.apache.axiom.om">OMElement</a>&nbsp;eprOMElement)</code>
<div class="block">Populates an endpoint reference based on the <code>OMElement</code> that is
passed in.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/axis2/addressing/EndpointReference.html" title="class in org.apache.axis2.addressing">EndpointReference</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/axis2/addressing/EndpointReferenceHelper.html#fromString(java.lang.String)">fromString</a></strong>(<a href="http://docs.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;eprString)</code>
<div class="block">Populates an endpoint reference based on the <code>String</code> that is
passed in.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/axis2/addressing/metadata/InterfaceName.html" title="class in org.apache.axis2.addressing.metadata">InterfaceName</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/axis2/addressing/EndpointReferenceHelper.html#getInterfaceNameMetadata(org.apache.axis2.addressing.EndpointReference, java.lang.String)">getInterfaceNameMetadata</a></strong>(<a href="../../../../org/apache/axis2/addressing/EndpointReference.html" title="class in org.apache.axis2.addressing">EndpointReference</a>&nbsp;epr,
<a href="http://docs.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;addressingNamespace)</code>
<div class="block">Retrieves the WS-Addressing EPR PortType, or InterfaceName, element from an EPR,
as appropriate.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/axis2/addressing/metadata/ServiceName.html" title="class in org.apache.axis2.addressing.metadata">ServiceName</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/axis2/addressing/EndpointReferenceHelper.html#getServiceNameMetadata(org.apache.axis2.addressing.EndpointReference, java.lang.String)">getServiceNameMetadata</a></strong>(<a href="../../../../org/apache/axis2/addressing/EndpointReference.html" title="class in org.apache.axis2.addressing">EndpointReference</a>&nbsp;epr,
<a href="http://docs.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;addressingNamespace)</code>
<div class="block">Retrieves the WS-Addressing EPR ServiceName element from an EPR.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/axis2/addressing/metadata/WSDLLocation.html" title="class in org.apache.axis2.addressing.metadata">WSDLLocation</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/axis2/addressing/EndpointReferenceHelper.html#getWSDLLocationMetadata(org.apache.axis2.addressing.EndpointReference, java.lang.String)">getWSDLLocationMetadata</a></strong>(<a href="../../../../org/apache/axis2/addressing/EndpointReference.html" title="class in org.apache.axis2.addressing">EndpointReference</a>&nbsp;epr,
<a href="http://docs.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;addressingNamespace)</code>
<div class="block">Retrieves the wsdli:wsdlLocation attribute from an EPR.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/axis2/addressing/EndpointReferenceHelper.html#setInterfaceNameMetadata(org.apache.axiom.om.OMFactory, org.apache.axis2.addressing.EndpointReference, java.lang.String, org.apache.axis2.addressing.metadata.InterfaceName)">setInterfaceNameMetadata</a></strong>(<a href="http://ws.apache.org/axiom/apidocs/org/apache/axiom/om/OMFactory.html?is-external=true" title="class or interface in org.apache.axiom.om">OMFactory</a>&nbsp;factory,
<a href="../../../../org/apache/axis2/addressing/EndpointReference.html" title="class in org.apache.axis2.addressing">EndpointReference</a>&nbsp;epr,
<a href="http://docs.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;addressingNamespace,
<a href="../../../../org/apache/axis2/addressing/metadata/InterfaceName.html" title="class in org.apache.axis2.addressing.metadata">InterfaceName</a>&nbsp;interfaceName)</code>
<div class="block">Adds an instance of <code>InterfaceName</code> as metadata to the specified EPR.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/axis2/addressing/EndpointReferenceHelper.html#setServiceNameMetadata(org.apache.axiom.om.OMFactory, org.apache.axis2.addressing.EndpointReference, java.lang.String, org.apache.axis2.addressing.metadata.ServiceName)">setServiceNameMetadata</a></strong>(<a href="http://ws.apache.org/axiom/apidocs/org/apache/axiom/om/OMFactory.html?is-external=true" title="class or interface in org.apache.axiom.om">OMFactory</a>&nbsp;factory,
<a href="../../../../org/apache/axis2/addressing/EndpointReference.html" title="class in org.apache.axis2.addressing">EndpointReference</a>&nbsp;epr,
<a href="http://docs.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;addressingNamespace,
<a href="../../../../org/apache/axis2/addressing/metadata/ServiceName.html" title="class in org.apache.axis2.addressing.metadata">ServiceName</a>&nbsp;serviceName)</code>
<div class="block">Adds an instance of <code>ServiceName</code> as metadata to the specified EPR.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/axis2/addressing/EndpointReferenceHelper.html#setWSDLLocationMetadata(org.apache.axiom.om.OMFactory, org.apache.axis2.addressing.EndpointReference, java.lang.String, org.apache.axis2.addressing.metadata.WSDLLocation)">setWSDLLocationMetadata</a></strong>(<a href="http://ws.apache.org/axiom/apidocs/org/apache/axiom/om/OMFactory.html?is-external=true" title="class or interface in org.apache.axiom.om">OMFactory</a>&nbsp;factory,
<a href="../../../../org/apache/axis2/addressing/EndpointReference.html" title="class in org.apache.axis2.addressing">EndpointReference</a>&nbsp;epr,
<a href="http://docs.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;addressingNamespace,
<a href="../../../../org/apache/axis2/addressing/metadata/WSDLLocation.html" title="class in org.apache.axis2.addressing.metadata">WSDLLocation</a>&nbsp;wsdlLocation)</code>
<div class="block">Adds an instance of <code>WSDLLocation</code> as metadata to the specified EPR.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="http://ws.apache.org/axiom/apidocs/org/apache/axiom/om/OMElement.html?is-external=true" title="class or interface in org.apache.axiom.om">OMElement</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/axis2/addressing/EndpointReferenceHelper.html#toOM(org.apache.axiom.om.OMFactory, org.apache.axis2.addressing.EndpointReference, javax.xml.namespace.QName, java.lang.String)">toOM</a></strong>(<a href="http://ws.apache.org/axiom/apidocs/org/apache/axiom/om/OMFactory.html?is-external=true" title="class or interface in org.apache.axiom.om">OMFactory</a>&nbsp;factory,
<a href="../../../../org/apache/axis2/addressing/EndpointReference.html" title="class in org.apache.axis2.addressing">EndpointReference</a>&nbsp;epr,
<a href="http://docs.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;qname,
<a href="http://docs.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;addressingNamespace)</code>
<div class="block">Creates an <code>OMElement</code> based on the properties of the endpoint
reference.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
<code><a href="http://docs.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://docs.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://docs.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://docs.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://docs.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://docs.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://docs.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://docs.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://docs.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://docs.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://docs.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></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="EndpointReferenceHelper()">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>EndpointReferenceHelper</h4>
<pre>public&nbsp;EndpointReferenceHelper()</pre>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method_detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="fromOM(org.apache.axis2.addressing.EndpointReference, org.apache.axiom.om.OMElement, java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>fromOM</h4>
<pre>public static&nbsp;void&nbsp;fromOM(<a href="../../../../org/apache/axis2/addressing/EndpointReference.html" title="class in org.apache.axis2.addressing">EndpointReference</a>&nbsp;epr,
<a href="http://ws.apache.org/axiom/apidocs/org/apache/axiom/om/OMElement.html?is-external=true" title="class or interface in org.apache.axiom.om">OMElement</a>&nbsp;eprOMElement,
<a href="http://docs.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;addressingNamespace)
throws <a href="../../../../org/apache/axis2/AxisFault.html" title="class in org.apache.axis2">AxisFault</a></pre>
<div class="block">Populates an endpoint reference based on the <code>OMElement</code> and
WS-Addressing namespace that is passed in.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>epr</code> - an endpoint reference instance to hold the info.</dd><dd><code>eprOMElement</code> - an element of endpoint reference type</dd><dd><code>addressingNamespace</code> - the namespace of the WS-Addressing spec to comply with.</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../../org/apache/axis2/AxisFault.html" title="class in org.apache.axis2">AxisFault</a></code> - if unable to locate an address element, or if the specified namespace
is different to the actual namespace.</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../org/apache/axis2/addressing/EndpointReferenceHelper.html#fromOM(org.apache.axiom.om.OMElement)"><code>fromOM(OMElement)</code></a></dd></dl>
</li>
</ul>
<a name="fromOM(org.apache.axis2.addressing.EndpointReference, org.apache.axiom.om.OMElement)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>fromOM</h4>
<pre>public static&nbsp;<a href="http://docs.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;fromOM(<a href="../../../../org/apache/axis2/addressing/EndpointReference.html" title="class in org.apache.axis2.addressing">EndpointReference</a>&nbsp;epr,
<a href="http://ws.apache.org/axiom/apidocs/org/apache/axiom/om/OMElement.html?is-external=true" title="class or interface in org.apache.axiom.om">OMElement</a>&nbsp;eprOMElement)
throws <a href="../../../../org/apache/axis2/AxisFault.html" title="class in org.apache.axis2">AxisFault</a></pre>
<div class="block">Populates an endpoint reference based on the <code>OMElement</code>. Returns the
WS-Addressing namespace of the endpoint reference.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>epr</code> - an endpoint reference instance to hold the info. If the endpoint
reference is null then just the WS-Addressing namespace is returned.</dd><dd><code>eprOMElement</code> - an element of endpoint reference type</dd>
<dt><span class="strong">Returns:</span></dt><dd>a string representing the WS-Addressing namespace of the endpoint reference.</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../../org/apache/axis2/AxisFault.html" title="class in org.apache.axis2">AxisFault</a></code> - if unable to locate an address element.</dd></dl>
</li>
</ul>
<a name="fromString(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>fromString</h4>
<pre>public static&nbsp;<a href="../../../../org/apache/axis2/addressing/EndpointReference.html" title="class in org.apache.axis2.addressing">EndpointReference</a>&nbsp;fromString(<a href="http://docs.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;eprString)
throws <a href="../../../../org/apache/axis2/AxisFault.html" title="class in org.apache.axis2">AxisFault</a></pre>
<div class="block">Populates an endpoint reference based on the <code>String</code> that is
passed in. If the http://schemas.xmlsoap.org/ws/2004/08/addressing namespace
is in effect then any reference properties will be saved as reference parameters.
Regardless of the addressing namespace in effect, any elements present in the
<code>String</code> that are not recognised are saved as extensibility elements.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>eprString</code> - string from the element of endpoint reference type</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../../org/apache/axis2/AxisFault.html" title="class in org.apache.axis2">AxisFault</a></code> - if unable to locate an address element</dd></dl>
</li>
</ul>
<a name="fromOM(org.apache.axiom.om.OMElement)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>fromOM</h4>
<pre>public static&nbsp;<a href="../../../../org/apache/axis2/addressing/EndpointReference.html" title="class in org.apache.axis2.addressing">EndpointReference</a>&nbsp;fromOM(<a href="http://ws.apache.org/axiom/apidocs/org/apache/axiom/om/OMElement.html?is-external=true" title="class or interface in org.apache.axiom.om">OMElement</a>&nbsp;eprOMElement)
throws <a href="../../../../org/apache/axis2/AxisFault.html" title="class in org.apache.axis2">AxisFault</a></pre>
<div class="block">Populates an endpoint reference based on the <code>OMElement</code> that is
passed in. If the http://schemas.xmlsoap.org/ws/2004/08/addressing namespace
is in effect then any reference properties will be saved as reference parameters.
Regardless of the addressing namespace in effect, any elements present in the
<code>OMElement</code> that are not recognised are saved as extensibility elements.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>eprOMElement</code> - an element of endpoint reference type</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../../org/apache/axis2/AxisFault.html" title="class in org.apache.axis2">AxisFault</a></code> - if unable to locate an address element</dd></dl>
</li>
</ul>
<a name="toOM(org.apache.axiom.om.OMFactory, org.apache.axis2.addressing.EndpointReference, javax.xml.namespace.QName, java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toOM</h4>
<pre>public static&nbsp;<a href="http://ws.apache.org/axiom/apidocs/org/apache/axiom/om/OMElement.html?is-external=true" title="class or interface in org.apache.axiom.om">OMElement</a>&nbsp;toOM(<a href="http://ws.apache.org/axiom/apidocs/org/apache/axiom/om/OMFactory.html?is-external=true" title="class or interface in org.apache.axiom.om">OMFactory</a>&nbsp;factory,
<a href="../../../../org/apache/axis2/addressing/EndpointReference.html" title="class in org.apache.axis2.addressing">EndpointReference</a>&nbsp;epr,
<a href="http://docs.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;qname,
<a href="http://docs.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;addressingNamespace)
throws <a href="../../../../org/apache/axis2/AxisFault.html" title="class in org.apache.axis2">AxisFault</a></pre>
<div class="block">Creates an <code>OMElement</code> based on the properties of the endpoint
reference. The output may differ based on the addressing namespace that is
in effect when this method is called. If the http://www.w3.org/2005/08/addressing
namespace is in effect, and a metadata property has been defined for the
endpoint reference, then there will be a metadata element to contain the
property in the output. If the http://schemas.xmlsoap.org/ws/2004/08/addressing
namespace is in effect, however, then no metadata element will be included
in the output, even if a metadata property element has been defined.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>factory</code> - </dd><dd><code>epr</code> - </dd><dd><code>qname</code> - </dd><dd><code>addressingNamespace</code> - </dd>
<dt><span class="strong">Returns:</span></dt><dd></dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../../org/apache/axis2/AxisFault.html" title="class in org.apache.axis2">AxisFault</a></code></dd></dl>
</li>
</ul>
<a name="getServiceNameMetadata(org.apache.axis2.addressing.EndpointReference, java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getServiceNameMetadata</h4>
<pre>public static&nbsp;<a href="../../../../org/apache/axis2/addressing/metadata/ServiceName.html" title="class in org.apache.axis2.addressing.metadata">ServiceName</a>&nbsp;getServiceNameMetadata(<a href="../../../../org/apache/axis2/addressing/EndpointReference.html" title="class in org.apache.axis2.addressing">EndpointReference</a>&nbsp;epr,
<a href="http://docs.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;addressingNamespace)
throws <a href="../../../../org/apache/axis2/AxisFault.html" title="class in org.apache.axis2">AxisFault</a></pre>
<div class="block">Retrieves the WS-Addressing EPR ServiceName element from an EPR.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>epr</code> - the EPR to retrieve the element from</dd><dd><code>addressingNamespace</code> - the WS-Addressing namespace associated with
the EPR.</dd>
<dt><span class="strong">Returns:</span></dt><dd>an instance of <code>ServiceName</code>. The return value is
never <code>null</code>.</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../../org/apache/axis2/AxisFault.html" title="class in org.apache.axis2">AxisFault</a></code></dd></dl>
</li>
</ul>
<a name="getInterfaceNameMetadata(org.apache.axis2.addressing.EndpointReference, java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getInterfaceNameMetadata</h4>
<pre>public static&nbsp;<a href="../../../../org/apache/axis2/addressing/metadata/InterfaceName.html" title="class in org.apache.axis2.addressing.metadata">InterfaceName</a>&nbsp;getInterfaceNameMetadata(<a href="../../../../org/apache/axis2/addressing/EndpointReference.html" title="class in org.apache.axis2.addressing">EndpointReference</a>&nbsp;epr,
<a href="http://docs.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;addressingNamespace)
throws <a href="../../../../org/apache/axis2/AxisFault.html" title="class in org.apache.axis2">AxisFault</a></pre>
<div class="block">Retrieves the WS-Addressing EPR PortType, or InterfaceName, element from an EPR,
as appropriate.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>epr</code> - the EPR to retrieve the element from</dd><dd><code>addressingNamespace</code> - the WS-Addressing namespace associated with
the EPR.</dd>
<dt><span class="strong">Returns:</span></dt><dd>an instance of <code>InterfaceName</code>. The return value is
never <code>null</code>.</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../../org/apache/axis2/AxisFault.html" title="class in org.apache.axis2">AxisFault</a></code></dd></dl>
</li>
</ul>
<a name="getWSDLLocationMetadata(org.apache.axis2.addressing.EndpointReference, java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getWSDLLocationMetadata</h4>
<pre>public static&nbsp;<a href="../../../../org/apache/axis2/addressing/metadata/WSDLLocation.html" title="class in org.apache.axis2.addressing.metadata">WSDLLocation</a>&nbsp;getWSDLLocationMetadata(<a href="../../../../org/apache/axis2/addressing/EndpointReference.html" title="class in org.apache.axis2.addressing">EndpointReference</a>&nbsp;epr,
<a href="http://docs.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;addressingNamespace)
throws <a href="../../../../org/apache/axis2/AxisFault.html" title="class in org.apache.axis2">AxisFault</a></pre>
<div class="block">Retrieves the wsdli:wsdlLocation attribute from an EPR.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>epr</code> - the EPR to retrieve the attribute from</dd><dd><code>addressingNamespace</code> - the WS-Addressing namespace associated with
the EPR.</dd>
<dt><span class="strong">Returns:</span></dt><dd>an instance of <code>WSDLLocation</code>. The return value is
never <code>null</code>.</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../../org/apache/axis2/AxisFault.html" title="class in org.apache.axis2">AxisFault</a></code></dd></dl>
</li>
</ul>
<a name="setServiceNameMetadata(org.apache.axiom.om.OMFactory, org.apache.axis2.addressing.EndpointReference, java.lang.String, org.apache.axis2.addressing.metadata.ServiceName)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setServiceNameMetadata</h4>
<pre>public static&nbsp;void&nbsp;setServiceNameMetadata(<a href="http://ws.apache.org/axiom/apidocs/org/apache/axiom/om/OMFactory.html?is-external=true" title="class or interface in org.apache.axiom.om">OMFactory</a>&nbsp;factory,
<a href="../../../../org/apache/axis2/addressing/EndpointReference.html" title="class in org.apache.axis2.addressing">EndpointReference</a>&nbsp;epr,
<a href="http://docs.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;addressingNamespace,
<a href="../../../../org/apache/axis2/addressing/metadata/ServiceName.html" title="class in org.apache.axis2.addressing.metadata">ServiceName</a>&nbsp;serviceName)
throws <a href="../../../../org/apache/axis2/AxisFault.html" title="class in org.apache.axis2">AxisFault</a></pre>
<div class="block">Adds an instance of <code>ServiceName</code> as metadata to the specified EPR.
The metadata is mapped to a WS-Addressing EPR ServiceName element.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>factory</code> - an <code>OMFactory</code></dd><dd><code>epr</code> - the EPR to retrieve the attribute from</dd><dd><code>addressingNamespace</code> - the WS-Addressing namespace associated with
the EPR.</dd><dd><code>serviceName</code> - an instance of <code>ServiceName</code> that contains the
metadata</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../../org/apache/axis2/AxisFault.html" title="class in org.apache.axis2">AxisFault</a></code></dd></dl>
</li>
</ul>
<a name="setInterfaceNameMetadata(org.apache.axiom.om.OMFactory, org.apache.axis2.addressing.EndpointReference, java.lang.String, org.apache.axis2.addressing.metadata.InterfaceName)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setInterfaceNameMetadata</h4>
<pre>public static&nbsp;void&nbsp;setInterfaceNameMetadata(<a href="http://ws.apache.org/axiom/apidocs/org/apache/axiom/om/OMFactory.html?is-external=true" title="class or interface in org.apache.axiom.om">OMFactory</a>&nbsp;factory,
<a href="../../../../org/apache/axis2/addressing/EndpointReference.html" title="class in org.apache.axis2.addressing">EndpointReference</a>&nbsp;epr,
<a href="http://docs.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;addressingNamespace,
<a href="../../../../org/apache/axis2/addressing/metadata/InterfaceName.html" title="class in org.apache.axis2.addressing.metadata">InterfaceName</a>&nbsp;interfaceName)
throws <a href="../../../../org/apache/axis2/AxisFault.html" title="class in org.apache.axis2">AxisFault</a></pre>
<div class="block">Adds an instance of <code>InterfaceName</code> as metadata to the specified EPR.
The metadata is mapped to a WS-Addressing EPR PortType or InterfaceName element.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>factory</code> - an <code>OMFactory</code></dd><dd><code>epr</code> - the EPR to retrieve the attribute from</dd><dd><code>addressingNamespace</code> - the WS-Addressing namespace associated with
the EPR.</dd><dd><code>interfaceName</code> - an instance of <code>InterfaceName</code> that contains the
metadata</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../../org/apache/axis2/AxisFault.html" title="class in org.apache.axis2">AxisFault</a></code></dd></dl>
</li>
</ul>
<a name="setWSDLLocationMetadata(org.apache.axiom.om.OMFactory, org.apache.axis2.addressing.EndpointReference, java.lang.String, org.apache.axis2.addressing.metadata.WSDLLocation)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>setWSDLLocationMetadata</h4>
<pre>public static&nbsp;void&nbsp;setWSDLLocationMetadata(<a href="http://ws.apache.org/axiom/apidocs/org/apache/axiom/om/OMFactory.html?is-external=true" title="class or interface in org.apache.axiom.om">OMFactory</a>&nbsp;factory,
<a href="../../../../org/apache/axis2/addressing/EndpointReference.html" title="class in org.apache.axis2.addressing">EndpointReference</a>&nbsp;epr,
<a href="http://docs.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;addressingNamespace,
<a href="../../../../org/apache/axis2/addressing/metadata/WSDLLocation.html" title="class in org.apache.axis2.addressing.metadata">WSDLLocation</a>&nbsp;wsdlLocation)
throws <a href="../../../../org/apache/axis2/AxisFault.html" title="class in org.apache.axis2">AxisFault</a></pre>
<div class="block">Adds an instance of <code>WSDLLocation</code> as metadata to the specified EPR.
The metadata is mapped to a wsdli:wsdlLocation attribute.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>factory</code> - an <code>OMFactory</code></dd><dd><code>epr</code> - the EPR to retrieve the attribute from</dd><dd><code>addressingNamespace</code> - the WS-Addressing namespace associated with
the EPR.</dd><dd><code>wsdlLocation</code> - an instance of <code>WSDLLocation</code> that contains the
metadata</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../../org/apache/axis2/AxisFault.html" title="class in org.apache.axis2">AxisFault</a></code></dd></dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!-- -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/EndpointReferenceHelper.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../org/apache/axis2/addressing/EndpointReference.html" title="class in org.apache.axis2.addressing"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../../org/apache/axis2/addressing/RelatesTo.html" title="class in org.apache.axis2.addressing"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/apache/axis2/addressing/EndpointReferenceHelper.html" target="_top">Frames</a></li>
<li><a href="EndpointReferenceHelper.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &copy; <a href="https://www.apache.org/">The Apache Software Foundation</a>. All Rights Reserved.</small></p>
</body>
</html>