MATSIM
core
network
io
NetworkWriterHandler.java
Go to the documentation of this file.
1
/* *********************************************************************** *
2
* project: org.matsim.*
3
* NetworkWriterHandler.java
4
* *
5
* *********************************************************************** *
6
* *
7
* copyright : (C) 2007 by the members listed in the COPYING, *
8
* LICENSE and WARRANTY file. *
9
* email : info at matsim dot org *
10
* *
11
* *********************************************************************** *
12
* *
13
* This program is free software; you can redistribute it and/or modify *
14
* it under the terms of the GNU General Public License as published by *
15
* the Free Software Foundation; either version 2 of the License, or *
16
* (at your option) any later version. *
17
* See also COPYING, LICENSE and WARRANTY file *
18
* *
19
* *********************************************************************** */
20
21
package
org.matsim.core.network.io;
22
23
import
org
.
matsim
.
api
.
core
.
v01
.
network
.
Link
;
24
import
org
.
matsim
.
api
.
core
.
v01
.
network
.
Network
;
25
import
org
.
matsim
.
api
.
core
.
v01
.
network
.
Node
;
26
27
import
java.io.BufferedWriter;
28
import
java.io.IOException;
29
30
interface
NetworkWriterHandler {
31
33
// <network ... > ... </network>
35
36
public
void
startNetwork(
final
Network network,
final
BufferedWriter out)
throws
IOException;
37
38
public
void
endNetwork(
final
BufferedWriter out)
throws
IOException;
39
41
// <nodes ... > ... </nodes>
43
44
public
void
startNodes(
final
Network network,
final
BufferedWriter out)
throws
IOException;
45
46
public
void
endNodes(
final
BufferedWriter out)
throws
IOException;
47
49
// <links ... > ... </links>
51
52
public
void
startLinks(
final
Network network,
final
BufferedWriter out)
throws
IOException;
53
54
public
void
endLinks(
final
BufferedWriter out)
throws
IOException;
55
57
// <node ... > ... </node>
59
60
public
void
startNode(
final
Node node,
final
BufferedWriter out)
throws
IOException;
61
62
public
void
endNode(
final
BufferedWriter out)
throws
IOException;
63
65
// <link ... > ... </link>
67
68
public
void
startLink(
final
Link link,
final
BufferedWriter out)
throws
IOException;
69
70
public
void
endLink(
final
BufferedWriter out)
throws
IOException;
71
72
public
void
writeSeparator(
final
BufferedWriter out)
throws
IOException;
73
}
org.matsim.api.core.v01.network
Definition:
Link.java:20
org
org.matsim.api
org.matsim.api.core
org.matsim.api.core.v01.network.Network
Definition:
Network.java:32
org.matsim
org.matsim.api.core.v01.network.Link
Definition:
Link.java:34
org.matsim.api.core.v01
Definition:
BasicLocation.java:20
org.matsim.api.core.v01.network.Node
Definition:
Node.java:39
Generated by
1.8.13