org.codehaus.xfire.wsdl11.builder
Class WSDLBuilder
java.lang.Object
org.codehaus.xfire.wsdl11.builder.AbstractWSDL
org.codehaus.xfire.wsdl11.builder.WSDLBuilder
- All Implemented Interfaces:
- WSDLWriter
- public class WSDLBuilder
- extends AbstractWSDL
- implements WSDLWriter
WSDL
- Author:
- Dan Diephouse
Method Summary |
javax.wsdl.PortType |
createAbstractInterface()
|
void |
createConcreteInterface(javax.wsdl.PortType portType)
|
javax.wsdl.Part |
createDocLitPart(javax.xml.namespace.QName pName,
java.lang.Class clazz,
SchemaType type)
Creates a wsdl:message part and a global schema element for it if it is
abstract. |
protected javax.xml.namespace.QName |
createDocumentType(MessageInfo message,
javax.wsdl.Part part,
java.lang.String opName)
|
void |
createInputParts(javax.wsdl.Message req,
OperationInfo op)
|
javax.wsdl.Operation |
createOperation(OperationInfo op,
javax.wsdl.Message req,
javax.wsdl.Message res,
java.util.List faultMessages)
|
void |
createOutputParts(javax.wsdl.Message req,
OperationInfo op)
|
javax.wsdl.Part |
createPart(MessagePartInfo part)
|
javax.wsdl.Part |
createRpcLitPart(javax.xml.namespace.QName pName,
java.lang.Class clazz,
SchemaType type)
Creates a wsdl:message part without creating a global schema
element. |
protected org.jdom.Element |
createSequence(org.jdom.Element complex)
|
protected void |
createWrappedInputParts(javax.wsdl.Message req,
OperationInfo op)
|
protected void |
createWrappedOutputParts(javax.wsdl.Message req,
OperationInfo op)
|
TransportManager |
getTransportManager()
|
void |
setTransportManager(TransportManager transportManager)
|
void |
write(java.io.OutputStream out)
Write the WSDL to an OutputStream. |
protected void |
writeParametersSchema(java.util.Collection params,
org.jdom.Element sequence)
|
Methods inherited from class org.codehaus.xfire.wsdl11.builder.AbstractWSDL |
addDependency, addNamespace, addNamespaceImport, addSchema, addSchemas, cleanImport, cleanImports, cleanImports, createSchemaType, getDefinition, getDocument, getImport, getNamespacePrefix, getSchemaTypes, getService, getTargetNamespace, hasDependency, hasSchema, isSchemaLocationRemoved, removeAllImports, setDefinition, setSchema, setSchemaLocationRemoved, setSchemaTypes, setService, writeComplexTypes, writeDocument, writeImports |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WSDLBuilder
public WSDLBuilder(Service service,
TransportManager transportManager)
throws javax.wsdl.WSDLException
getTransportManager
public TransportManager getTransportManager()
setTransportManager
public void setTransportManager(TransportManager transportManager)
write
public void write(java.io.OutputStream out)
throws java.io.IOException
- Description copied from interface:
WSDLWriter
- Write the WSDL to an OutputStream.
- Specified by:
write
in interface WSDLWriter
- Overrides:
write
in class AbstractWSDL
- Throws:
java.io.IOException
- See Also:
WSDLWriter.write(java.io.OutputStream)
createAbstractInterface
public javax.wsdl.PortType createAbstractInterface()
throws javax.wsdl.WSDLException
- Throws:
javax.wsdl.WSDLException
createConcreteInterface
public void createConcreteInterface(javax.wsdl.PortType portType)
createPart
public javax.wsdl.Part createPart(MessagePartInfo part)
createRpcLitPart
public javax.wsdl.Part createRpcLitPart(javax.xml.namespace.QName pName,
java.lang.Class clazz,
SchemaType type)
- Creates a wsdl:message part without creating a global schema
element.
- Parameters:
pName
- clazz
- type
-
- Returns:
createDocLitPart
public javax.wsdl.Part createDocLitPart(javax.xml.namespace.QName pName,
java.lang.Class clazz,
SchemaType type)
- Creates a wsdl:message part and a global schema element for it if it is
abstract.
- Parameters:
pName
- clazz
- type
-
- Returns:
createOperation
public javax.wsdl.Operation createOperation(OperationInfo op,
javax.wsdl.Message req,
javax.wsdl.Message res,
java.util.List faultMessages)
createInputParts
public void createInputParts(javax.wsdl.Message req,
OperationInfo op)
createOutputParts
public void createOutputParts(javax.wsdl.Message req,
OperationInfo op)
createWrappedInputParts
protected void createWrappedInputParts(javax.wsdl.Message req,
OperationInfo op)
createWrappedOutputParts
protected void createWrappedOutputParts(javax.wsdl.Message req,
OperationInfo op)
createDocumentType
protected javax.xml.namespace.QName createDocumentType(MessageInfo message,
javax.wsdl.Part part,
java.lang.String opName)
writeParametersSchema
protected void writeParametersSchema(java.util.Collection params,
org.jdom.Element sequence)
- Parameters:
sequence
-
createSequence
protected org.jdom.Element createSequence(org.jdom.Element complex)
Copyright © 2004-2006 null. All Rights Reserved.