1
2 // This class is generated by XDoclet SDK (XGG). Do not edit!
3 package xdoclet.sdk.xtag.migrator;
4
5 /***
6 * <p>XML element: <b><condition-description/></b></p>.
7 * This element exists in the following versions:
8 * <ul>
9 * <li>xtags_1_1.dtd</li>
10 * </ul>
11 *
12 * @bean.class name="condition-description"
13 *
14 * @author <a href="http://xdoclet.sf.net/">XDoclet</a>
15 */
16 public final class ConditionDescription extends xdoclet.sdk.xgg.XGGPojo {
17 /***
18 * Default constructor. Should not be called explicitly. It's available
19 * only to be able to convert xml into beans with Betwixt.
20 */
21 public ConditionDescription() {
22 }
23
24 /***
25 * Constructor. Should only be called if the current version is of the following:
26 * <ul>
27 * <li>xtags_1_1.dtd</li>
28 * </ul>
29 * @param parent the parent element
30 * @throws java.lang.IllegalStateException if this constructor is illegal
31 * with the current version.
32 */
33 public ConditionDescription( Namespace parent ) throws java.lang.IllegalStateException {
34 // Check that it's ok to call this constructor.
35 checkVersion( new String[] { "xtags_1_1.dtd" } );
36 parent.setConditionDescription( this );
37 }
38 /***
39 * Constructor. Should only be called if the current version is of the following:
40 * <ul>
41 * <li>xtags_1_1.dtd</li>
42 * </ul>
43 * @param parent the parent element
44 * @throws java.lang.IllegalStateException if this constructor is illegal
45 * with the current version.
46 */
47 public ConditionDescription( Tag parent ) throws java.lang.IllegalStateException {
48 // Check that it's ok to call this constructor.
49 checkVersion( new String[] { "xtags_1_1.dtd" } );
50 parent.setConditionDescription( this );
51 }
52 /***
53 * Constructor. Should only be called if the current version is of the following:
54 * <ul>
55 * <li>xtags_1_1.dtd</li>
56 * </ul>
57 * @param parent the parent element
58 * @throws java.lang.IllegalStateException if this constructor is illegal
59 * with the current version.
60 */
61 public ConditionDescription( Parameter parent ) throws java.lang.IllegalStateException {
62 // Check that it's ok to call this constructor.
63 checkVersion( new String[] { "xtags_1_1.dtd" } );
64 parent.setConditionDescription( this );
65 }
66
67
68 public final void setPcData( final java.lang.String pcData ) {
69 checkValue(pcData, ".*");
70
71 _pcData = pcData;
72 }
73
74 /***
75 * @bean.property
76 * @bean.attribute name="betwixt.text" value="true"
77 */
78 public final java.lang.String getPcData() {
79 return _pcData;
80 }
81
82 private java.lang.String _pcData;
83 }
This page was automatically generated by Maven