org.exolab.castor.xml.schema.writer

Class SchemaWriter


public class SchemaWriter
extends java.lang.Object

A class for serializing Schema models
Version:
$Revision: 1.3 $ $Date: 2003/03/03 17:28:03 $
Author:
Keith Visco

Field Summary

static boolean
enable
Deprecated.

Constructor Summary

SchemaWriter(DocumentHandler handler)
Creates a new SchemaWriter for the given DocumentHandler
SchemaWriter(Writer writer)
Creates a new SchemaWriter for the given Writer

Method Summary

void
write(Schema schema)

Field Details

enable

public static boolean enable

Deprecated.

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

Constructor Details

SchemaWriter

public SchemaWriter(DocumentHandler handler)
Creates a new SchemaWriter for the given DocumentHandler
Parameters:
handler - the DocumentHandler to send events to

SchemaWriter

public SchemaWriter(Writer writer)
            throws IOException
Creates a new SchemaWriter for the given Writer
Parameters:
writer - the Writer to serialize to

Method Details

write

public void write(Schema schema)
            throws SAXException

Intalio Inc. (C) 1999-2003. All rights reserved http://www.intalio.com