public class XSDWriter extends Object
Modifier and Type | Field and Description |
---|---|
protected static org.jboss.logging.Logger |
log |
protected SchemaUtils |
schemautils |
protected WSSchemaUtils |
sutils |
protected WSDLDefinitions |
wsdl |
Constructor and Description |
---|
XSDWriter() |
Modifier and Type | Method and Description |
---|---|
URL |
serialize(org.apache.xerces.xs.XSModel xsmodel,
String ns)
Serialize the schema into a temp file
|
void |
serialize(org.apache.xerces.xs.XSModel xsmodel,
String ns,
OutputStream os)
Serialize the schema into a output stream
|
void |
writeXSD(Writer writer,
org.apache.xerces.xs.XSModel xsmodel,
WSDLDefinitions wsdl) |
protected static final org.jboss.logging.Logger log
protected WSDLDefinitions wsdl
protected SchemaUtils schemautils
protected WSSchemaUtils sutils
public void writeXSD(Writer writer, org.apache.xerces.xs.XSModel xsmodel, WSDLDefinitions wsdl)
public URL serialize(org.apache.xerces.xs.XSModel xsmodel, String ns) throws IOException
xsmodel
- Schema modelns
- Target NamespaceIOException
public void serialize(org.apache.xerces.xs.XSModel xsmodel, String ns, OutputStream os) throws IOException
xsmodel
- Schema modelns
- Target Namespaceos
- OutputStream to write intoIOException
Copyright © 2013 JBoss, by Red Hat. All Rights Reserved.