public class WSDLWriter extends Object
Modifier and Type | Field and Description |
---|---|
protected boolean |
includeSchemaInWSDL
Include or import WSDL Types
|
protected static org.jboss.logging.Logger |
log |
protected String |
soapPrefix |
protected WSDLUtils |
utils |
protected WSDLDefinitions |
wsdl |
Constructor and Description |
---|
WSDLWriter(WSDLDefinitions wsdl) |
Modifier and Type | Method and Description |
---|---|
protected void |
appendBindings(StringBuilder buffer,
String namespace) |
protected void |
appendDefinitions(StringBuilder buffer,
String namespace) |
protected void |
appendInterfaces(StringBuilder buffer,
String namespace) |
protected void |
appendServices(StringBuilder buffer,
String namespace) |
protected void |
appendTypes(StringBuilder buffer,
String namespace) |
protected String |
getQNameRef(QName qname)
Get a prefixed name of form prefix:localPart
|
WSDLDefinitions |
getWsdl() |
boolean |
isIncludeTypesInWSDL() |
void |
logException(Exception e) |
void |
logMessage(String msg) |
void |
setWsdl(WSDLDefinitions wsdl) |
void |
write(Writer writer) |
void |
write(Writer writer,
String charset)
Write the wsdl definition to the given writer, clients should not care about the wsdl version.
|
void |
write(Writer writer,
String charset,
WSDLWriterResolver resolver) |
protected static final org.jboss.logging.Logger log
protected WSDLDefinitions wsdl
protected WSDLUtils utils
protected String soapPrefix
protected boolean includeSchemaInWSDL
public WSDLWriter(WSDLDefinitions wsdl)
public void write(Writer writer, String charset) throws IOException
IOException
public void write(Writer writer, String charset, WSDLWriterResolver resolver) throws IOException
IOException
public void write(Writer writer) throws IOException
IOException
protected void appendDefinitions(StringBuilder buffer, String namespace)
protected void appendTypes(StringBuilder buffer, String namespace)
protected void appendInterfaces(StringBuilder buffer, String namespace)
protected void appendBindings(StringBuilder buffer, String namespace)
protected void appendServices(StringBuilder buffer, String namespace)
public WSDLDefinitions getWsdl()
public void setWsdl(WSDLDefinitions wsdl)
public boolean isIncludeTypesInWSDL()
public void logException(Exception e)
public void logMessage(String msg)
Copyright © 2013 JBoss, by Red Hat. All Rights Reserved.