ch.interlis.iom_j.xtf.impl
Class XtfWriterAlt
java.lang.Object
ch.interlis.iom_j.xtf.impl.XtfWriterAlt
public class XtfWriterAlt
- extends java.lang.Object
Writer of an INTERLIS 2 transfer file.
- Author:
- ceis
Field Summary |
static java.lang.String |
ili22Ns
XML namespace of INTERLIS 2.2 transfer files. |
static java.lang.String |
ili23Ns
XML namespace of INTERLIS 2.3 transfer files. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ili22Ns
public static final java.lang.String ili22Ns
- XML namespace of INTERLIS 2.2 transfer files.
- See Also:
- Constant Field Values
ili23Ns
public static final java.lang.String ili23Ns
- XML namespace of INTERLIS 2.3 transfer files.
- See Also:
- Constant Field Values
XtfWriterAlt
public XtfWriterAlt(java.io.OutputStreamWriter buffer,
ViewableProperties mapping1,
java.lang.String version)
throws IoxException
- Creates a new writer.
- Parameters:
buffer
- Writer to write tomapping1
- model of data to writeversion
- transfer format version (2.2 or 2.3)
- Throws:
IoxException
getXout
public javax.xml.stream.XMLStreamWriter getXout()
close
public void close()
throws IoxException
- Throws:
IoxException
flush
public void flush()
throws IoxException
- Throws:
IoxException
newline
public void newline()
throws IoxException
- Throws:
IoxException
writeStartTransfer
public void writeStartTransfer(java.lang.String sender,
java.lang.String comment,
XtfModel[] models)
throws IoxException
- Throws:
IoxException
writeEndTransfer
public void writeEndTransfer()
throws IoxException
- Throws:
IoxException
writeStartBasket
public void writeStartBasket(java.lang.String type,
java.lang.String bid)
throws IoxException
- Throws:
IoxException
writeStartBasket
public void writeStartBasket(java.lang.String type,
java.lang.String bid,
int consistency,
int kind,
java.lang.String startstate,
java.lang.String endstate,
java.lang.String[] topicv)
throws IoxException
- Throws:
IoxException
writeEndBasket
public void writeEndBasket()
throws IoxException
- Throws:
IoxException
writeObject
public void writeObject(IomObject obj)
throws IoxException
- Throws:
IoxException