|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.woden.internal.BaseWSDLWriter
org.apache.woden.internal.DOMWSDLWriter
public class DOMWSDLWriter
This is a concrete class derived from BaseWSDLWriter class and implements method to serialize each WSDL2.0 element based on DOM and also WriteWSDL() methods of the WSDLWriter interface .
| Field Summary |
|---|
| Fields inherited from class org.apache.woden.internal.BaseWSDLWriter |
|---|
features, fWsdlContext |
| Constructor Summary | |
|---|---|
DOMWSDLWriter(WSDLContext wsdlContext)
|
|
| Method Summary | |
|---|---|
protected void |
printBindingFaults(BindingFaultElement[] faults,
DescriptionElement des,
java.io.PrintWriter pw)
Serialize the BindingFaultElements of the WSDL element model. |
protected void |
printBindingOperations(BindingOperationElement[] operations,
DescriptionElement des,
java.io.PrintWriter pw)
Serialize the BindingOperationElements of the WSDL element model. |
protected void |
printBindings(BindingElement[] bindings,
DescriptionElement des,
java.io.PrintWriter pw)
Serialize the printBindings of the WSDL element model. |
protected void |
printDescription(DescriptionElement desEle,
java.io.PrintWriter pw)
Write the specified WSDL DescriptionElement and it's child elements to the specified Writer. |
protected void |
printDocumentation(DocumentationElement[] docEles,
DescriptionElement def,
java.io.PrintWriter pw)
Serialize the DocumentationElements of the WSDL element model. |
protected void |
printEndpoints(EndpointElement[] endpoints,
DescriptionElement des,
java.io.PrintWriter pw)
Serialize the EndpointElements of the WSDL element model. |
protected void |
printExtensibilityAttributes(XMLAttr[] attrExts,
WSDLElement ownerElem,
java.io.PrintWriter pw)
Serialize the printExtensibilityAttributess of the WSDL element model. |
protected void |
printExtensibilityElements(java.lang.Class parentType,
ExtensionElement[] extensibilityElements,
DescriptionElement def,
java.io.PrintWriter pw)
Serialize the ExtensibilityElements of the WSDL element model. |
protected void |
printFaults(InterfaceFaultElement[] faulEles,
DescriptionElement des,
java.io.PrintWriter pw)
Serialize the InterfaceInterfaceFaultElement of the WSDL element model. |
protected void |
printImportedSchemas(ImportedSchema[] importedSchema,
DescriptionElement des,
java.io.PrintWriter pw)
Serialize the ImportedSchemas of the WSDL element model. |
protected void |
printImports(ImportElement[] imports,
DescriptionElement des,
java.io.PrintWriter pw)
Serialize the ImportElements of the WSDL element model. |
protected void |
printIncludes(IncludeElement[] includes,
DescriptionElement des,
java.io.PrintWriter pw)
Serialize the IncludeElements of the WSDL element model. |
protected void |
printInlinedSchemas(InlinedSchema[] inlinedSchema,
DescriptionElement des,
java.io.PrintWriter pw)
Serialize the InlinedSchemas of the WSDL element model. |
protected void |
printInterfaceFaultReferences(InterfaceFaultReferenceElement[] faulRefs,
DescriptionElement des,
java.io.PrintWriter pw)
Serialize the InterfaceFaultReferenceElements of the WSDL element model. |
protected void |
printInterfaceMessageReferences(InterfaceMessageReferenceElement[] msgrefs,
DescriptionElement des,
java.io.PrintWriter pw)
Serialize the InterfaceMessageReferenceElements of the WSDL element model. |
protected void |
printInterfaces(InterfaceElement[] intrfaces,
DescriptionElement des,
java.io.PrintWriter pw)
Serialize the InterfaceElements of the WSDL element model. |
protected void |
printNamespaceDeclarations(NamespaceDeclaration[] namespaces,
java.io.PrintWriter pw)
Serialize the namespace declarations of the WSDL Description. |
protected void |
printOperations(InterfaceOperationElement[] operations,
DescriptionElement des,
java.io.PrintWriter pw)
Serialize the InterfaceOperationElements of the WSDL element model. |
protected void |
printServices(ServiceElement[] services,
DescriptionElement des,
java.io.PrintWriter pw)
Serialize the ServiceElements of the WSDL element model. |
protected void |
printTypes(TypesElement types,
DescriptionElement des,
java.io.PrintWriter pw)
Serialize the TypesElements of the WSDL element model. |
void |
writeWSDL(DescriptionElement wsdlDes,
java.io.OutputStream sink)
This method write the specified WSDL Description to the specified Writer. |
void |
writeWSDL(DescriptionElement wsdlDes,
java.io.Writer sink)
This method write the specified WSDL Description to the specified Writer. |
| Methods inherited from class org.apache.woden.internal.BaseWSDLWriter |
|---|
getErrorReporter, getExtensionRegistry, getFactory, getFactoryImplName, getFeature, getProperty, setExtensionRegistry, setFactoryImplName, setFeature, setProperty |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DOMWSDLWriter(WSDLContext wsdlContext)
| Method Detail |
|---|
public void writeWSDL(DescriptionElement wsdlDes,
java.io.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,
java.io.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,
java.io.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,
java.io.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,
java.io.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,
java.io.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,
java.io.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,
java.io.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,
java.io.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,
java.io.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,
java.io.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,
java.io.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,
java.io.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,
java.io.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,
java.io.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,
java.io.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,
java.io.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,
java.io.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,
java.io.PrintWriter pw)
throws WSDLException
importedSchema - an array of ImportedSchemas.des - corresponding DescriptionElement.pw - the Writer to write the xml to.
WSDLException
protected void printExtensibilityElements(java.lang.Class parentType,
ExtensionElement[] extensibilityElements,
DescriptionElement def,
java.io.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,
java.io.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,
java.io.PrintWriter pw)
throws WSDLException
docEles - an array of DocumentationElements.des - corresponding DescriptionElement.pw - the Writer to write the xml to.
WSDLException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||