|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.xfire.wsdl11.parser.WSDLServiceBuilder
public class WSDLServiceBuilder
Builds a collection of Services from a WSDL.
Service
Field Summary | |
---|---|
protected javax.wsdl.Definition |
definition
|
static java.lang.String |
WRAPPED_TYPE
|
Constructor Summary | |
---|---|
WSDLServiceBuilder(javax.wsdl.Definition definition)
|
|
WSDLServiceBuilder(java.io.InputStream is)
|
|
WSDLServiceBuilder(java.lang.String baseURI,
org.xml.sax.InputSource source)
|
|
WSDLServiceBuilder(java.lang.String baseURI,
java.io.InputStream is)
|
Method Summary | |
---|---|
protected void |
addService(Service s)
Adds a service to the map of services and also to the list of all services. |
void |
build()
|
java.util.List |
getAllServices()
Gets a list of every service created. |
BindingProvider |
getBindingProvider()
|
javax.wsdl.Definition |
getDefinition()
|
java.util.List |
getDefinitions()
|
org.apache.ws.commons.schema.XmlSchemaCollection |
getSchemaCollection()
|
java.util.List |
getSchemas()
Returns a Collection of SchemaInfo objects. |
protected ServiceInfo |
getServiceInfo(javax.wsdl.PortType portType)
|
java.util.Map |
getServices()
Gets a Map of Services. |
protected java.lang.String |
getTargetNamespace()
|
TransportManager |
getTransportManager()
|
protected static boolean |
hasAttributes(org.apache.ws.commons.schema.XmlSchemaComplexType complexType)
|
boolean |
isForceBare()
|
static boolean |
isWrapped(javax.wsdl.Operation op,
org.apache.ws.commons.schema.XmlSchemaCollection schemas)
A message is wrapped IFF: The input message has a single part. |
protected void |
processImports(javax.wsdl.Definition parent)
|
void |
setBindingProvider(BindingProvider bindingProvider)
|
void |
setForceBare(boolean forceBare)
|
void |
setTransportManager(TransportManager transportManager)
|
protected void |
visit(javax.wsdl.Fault fault)
|
protected void |
visit(javax.wsdl.Input input)
|
protected void |
visit(javax.wsdl.Operation operation)
|
protected void |
visit(javax.wsdl.Output output)
|
protected void |
visit(javax.wsdl.PortType portType)
|
protected void |
visit(java.lang.String location,
javax.wsdl.Types types)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String WRAPPED_TYPE
protected final javax.wsdl.Definition definition
Constructor Detail |
---|
public WSDLServiceBuilder(javax.wsdl.Definition definition)
public WSDLServiceBuilder(java.io.InputStream is) throws javax.wsdl.WSDLException
javax.wsdl.WSDLException
public WSDLServiceBuilder(java.lang.String baseURI, java.io.InputStream is) throws javax.wsdl.WSDLException
javax.wsdl.WSDLException
public WSDLServiceBuilder(java.lang.String baseURI, org.xml.sax.InputSource source) throws javax.wsdl.WSDLException
javax.wsdl.WSDLException
Method Detail |
---|
public BindingProvider getBindingProvider()
public void setBindingProvider(BindingProvider bindingProvider)
public javax.wsdl.Definition getDefinition()
public java.util.List getDefinitions()
public TransportManager getTransportManager()
public void setTransportManager(TransportManager transportManager)
public void build() throws java.lang.Exception
java.lang.Exception
protected void addService(Service s)
s
- protected void processImports(javax.wsdl.Definition parent)
public java.util.Map getServices()
public java.util.List getAllServices()
protected void visit(java.lang.String location, javax.wsdl.Types types)
protected void visit(javax.wsdl.PortType portType)
protected ServiceInfo getServiceInfo(javax.wsdl.PortType portType)
protected void visit(javax.wsdl.Fault fault)
protected void visit(javax.wsdl.Input input)
protected void visit(javax.wsdl.Operation operation)
public static boolean isWrapped(javax.wsdl.Operation op, org.apache.ws.commons.schema.XmlSchemaCollection schemas)
protected static boolean hasAttributes(org.apache.ws.commons.schema.XmlSchemaComplexType complexType)
protected java.lang.String getTargetNamespace()
protected void visit(javax.wsdl.Output output)
public java.util.List getSchemas()
public org.apache.ws.commons.schema.XmlSchemaCollection getSchemaCollection()
public boolean isForceBare()
public void setForceBare(boolean forceBare)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |