org.exolab.castor.xml.schema.writer
Class SchemaWriter

java.lang.Object
  extended by org.exolab.castor.xml.schema.writer.SchemaWriter

public class SchemaWriter
extends java.lang.Object

A class for serializing Schema models

Version:
$Revision: 1.10 $ $Date: 2004/10/01 13:25:30 $
Author:
Keith Visco

Field Summary
static boolean enable
          Deprecated.  
 
Constructor Summary
SchemaWriter(org.xml.sax.DocumentHandler handler)
          Creates a new SchemaWriter for the given DocumentHandler
SchemaWriter(java.io.Writer writer)
          Creates a new SchemaWriter for the given Writer
 
Method Summary
 void write(Schema schema)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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(java.io.Writer writer)
             throws java.io.IOException
Creates a new SchemaWriter for the given Writer

Parameters:
writer - the Writer to serialize to
Throws:
java.io.IOException

SchemaWriter

public SchemaWriter(org.xml.sax.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)
           throws org.xml.sax.SAXException
Throws:
org.xml.sax.SAXException


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