ch.interlis.iom_j.iligml
Class IligmlWriter

java.lang.Object
  extended by ch.interlis.iom_j.iligml.IligmlWriterBase
      extended by ch.interlis.iom_j.iligml.IligmlWriter
All Implemented Interfaces:
IoxWriter

public class IligmlWriter
extends IligmlWriterBase

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

Author:
ceis

Constructor Summary
IligmlWriter(java.io.File outfile, ch.interlis.ili2c.metamodel.TransferDescription td)
          Creates a new instance of a writer.
IligmlWriter(java.io.OutputStream buffer, ch.interlis.ili2c.metamodel.TransferDescription td)
          Creates a new instance of a writer.
IligmlWriter(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.iligml.IligmlWriterBase
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

IligmlWriter

public IligmlWriter(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

IligmlWriter

public IligmlWriter(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

IligmlWriter

public IligmlWriter(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