Package org.apache.xmlbeans.impl.util
Class FilerImpl
java.lang.Object
org.apache.xmlbeans.impl.util.FilerImpl
- All Implemented Interfaces:
Filer
public class FilerImpl extends Object implements Filer
This implementation of Filer writes to disk.
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description OutputStreamcreateBinaryFile(String typename)Creates a new schema binary file (.xsb) and returns a stream for writing to it.WritercreateSourceFile(String typename)Creates a new binding source file (.java) and returns a writer for it.org.apache.xmlbeans.impl.repackage.RepackagergetRepackager()List<File>getSourceFiles()
-
Constructor Details
-
Method Details
-
createBinaryFile
Creates a new schema binary file (.xsb) and returns a stream for writing to it.- Specified by:
createBinaryFilein interfaceFiler- Parameters:
typename- fully qualified type name- Returns:
- a stream to write the type to
- Throws:
IOException- when the file can't be created
-
createSourceFile
Creates a new binding source file (.java) and returns a writer for it.- Specified by:
createSourceFilein interfaceFiler- Parameters:
typename- fully qualified type name- Returns:
- a stream to write the type to
- Throws:
IOException- when the file can't be created
-
getSourceFiles
-
getRepackager
public org.apache.xmlbeans.impl.repackage.Repackager getRepackager()
-