org.ow2.jonas.ws.publish.internal.file
Class JDefinitionWriter
java.lang.Object
org.ow2.jonas.ws.publish.internal.file.JDefinitionWriter
public class JDefinitionWriter
- extends Object
Wrote the given Definition and all imported WSDL to the given base directory.
- Author:
- Guillaume Sauthier
|
Constructor Summary |
JDefinitionWriter(javax.wsdl.Definition def,
File context,
Charset cs,
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,
File context,
Charset cs,
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 IOException,
javax.wsdl.WSDLException
- Write the given Definition into the base directory
- Throws:
IOException - if a file or directory cannot be created
javax.wsdl.WSDLException - if WSDLWriter is not able to write its Definition
Copyright ? 2009 OW2 Consortium. All Rights Reserved.