public class OMWSDLWriter extends BaseWSDLWriter
features, fWsdlContext
Constructor and Description |
---|
OMWSDLWriter(WSDLContext wsdlContext) |
Modifier and Type | Method and Description |
---|---|
protected void |
printBindingFaults(BindingFaultElement[] faults,
DescriptionElement des,
PrintWriter pw)
Serialize the BindingFaultElements of the WSDL element model.
|
protected void |
printBindingOperations(BindingOperationElement[] operations,
DescriptionElement des,
PrintWriter pw)
Serialize the BindingOperationElements of the WSDL element model.
|
protected void |
printBindings(BindingElement[] bindings,
DescriptionElement des,
PrintWriter pw)
Serialize the printBindings of the WSDL element model.
|
protected void |
printDescription(DescriptionElement desEle,
PrintWriter pw)
Write the specified WSDL DescriptionElement and it's
child elements to the specified Writer.
|
protected void |
printDocumentation(DocumentationElement[] docEles,
DescriptionElement def,
PrintWriter pw)
Serialize the DocumentationElements of the WSDL element model.
|
protected void |
printEndpoints(EndpointElement[] endpoints,
DescriptionElement des,
PrintWriter pw)
Serialize the EndpointElements of the WSDL element model.
|
protected void |
printExtensibilityAttributes(XMLAttr[] attrExts,
WSDLElement ownerElem,
PrintWriter pw)
Serialize the printExtensibilityAttributess of the WSDL element model.
|
protected void |
printExtensibilityElements(Class parentType,
ExtensionElement[] extensibilityElements,
DescriptionElement def,
PrintWriter pw)
Serialize the ExtensibilityElements of the WSDL element model.
|
protected void |
printFaults(InterfaceFaultElement[] faulEles,
DescriptionElement des,
PrintWriter pw)
Serialize the InterfaceInterfaceFaultElement of the WSDL element model.
|
protected void |
printImportedSchemas(ImportedSchema[] importedSchema,
DescriptionElement des,
PrintWriter pw)
Serialize the ImportedSchemas of the WSDL element model.
|
protected void |
printImports(ImportElement[] imports,
DescriptionElement des,
PrintWriter pw)
Serialize the ImportElements of the WSDL element model.
|
protected void |
printIncludes(IncludeElement[] includes,
DescriptionElement des,
PrintWriter pw)
Serialize the IncludeElements of the WSDL element model.
|
protected void |
printInlinedSchemas(InlinedSchema[] inlinedSchema,
DescriptionElement des,
PrintWriter pw)
Serialize the InlinedSchemas of the WSDL element model.
|
protected void |
printInterfaceFaultReferences(InterfaceFaultReferenceElement[] faulRefs,
DescriptionElement des,
PrintWriter pw)
Serialize the InterfaceFaultReferenceElements of the WSDL element model.
|
protected void |
printInterfaceMessageReferences(InterfaceMessageReferenceElement[] msgrefs,
DescriptionElement des,
PrintWriter pw)
Serialize the InterfaceMessageReferenceElements of the WSDL element model.
|
protected void |
printInterfaces(InterfaceElement[] intrfaces,
DescriptionElement des,
PrintWriter pw)
Serialize the InterfaceElements of the WSDL element model.
|
protected void |
printNamespaceDeclarations(NamespaceDeclaration[] namespaces,
PrintWriter pw)
Serialize the namespace declarations of the WSDL Description.
|
protected void |
printOperations(InterfaceOperationElement[] operations,
DescriptionElement des,
PrintWriter pw)
Serialize the InterfaceOperationElements of the WSDL element model.
|
protected void |
printServices(ServiceElement[] services,
DescriptionElement des,
PrintWriter pw)
Serialize the ServiceElements of the WSDL element model.
|
protected void |
printTypes(TypesElement types,
DescriptionElement des,
PrintWriter pw)
Serialize the TypesElements of the WSDL element model.
|
void |
writeWSDL(DescriptionElement wsdlDes,
OutputStream sink)
This method write the specified WSDL Description to
the specified Writer.
|
void |
writeWSDL(DescriptionElement wsdlDes,
Writer sink)
This method write the specified WSDL Description to
the specified Writer.
|
getErrorReporter, getExtensionRegistry, getFactory, getFactoryImplName, getFeature, getProperty, setExtensionRegistry, setFactoryImplName, setFeature, setProperty
public OMWSDLWriter(WSDLContext wsdlContext)
public void writeWSDL(DescriptionElement wsdlDes, Writer sink) throws WSDLException
wsdlDes
- the WSDL Description to be written.sink
- the Writer to write the xml to.WSDLException
public void writeWSDL(DescriptionElement wsdlDes, OutputStream sink) throws WSDLException
wsdlDes
- the WSDL Description to be written.sink
- the OutputStream to write the xml to.WSDLException
protected void printDescription(DescriptionElement desEle, PrintWriter pw) throws WSDLException
desEle
- the WSDL Description to be written.sink
- the Writer to write the xml to.WSDLException
protected void printNamespaceDeclarations(NamespaceDeclaration[] namespaces, PrintWriter pw) throws WSDLException
namespaces
- a java.util.Map contains namespace of WSDL Description.pw
- the Writer to write the xml to.WSDLException
protected void printImports(ImportElement[] imports, DescriptionElement des, PrintWriter pw) throws WSDLException
imports
- an array of ImportElements.des
- corresponding DescriptionElement.pw
- the Writer to write the xml to.WSDLException
protected void printIncludes(IncludeElement[] includes, DescriptionElement des, PrintWriter pw) throws WSDLException
imports
- an array of IncludeElements.des
- corresponding DescriptionElement.pw
- the Writer to write the xml to.WSDLException
protected void printInterfaces(InterfaceElement[] intrfaces, DescriptionElement des, PrintWriter pw) throws WSDLException
intrfaces
- an array of intrfacesElements.des
- corresponding DescriptionElement.pw
- the Writer to write the xml to.WSDLException
protected void printOperations(InterfaceOperationElement[] operations, DescriptionElement des, PrintWriter pw) throws WSDLException
operations
- an array of InterfaceOperationElements.des
- corresponding DescriptionElement.pw
- the Writer to write the xml to.WSDLException
protected void printInterfaceMessageReferences(InterfaceMessageReferenceElement[] msgrefs, DescriptionElement des, PrintWriter pw) throws WSDLException
msgrefs
- an array of InterfaceMessageReferenceElements.des
- corresponding DescriptionElement.pw
- the Writer to write the xml to.WSDLException
protected void printInterfaceFaultReferences(InterfaceFaultReferenceElement[] faulRefs, DescriptionElement des, PrintWriter pw) throws WSDLException
faulRefs
- an array of InterfaceFaultReferenceElements.des
- corresponding DescriptionElement.pw
- the Writer to write the xml to.WSDLException
protected void printFaults(InterfaceFaultElement[] faulEles, DescriptionElement des, PrintWriter pw) throws WSDLException
faulEles
- an array of InterfaceFaultElements.des
- corresponding DescriptionElement.pw
- the Writer to write the xml to.WSDLException
protected void printBindings(BindingElement[] bindings, DescriptionElement des, PrintWriter pw) throws WSDLException
bindings
- an array of printBindings.des
- corresponding DescriptionElement.pw
- the Writer to write the xml to.WSDLException
protected void printBindingFaults(BindingFaultElement[] faults, DescriptionElement des, PrintWriter pw) throws WSDLException
faults
- an array of BindingFaultElements.des
- corresponding DescriptionElement.pw
- the Writer to write the xml to.WSDLException
protected void printBindingOperations(BindingOperationElement[] operations, DescriptionElement des, PrintWriter pw) throws WSDLException
operations
- an array of BindingOperationElements.des
- corresponding DescriptionElement.pw
- the Writer to write the xml to.WSDLException
protected void printServices(ServiceElement[] services, DescriptionElement des, PrintWriter pw) throws WSDLException
services
- an array of ServiceElements.des
- corresponding DescriptionElement.pw
- the Writer to write the xml to.WSDLException
protected void printEndpoints(EndpointElement[] endpoints, DescriptionElement des, PrintWriter pw) throws WSDLException
endpoints
- an array of IncludeElements.des
- corresponding DescriptionElement.pw
- the Writer to write the xml to.WSDLException
protected void printTypes(TypesElement types, DescriptionElement des, PrintWriter pw) throws WSDLException
types
- an array of TypesElements.des
- corresponding DescriptionElement.pw
- the Writer to write the xml to.WSDLException
protected void printInlinedSchemas(InlinedSchema[] inlinedSchema, DescriptionElement des, PrintWriter pw) throws WSDLException
inlinedSchema
- an array of InlinedSchemas.des
- corresponding DescriptionElement.pw
- the Writer to write the xml to.WSDLException
protected void printImportedSchemas(ImportedSchema[] importedSchema, DescriptionElement des, PrintWriter pw) throws WSDLException
importedSchema
- an array of ImportedSchemas.des
- corresponding DescriptionElement.pw
- the Writer to write the xml to.WSDLException
protected void printExtensibilityElements(Class parentType, ExtensionElement[] extensibilityElements, DescriptionElement def, PrintWriter pw) throws WSDLException
parentType
- parent class of the ExtensibilityElements.extensibilityElements
- an array of ExtensibilityElements.des
- corresponding DescriptionElement.pw
- the Writer to write the xml to.WSDLException
protected void printExtensibilityAttributes(XMLAttr[] attrExts, WSDLElement ownerElem, PrintWriter pw) throws WSDLException
attrExts
- an array of XMLAttrs.des
- corresponding DescriptionElement.pw
- the Writer to write the xml to.WSDLException
protected void printDocumentation(DocumentationElement[] docEles, DescriptionElement def, PrintWriter pw) throws WSDLException
docEles
- an array of DocumentationElements.des
- corresponding DescriptionElement.pw
- the Writer to write the xml to.WSDLException
Copyright © 2005–2013 Apache Software Foundation. All rights reserved.