org.apache.axis2.addressing.metadata
Class WSDLLocation
java.lang.Object
   org.apache.axis2.addressing.metadata.WSDLLocation
org.apache.axis2.addressing.metadata.WSDLLocation
- public class WSDLLocation 
- extends java.lang.Object
 
| Method Summary | 
|  void | fromOM(org.apache.axiom.om.OMAttribute omAttribute)Convenience method for converting an OMAttribute to an instance of this type.
 | 
|  java.lang.String | getLocation()
 | 
|  java.lang.String | getTargetNamespace()
 | 
| static boolean | isWSDLLocationAttribute(org.apache.axiom.om.OMAttribute omAttribute)Static method to test whether an
 OMElementis recognized
 as a ServiceName element. | 
|  void | setLocation(java.lang.String wsdlURL)
 | 
|  void | setTargetNamespace(java.lang.String targetNamespace)
 | 
|  org.apache.axiom.om.OMAttribute | toOM(org.apache.axiom.om.OMFactory factory)Convenience method to convert an object of this type to an
 OMAttribute | 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
WSDLLocation
public WSDLLocation()
WSDLLocation
public WSDLLocation(java.lang.String targetNamespace,
                    java.lang.String wsdlURL)
getTargetNamespace
public java.lang.String getTargetNamespace()
- 
 
setTargetNamespace
public void setTargetNamespace(java.lang.String targetNamespace)
- 
 
getLocation
public java.lang.String getLocation()
- 
 
setLocation
public void setLocation(java.lang.String wsdlURL)
- 
 
toOM
public org.apache.axiom.om.OMAttribute toOM(org.apache.axiom.om.OMFactory factory)
- Convenience method to convert an object of this type to an OMAttribute
 
- 
- Parameters:
- factory-- OMFactoryto use when generating- OMElements
- Returns:
- an OMAttributethat can be added to anEndpointReference
 
fromOM
public void fromOM(org.apache.axiom.om.OMAttribute omAttribute)
            throws AxisFault
- Convenience method for converting an OMAttribute to an instance of this type.
 
 <... xmlns:wsdli="http://www.w3.org/2006/01/wsdl-instance" wsdli:wsdlLocation="targetNamespace wsdlURL" ...>
  
 
- 
- Parameters:
- omAttribute- the- OMAttributethat holds the wsdl location.
- Throws:
- AxisFault
 
isWSDLLocationAttribute
public static boolean isWSDLLocationAttribute(org.apache.axiom.om.OMAttribute omAttribute)
- Static method to test whether an OMElementis recognized
 as a ServiceName element. If this method returnstruethenfromOM(OMAttribute)is guaranteed not to throw an exception.
 
- 
- Parameters:
- omAttribute- the- OMElementto test.
- Returns:
- trueif the element is a ServiceName element,- falseotherwise.
 
Copyright © 2007 Apache Web Services Project. All Rights Reserved.