%line | %branch | |||||||||
---|---|---|---|---|---|---|---|---|---|---|
tsukuba_bunko.peko.scenario.text.NewPageHandler |
|
|
1 | /* |
|
2 | * "Peko" Visual Novel System |
|
3 | * |
|
4 | * All Rights Reserved. |
|
5 | * Copyright (c) 1999-2003 Tsukuba Bunko. |
|
6 | * |
|
7 | * $Id: NewPageHandler.java,v 1.1 2005/07/11 12:49:18 ppoi Exp $ |
|
8 | */ |
|
9 | package tsukuba_bunko.peko.scenario.text; |
|
10 | ||
11 | ||
12 | /** |
|
13 | * <samp>np</samp> 要素の処理を行う <code>ElementHandler</code> です。 |
|
14 | * @author $Author: ppoi $ |
|
15 | * @version $Revision: 1.1 $ |
|
16 | */ |
|
17 | public class NewPageHandler extends TextElementHandler { |
|
18 | ||
19 | /** |
|
20 | * <code>NewPageHandler</code> のインスタンスを作成します。 |
|
21 | */ |
|
22 | public NewPageHandler() |
|
23 | { |
|
24 | 0 | super(); |
25 | 0 | } |
26 | ||
27 | ||
28 | // |
|
29 | // ContentHandler の実装 |
|
30 | // |
|
31 | public void endDocument() |
|
32 | { |
|
33 | 0 | TextCoordinator coordinator = getTextCoordinator(); |
34 | 0 | coordinator.begin(); |
35 | 0 | coordinator.advancesNewPage(); |
36 | 0 | coordinator.commit(); |
37 | 0 | } |
38 | } |
This report is generated by jcoverage, Maven and Maven JCoverage Plugin. |