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