org.exolab.castor.xml.schema.writer
Class SchemaWriter
java.lang.Object
org.exolab.castor.xml.schema.writer.SchemaWriter
public class SchemaWriter
extends java.lang.Object
A class for serializing Schema models
$Revision: 1.3 $ $Date: 2003/03/03 17:28:03 $
SchemaWriter(DocumentHandler handler) - Creates a new SchemaWriter for the given DocumentHandler
|
SchemaWriter(Writer writer) - Creates a new SchemaWriter for the given Writer
|
enable
public static boolean enable
This field is no longer used and only here for
backward compatibility.
SchemaWriter
public SchemaWriter(DocumentHandler handler)
Creates a new SchemaWriter for the given DocumentHandler
handler
- the DocumentHandler to send events to
SchemaWriter
public SchemaWriter(Writer writer)
throws IOException
Creates a new SchemaWriter for the given Writer
writer
- the Writer to serialize to
write
public void write(Schema schema)
throws SAXException
Intalio Inc. (C) 1999-2003. All rights reserved http://www.intalio.com