|
|||||||||||||||||||
| 30 day Evaluation Version distributed via the Maven Jar Repository. Clover is not free. You have 30 days to evaluate it. Please visit http://www.thecortex.net/clover to obtain a licensed version of Clover | |||||||||||||||||||
| Source file | Conditionals | Statements | Methods | TOTAL | |||||||||||||||
| XML.java | - | 0% | 0% | 0% |
|
||||||||||||||
| 1 |
/*
|
|
| 2 |
* $Id: XML.java,v 1.1 2004/12/15 14:18:21 patforna Exp $
|
|
| 3 |
*
|
|
| 4 |
* Copyright (c) 2004 Patric Fornasier, Pawel Kowalski
|
|
| 5 |
* Berne University of Applied Sciences
|
|
| 6 |
* School of Engineering and Information Technology
|
|
| 7 |
* All rights reserved.
|
|
| 8 |
*/
|
|
| 9 |
package bexee.ecs;
|
|
| 10 |
|
|
| 11 |
/**
|
|
| 12 |
* This class is used to override the default constructor of the
|
|
| 13 |
* <code>org.apache.ecs.xml.XML</code> in order to set some properties. These
|
|
| 14 |
* properties are common for all usages of <code>org.apache.ecs.xml.XML</code>
|
|
| 15 |
* in bexee.
|
|
| 16 |
*
|
|
| 17 |
* @version $Revision: 1.1 $, $Date: 2004/12/15 14:18:21 $
|
|
| 18 |
* @author Patric Fornasier
|
|
| 19 |
* @author Pawel Kowalski
|
|
| 20 |
*/
|
|
| 21 |
public class XML extends org.apache.ecs.xml.XML { |
|
| 22 |
|
|
| 23 |
private final static boolean MUST_CLOSE_ELEMENT = true; |
|
| 24 |
|
|
| 25 |
private final static boolean PRETTY_PRINT_ENABLED = false; |
|
| 26 |
|
|
| 27 |
private final static int TAB_LEVEL = 1; |
|
| 28 |
|
|
| 29 |
/**
|
|
| 30 |
* Create a new <code>XML</code> instance with the given
|
|
| 31 |
* <code>elementName</code>.
|
|
| 32 |
*/
|
|
| 33 | 0 |
public XML(String elementName) {
|
| 34 | 0 |
super(elementName, MUST_CLOSE_ELEMENT);
|
| 35 | 0 |
setTabLevel(TAB_LEVEL); |
| 36 | 0 |
setPrettyPrint(PRETTY_PRINT_ENABLED); |
| 37 |
} |
|
| 38 |
|
|
| 39 |
} |
|
||||||||||