|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.wsil.util.WSILDocBuilder
public class WSILDocBuilder
This class builds a WSIL document.
Field Summary | |
---|---|
protected static int |
MAX_ROWS
Max number of rows returned by the UDDI registry. |
protected WSILDocument |
wsilDocument
WSIL inspection document reference. |
Constructor Summary | |
---|---|
WSILDocBuilder()
Creates a new WSILDocBuilder instance. |
|
WSILDocBuilder(java.lang.String root)
Creates a new WSILDocBuilder instance. |
|
WSILDocBuilder(java.net.URL registryURL)
Creates a new WSILDocBuilder instance. |
|
WSILDocBuilder(java.net.URL registryURL,
java.lang.String businessKey)
Creates a new WSILDocBuilder instance. |
Method Summary | |
---|---|
void |
addLink(java.lang.String referencedNamespace,
java.lang.String location)
Adds a link object to the WSIL document |
void |
addLink(java.net.URL registryURL)
Adds a link object to the WSIL document |
void |
addService(java.lang.String root)
Adds a list of WSIL Service objects to the WSIL Document. |
void |
addService(java.net.URL registryURL)
Adds a list of UDDI Service objects to the WSIL Document. |
protected BusinessEntity[] |
findBusinessEntities(BusinessInfos businessInfos,
UDDIProxy up)
Get all BusinessEntity objects from a BusinessInfos object. |
protected BusinessService[] |
findServices(ServiceList serviceList,
UDDIProxy up)
Find all BusinessService objects given a serviceList object |
static java.util.Vector |
getBusinessKeyVector(BusinessInfos businessInfos)
Get business keys from a list of businessInfos. |
WSILDocument |
getWSILDocument()
Returns a WSIL document. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final int MAX_ROWS
protected WSILDocument wsilDocument
Constructor Detail |
---|
public WSILDocBuilder() throws WSILException
WSILDocBuilder
instance.
WSILException
public WSILDocBuilder(java.lang.String root) throws WSILException, WSDLException, java.io.IOException
WSILDocBuilder
instance.
root
- a String
value
WSILException
- if an error occurs
WSDLException
- if an error occurs
java.io.IOException
- if an error occurspublic WSILDocBuilder(java.net.URL registryURL) throws WSILException
WSILDocBuilder
instance.
registryURL
- an URL
value
WSILException
- if an error occurspublic WSILDocBuilder(java.net.URL registryURL, java.lang.String businessKey) throws WSILException
WSILDocBuilder
instance.
registryURL
- an URL
valuebusinessKey
- a String
value
WSILException
- if an error occursMethod Detail |
---|
public WSILDocument getWSILDocument()
WSILDocument
valuepublic void addLink(java.lang.String referencedNamespace, java.lang.String location)
referencedNamespace
- a String
valuelocation
- a String
valuepublic void addLink(java.net.URL registryURL) throws WSILException
registryURL
- an URL
value
WSILException
- if an error occurspublic void addService(java.lang.String root) throws WSILException, WSDLException, java.io.IOException
root
- a String
value
WSILException
- if an error occurs
WSDLException
- if an error occurs
java.io.IOException
- if an error occurspublic void addService(java.net.URL registryURL) throws WSILException
registryURL
- an URL
value
WSILException
- if an error occursprotected BusinessService[] findServices(ServiceList serviceList, UDDIProxy up) throws WSILException
serviceList
-
WSILException
protected BusinessEntity[] findBusinessEntities(BusinessInfos businessInfos, UDDIProxy up) throws WSILException
businessInfos
-
WSILException
public static java.util.Vector getBusinessKeyVector(BusinessInfos businessInfos)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |