ch.interlis.iom_j.xtf
Class XtfWriter

java.lang.Object
  extended by ch.interlis.iom_j.xtf.XtfWriterBase
      extended by ch.interlis.iom_j.xtf.XtfWriter
All Implemented Interfaces:
IoxWriter

public class XtfWriter
extends XtfWriterBase

This class implements an INTERLIS 2 writer using the ili2c metamodel.

Author:
ceis

Constructor Summary
XtfWriter(java.io.File outfile, ch.interlis.ili2c.metamodel.TransferDescription td)
          Creates a new instance of a writer.
XtfWriter(java.io.OutputStream buffer, ch.interlis.ili2c.metamodel.TransferDescription td)
          Creates a new instance of a writer.
XtfWriter(java.io.OutputStreamWriter buffer, ch.interlis.ili2c.metamodel.TransferDescription td)
          Creates a new instance of a writer.
 
Method Summary
 
Methods inherited from class ch.interlis.iom_j.xtf.XtfWriterBase
close, createIomObject, flush, getFactory, getModels, setFactory, setModels, write
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XtfWriter

public XtfWriter(java.io.OutputStreamWriter buffer,
                 ch.interlis.ili2c.metamodel.TransferDescription td)
          throws IoxException
Creates a new instance of a writer.

Parameters:
buffer - Output writer to write to
td - models as read by the compiler (ili2c)
Throws:
IoxException

XtfWriter

public XtfWriter(java.io.File outfile,
                 ch.interlis.ili2c.metamodel.TransferDescription td)
          throws IoxException
Creates a new instance of a writer.

Parameters:
outfile - File to write to
td - models as read by the compiler (ili2c)
Throws:
IoxException

XtfWriter

public XtfWriter(java.io.OutputStream buffer,
                 ch.interlis.ili2c.metamodel.TransferDescription td)
          throws IoxException
Creates a new instance of a writer.

Parameters:
buffer - Output stream to write to
td - models as read by the compiler (ili2c)
Throws:
IoxException