|
|||||||||||||||||||
This license of Clover is provided to support the development of JBind only. Please visit http://www.thecortex.net/clover to obtain a licensed version of Clover. | |||||||||||||||||||
Source file | Conditionals | Statements | Methods | TOTAL | |||||||||||||||
Compositor.java | - | 50% | 50% | 50% |
|
1 |
/* |
|
2 |
* JBind |
|
3 |
* |
|
4 |
* Copyright (c) by Stefan Wachter. All rights reserved. |
|
5 |
* |
|
6 |
* Usage, modification, and redistribution is subject to license terms that are |
|
7 |
* available at 'http://www.jbind.org'. The JBind license is like the |
|
8 |
* 'Apache Software License V 1.1'. |
|
9 |
*/ |
|
10 |
package org.jbind.xml.base; |
|
11 |
|
|
12 |
public class Compositor { |
|
13 |
|
|
14 |
public static final Compositor ALL = new Compositor("all"); |
|
15 |
public static final Compositor CHOICE = new Compositor("choice"); |
|
16 |
public static final Compositor SEQUENCE = new Compositor("sequence"); |
|
17 |
|
|
18 |
private String myString; |
|
19 | 9 |
private Compositor(String aString) { |
20 | 9 |
myString = aString; |
21 |
} |
|
22 | 0 |
public String toString() { |
23 | 0 |
return myString; |
24 |
} |
|
25 |
} |
|
26 |
|
|