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><unique/></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="unique"
13 *
14 * @author <a href="http://xdoclet.sf.net/">XDoclet</a>
15 */
16 public final class Unique 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 Unique() {
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 Unique( Tag 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.setUnique( this );
37 }
38
39
40 public final void setPcData( final java.lang.String pcData ) {
41 checkValue(pcData, ".*");
42
43 _pcData = pcData;
44 }
45
46 /***
47 * @bean.property
48 * @bean.attribute name="betwixt.text" value="true"
49 */
50 public final java.lang.String getPcData() {
51 return _pcData;
52 }
53
54 private java.lang.String _pcData;
55 }
This page was automatically generated by Maven