1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21 package org.millscript.commons.xml.atttype;
22
23 import org.millscript.commons.xml.api.Name;
24 import org.millscript.commons.xml.api.atttype.CdataAttDef;
25 import org.millscript.commons.xml.tokenizer.AbstractXmlTokenizerImpl;
26
27 /**
28 * This class provides a default implementation of the <code>CdataAttDef</code>
29 * interface, to handle CDATA attribute definitions in the DTD.
30 */
31 public class CdataAttDefImpl extends AttDefImpl implements CdataAttDef {
32
33 /**
34 * Constructs a new CDATA attribute definition object with the specified
35 * <code>Name</code>, reading the default mode and value from the specified
36 * XML tokenizer.
37 *
38 * @param an the attributes <code>Name</code>
39 * @param xt the XML tokenizer to obtain the default mode and value from
40 */
41 public CdataAttDefImpl( final Name an, final AbstractXmlTokenizerImpl xt ) {
42 super( an, xt );
43 }
44
45 /**
46 * Constructs a new CDATA attribute definition object with the specified
47 * <code>Name</code>, default mode and default value.
48 *
49 * @param an the attributes <code>Name</code>
50 * @param dm the default mode for the attribute
51 * @param dv the default value for the attribute
52 */
53 public CdataAttDefImpl( final Name an, final String dv, final String dm ) {
54 super( an, dv, dm );
55 }
56
57 }