org.apache.xmlbeans
Interface Filer


public interface Filer


Method Summary
 OutputStream createBinaryFile(String typename)
          Creates a new schema binary file (.xsb) and returns a stream for writing to it.
 Writer createSourceFile(String typename)
          Creates a new binding source file (.java) and returns a writer for it.
 

Method Detail

createBinaryFile

public OutputStream createBinaryFile(String typename)
                              throws IOException
Creates a new schema binary file (.xsb) and returns a stream for writing to it.

Parameters:
typename - fully qualified type name
Returns:
a stream to write the type to
Throws:
IOException

createSourceFile

public Writer createSourceFile(String typename)
                        throws IOException
Creates a new binding source file (.java) and returns a writer for it.

Parameters:
typename - fully qualified type name
Returns:
a stream to write the type to
Throws:
IOException