org.exolab.castor.xml.schema.writer

Class SchemaWriter

public class SchemaWriter extends Object

A class for serializing Schema models

Version: $Revision: 6381 $ $Date: 2006-04-05 13:16:42 -0600 (Wed, 05 Apr 2006) $

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-2006. All rights reserved http://www.intalio.com