Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.xmlbeans
Interface Filer

    public interface Filer

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

Method Detail

### createBinaryFile

    java.io.OutputStream createBinaryFile(java.lang.String typename)
                                          throws java.io.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:
    `java.io.IOException` - when the file can't be created

### createSourceFile

    java.io.Writer createSourceFile(java.lang.String typename)
                                    throws java.io.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:
    `java.io.IOException` - when the file can't be created

Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD