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.EntityAttDef;
25 import org.millscript.commons.xml.tokenizer.AbstractXmlTokenizerImpl;
26
27 /**
28 * This class provides a default implementation of the
29 * <code>EntityAttDef</code> interface, to handle ENTITY attribute definitions
30 * in the DTD.
31 */
32 public class EntityAttDefImpl extends AttDefImpl implements EntityAttDef {
33
34 /**
35 * Constructs a new ENTITY attribute definition object with the specified
36 * <code>Name</code>, reading the default mode and value from the specified
37 * XML tokenizer.
38 *
39 * @param an the attributes <code>Name</code>
40 * @param xt the XML tokenizer to obtain the default mode and value from
41 */
42 public EntityAttDefImpl( final Name an, final AbstractXmlTokenizerImpl xt ) {
43 super( an, xt );
44 }
45
46 /**
47 * Constructs a new ENTITY attribute definition object with the specified
48 * <code>Name</code>, default mode and default value.
49 *
50 * @param an the attributes <code>Name</code>
51 * @param dm the default mode for the attribute
52 * @param dv the default value for the attribute
53 */
54 public EntityAttDefImpl( final Name an, final String dv, final String dm ) {
55 super( an, dv, dm );
56 }
57
58 }