org.exolab.castor.xml.schema.writer

Class SchemaWriter

public class SchemaWriter extends Object

A class for serializing Schema models

Version: $Revision: 1.3 $ $Date: 2003/03/03 17:28:03 $

Author: Keith Visco

Field Summary
static booleanenable
This field is no longer used and only here for backward compatibility.
Constructor Summary
SchemaWriter(Writer writer)
Creates a new SchemaWriter for the given Writer
SchemaWriter(DocumentHandler handler)
Creates a new SchemaWriter for the given DocumentHandler
Method Summary
voidwrite(Schema schema)

Field Detail

enable

public static boolean enable

Deprecated:

This field is no longer used and only here for backward compatibility.

Constructor Detail

SchemaWriter

public SchemaWriter(Writer writer)
Creates a new SchemaWriter for the given Writer

Parameters: writer the Writer to serialize to

SchemaWriter

public SchemaWriter(DocumentHandler handler)
Creates a new SchemaWriter for the given DocumentHandler

Parameters: handler the DocumentHandler to send events to

Method Detail

write

public void write(Schema schema)
Intalio Inc. (C) 1999-2003. All rights reserved http://www.intalio.com