Class WSDLLocation
- java.lang.Object
- 
- org.apache.axis2.addressing.metadata.WSDLLocation
 
- 
 public class WSDLLocation extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description WSDLLocation()WSDLLocation(String targetNamespace, String wsdlURL)
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidfromOM(OMAttribute omAttribute)Convenience method for converting an OMAttribute to an instance of either of these types.StringgetLocation()StringgetTargetNamespace()static booleanisWSDLLocationAttribute(OMAttribute omAttribute)Static method to test whether anOMElementis recognized as a ServiceName element.voidsetLocation(String wsdlURL)voidsetTargetNamespace(String targetNamespace)OMAttributetoOM(OMFactory factory)Convenience method to convert an object of this type to anOMAttribute
 
- 
- 
- 
Method Detail- 
getTargetNamespacepublic String getTargetNamespace() 
 - 
setTargetNamespacepublic void setTargetNamespace(String targetNamespace) 
 - 
getLocationpublic String getLocation() 
 - 
setLocationpublic void setLocation(String wsdlURL) 
 - 
toOMpublic OMAttribute toOM(OMFactory factory) Convenience method to convert an object of this type to anOMAttribute<... xmlns:wsdli="http://www.w3.org/ns/wsdl-instance" wsdli:wsdlLocation="targetNamespace wsdlURL" ...> - Parameters:
- factory-- OMFactoryto use when generating- OMElements
- Returns:
- an OMAttributethat can be added to anEndpointReference
 
 - 
fromOMpublic void fromOM(OMAttribute omAttribute) throws AxisFault Convenience method for converting an OMAttribute to an instance of either of these types.<... xmlns:wsdli="http://www.w3.org/2006/01/wsdl-instance" wsdli:wsdlLocation="targetNamespace wsdlURL" ...> <... xmlns:wsdli="http://www.w3.org/ns/wsdl-instance" wsdli:wsdlLocation="targetNamespace wsdlURL" ...> - Parameters:
- omAttribute- the- OMAttributethat holds the wsdl location.
- Throws:
- AxisFault
 
 - 
isWSDLLocationAttributepublic static boolean isWSDLLocationAttribute(OMAttribute omAttribute) Static method to test whether anOMElementis 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.
 
 
- 
 
-