org.codehaus.xfire.wsdl11.builder
Class WSDLBuilder
java.lang.Object
org.codehaus.xfire.wsdl.AbstractWSDL
org.codehaus.xfire.wsdl11.builder.WSDLBuilder
- All Implemented Interfaces:
- WSDLWriter
public class WSDLBuilder
- extends AbstractWSDL
- implements WSDLWriter
WSDL
- Author:
- Dan Diephouse, Tomasz Sztelak
Method Summary |
void |
addNamespace(java.lang.String prefix,
java.lang.String uri)
|
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)
|
javax.wsdl.Definition |
getDefinition()
|
TransportManager |
getTransportManager()
|
java.util.List |
getWSDLBuilderExtensions()
|
void |
setDefinition(javax.wsdl.Definition definition)
|
void |
setTransportManager(TransportManager transportManager)
|
void |
setWSDLBuilderExtensions(java.util.List extensions)
|
void |
write(java.io.OutputStream out)
Write the WSDL to an OutputStream. |
protected void |
writeComplexTypes()
|
protected void |
writeParametersSchema(java.util.Collection params,
org.jdom.Element sequence)
|
Methods inherited from class org.codehaus.xfire.wsdl.AbstractWSDL |
addDependency, addNamespaceImport, addSchema, addSchemas, cleanImport, cleanImports, cleanImports, createSchemaType, getImport, getNamespacePrefix, getSchemaTypes, getService, getTargetNamespace, hasDependency, hasSchema, initialize, isSchemaLocationRemoved, removeAllImports, removeImports, setSchema, setSchemaLocationRemoved, setSchemaTypes, setService, updateImports, writeImports |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OVERRIDING_TYPES
public static final java.lang.String OVERRIDING_TYPES
- See Also:
- Constant Field Values
WSDLBuilder
public WSDLBuilder(Service service,
TransportManager transportManager)
throws javax.wsdl.WSDLException
- Throws:
javax.wsdl.WSDLException
getTransportManager
public TransportManager getTransportManager()
setTransportManager
public void setTransportManager(TransportManager transportManager)
writeComplexTypes
protected void writeComplexTypes()
- Specified by:
writeComplexTypes
in class AbstractWSDL
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
- Specified by:
write
in class AbstractWSDL
- Parameters:
out
- The OutputStream.
- Throws:
java.io.IOException
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:
op
- sequence
-
addNamespace
public void addNamespace(java.lang.String prefix,
java.lang.String uri)
- Overrides:
addNamespace
in class AbstractWSDL
createSequence
protected org.jdom.Element createSequence(org.jdom.Element complex)
getWSDLBuilderExtensions
public java.util.List getWSDLBuilderExtensions()
setWSDLBuilderExtensions
public void setWSDLBuilderExtensions(java.util.List extensions)
getDefinition
public javax.wsdl.Definition getDefinition()
setDefinition
public void setDefinition(javax.wsdl.Definition definition)
Copyright © 2004-2011. All Rights Reserved.