|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.ow2.jonas.deployment.ws.WSDLFile
public class WSDLFile
Gives methods to get WSDL informations and to validate these one.
Constructor Summary | |
---|---|
WSDLFile(ClassLoader cl,
String name)
Creates a new WSDLFile object. |
|
WSDLFile(URL url,
String name)
Creates a new WSDLFile object. |
Method Summary | |
---|---|
boolean |
equals(Object other)
Return true if the 2 objects seems equals. |
javax.wsdl.Definition |
getDefinition()
return WSDL definition, null if it's undefined. |
protected static I18n |
getI18n()
|
URL |
getLocation(QName portQName)
return the given port location, null if the port is undefined. |
String |
getName()
Return wsdl file name |
int |
getNbServices()
return the number of services defined inside the wsdl. |
QName |
getServiceQname()
return the QName of the first service, null if no service is defined. |
boolean |
hasPort(QName portQName)
return true if the port identified by portQname is defined in WSDL ports. |
boolean |
hasPort(String portName)
return true if the port identified by portName is defined in WSDL ports. |
boolean |
hasPortsIncludedIn(List portList)
return true if all WSDL ports are defined in portList. |
boolean |
hasService(QName srvQName)
return true if the service identified by srvQName is defined in WSDL services. |
boolean |
hasSOAPBinding(QName portQName)
return true if the port identified by portQname use a SOAP binding. |
boolean |
hasSOAPHeader(QName shQName)
return true if shQName is defined in WSDL services. |
void |
setLocation(QName portQName,
URL loc)
set the given port location if it exists. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public WSDLFile(ClassLoader cl, String name) throws WSDeploymentDescException
cl
- ClassLoader to usename
- wsdl file name
WSDeploymentDescException
- when a parse error occurspublic WSDLFile(URL url, String name) throws WSDeploymentDescException
url
- URL to loadname
- wsdl file name
WSDeploymentDescException
- when a parse error occursMethod Detail |
---|
public boolean hasPort(QName portQName)
portQName
- the port to check.
public boolean hasPort(String portName)
portName
- the port to check.
public boolean hasService(QName srvQName)
srvQName
- the service to check.
public boolean hasSOAPHeader(QName shQName)
shQName
- a soap header Qname that could be defined in the WSDL.
public boolean hasPortsIncludedIn(List portList)
portList
- the ports List to check.
public boolean hasSOAPBinding(QName portQName)
portQName
- the port to check.
public javax.wsdl.Definition getDefinition()
public int getNbServices()
public QName getServiceQname()
public URL getLocation(QName portQName) throws WSDeploymentDescException
portQName
- the port QName identifying the port searched.
WSDeploymentDescException
- when port is not foundpublic void setLocation(QName portQName, URL loc)
portQName
- the port to set.loc
- the port location.public String getName()
public String toString()
toString
in class Object
public boolean equals(Object other)
equals
in class Object
other
- the object to compare.
protected static I18n getI18n()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |