ch.interlis.iom_j.iligml
Class IligmlWriterAlt
java.lang.Object
ch.interlis.iom_j.iligml.IligmlWriterAlt
public class IligmlWriterAlt
- extends java.lang.Object
Writer of an INTERLIS 2 transfer file.
- Author:
- ceis
Constructor Summary |
IligmlWriterAlt(java.io.OutputStreamWriter buffer,
ViewableProperties mapping1,
java.util.HashMap nameMapping,
java.lang.String version)
Creates a new writer. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
iligmlBase
public static final java.lang.String iligmlBase
- See Also:
- Constant Field Values
xmlns_ili
public static final java.lang.String xmlns_ili
- See Also:
- Constant Field Values
xmlns_gml
public static final java.lang.String xmlns_gml
- See Also:
- Constant Field Values
xmlns_xlink
public static final java.lang.String xmlns_xlink
- See Also:
- Constant Field Values
xmlns_xsi
public static final java.lang.String xmlns_xsi
- See Also:
- Constant Field Values
IligmlWriterAlt
public IligmlWriterAlt(java.io.OutputStreamWriter buffer,
ViewableProperties mapping1,
java.util.HashMap nameMapping,
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