| Prev Class | Next Class | Frames | No Frames |
| Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Objectcom.ibm.wsdl.xml.WSDLWriterImplMethod Summary | |
Document |
|
boolean |
|
static void |
|
protected void |
|
protected void |
|
protected void |
|
protected void |
|
protected void |
|
protected void |
|
protected void |
|
protected void |
|
protected void |
|
protected void |
|
protected void |
|
protected void |
|
protected void |
|
protected void |
|
protected void |
|
protected void |
|
protected void |
|
protected void |
|
protected void |
|
protected void |
|
protected void |
|
void |
|
void |
|
void |
|
public Document getDocument(Definition wsdlDef) throws WSDLException
Return a document generated from the specified WSDL model.
- Specified by:
- getDocument in interface WSDLWriter
public boolean getFeature(String name)
throws IllegalArgumentExceptionGets the value of the specified feature.
- Specified by:
- getFeature in interface WSDLWriter
- Parameters:
name- the name of the feature to get the value of.
- See Also:
setFeature(String,boolean)
public static void main(String[] argv)
throws WSDLExceptionA test driver.Usage:java com.ibm.wsdl.xml.WSDLWriterImpl filename|URLThis test driver simply reads a WSDL document into a model (using a WSDLReader), and then serializes it back to standard out. In effect, it performs a round-trip test on the specified WSDL document.
protected void printBindingFaults(Map bindingFaults,
Definition def,
PrintWriter pw)
throws WSDLExceptionprotected void printBindingInput(BindingInput bindingInput, Definition def, PrintWriter pw) throws WSDLException
protected void printBindingOperations(List bindingOperations,
Definition def,
PrintWriter pw)
throws WSDLExceptionprotected void printBindingOutput(BindingOutput bindingOutput, Definition def, PrintWriter pw) throws WSDLException
protected void printBindings(Map bindings,
Definition def,
PrintWriter pw)
throws WSDLExceptionprotected void printDocumentation(Element docElement,
PrintWriter pw)
throws WSDLExceptionprotected void printExtensibilityAttributes(Class parentType,
AttributeExtensible attrExt,
Definition def,
PrintWriter pw)
throws WSDLExceptionprotected void printExtensibilityElements(Class parentType,
List extensibilityElements,
Definition def,
PrintWriter pw)
throws WSDLExceptionprotected void printFaults(Map faults,
Definition def,
PrintWriter pw)
throws WSDLExceptionprotected void printImports(Map imports,
Definition def,
PrintWriter pw)
throws WSDLExceptionprotected void printInput(Input input, Definition def, PrintWriter pw) throws WSDLException
protected void printMessages(Map messages,
Definition def,
PrintWriter pw)
throws WSDLExceptionprotected void printNamespaceDeclarations(Map namespaces,
PrintWriter pw)
throws WSDLExceptionprotected void printOperations(List operations,
Definition def,
PrintWriter pw)
throws WSDLExceptionprotected void printOutput(Output output, Definition def, PrintWriter pw) throws WSDLException
protected void printParts(List parts,
Definition def,
PrintWriter pw)
throws WSDLExceptionprotected void printPortTypes(Map portTypes,
Definition def,
PrintWriter pw)
throws WSDLExceptionprotected void printServices(Map services,
Definition def,
PrintWriter pw)
throws WSDLExceptionprotected void printTypes(Types types, Definition def, PrintWriter pw) throws WSDLException
public void setFeature(String name,
boolean value)
throws IllegalArgumentExceptionSets the specified feature to the specified value. There are no minimum features that must be supported. All feature names must be fully-qualified, Java package style. All names starting with javax.wsdl. are reserved for features defined by the JWSDL specification. It is recommended that implementation- specific features be fully-qualified to match the package name of that implementation. For example: com.abc.featureName
- Specified by:
- setFeature in interface WSDLWriter
- Parameters:
name- the name of the feature to be set.value- the value to set the feature to.
- See Also:
getFeature(String)
public void writeWSDL(Definition wsdlDef, OutputStream sink) throws WSDLException
Write the specified WSDL definition to the specified OutputStream.
- Specified by:
- writeWSDL in interface WSDLWriter
- Parameters:
wsdlDef- the WSDL definition to be written.sink- the OutputStream to write the xml to.
public void writeWSDL(Definition wsdlDef, Writer sink) throws WSDLException
Write the specified WSDL definition to the specified Writer.
- Specified by:
- writeWSDL in interface WSDLWriter
- Parameters:
wsdlDef- the WSDL definition to be written.sink- the Writer to write the xml to.