org.objectweb.jonas.ws
Class JDefinitionWriter
java.lang.Object
org.objectweb.jonas.ws.JDefinitionWriter
public class JDefinitionWriter
- extends java.lang.Object
Wrote the given Definition and all imported WSDL to the given base directory.
- Author:
- Guillaume Sauthier
Constructor Summary |
JDefinitionWriter(javax.wsdl.Definition def,
java.io.File context,
java.nio.charset.Charset cs,
java.lang.String filename)
Constructs a new JDefinitionWriter that will wrote the given Definition
and all imported WSDL to the given base directory. |
Method Summary |
void |
write()
Write the given Definition into the base directory |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JDefinitionWriter
public JDefinitionWriter(javax.wsdl.Definition def,
java.io.File context,
java.nio.charset.Charset cs,
java.lang.String filename)
- Constructs a new JDefinitionWriter that will wrote the given Definition
and all imported WSDL to the given base directory.
- Parameters:
def
- base Definitioncontext
- Context where file should be wrote (MUST exists)cs
- Charset to usefilename
- base Definition filename
write
public void write()
throws java.io.IOException,
javax.wsdl.WSDLException
- Write the given Definition into the base directory
- Throws:
java.io.IOException
- if a file or directory cannot be created
javax.wsdl.WSDLException
- if WSDLWriter is not able to write its Definition