Modifier and Type | Field and Description |
---|---|
String |
aName
Qualified name of the attribute.
|
String |
eName
Qualified name of the element having the attribute.
|
String |
mode
Mode of the attribute: #IMPLIED, #REQUIRED,
#FIXED.
|
String |
type
Type of the attribute: CDATA, ID, IDREF,
etc.
|
String |
value
Value of the attribute.
|
Constructor and Description |
---|
AttributeDecl(String eName,
String aName,
String type,
String mode,
String value)
Constructs the declaration of an attribute.
|
Modifier and Type | Method and Description |
---|---|
void |
toString(StringBuilder buffer)
Returns the XML, parseable, form of this declaration:
"<!
|
appendExternalId, appendValue, toString
public final String eName
public final String aName
public final String type
public final String mode
public final String value
public AttributeDecl(String eName, String aName, String type, String mode, String value)
eName
- Qualified name of the element having the attribute.aName
- Qualified name of the attribute.type
- Type of the attribute: CDATA, ID,
IDREF, etc.mode
- Mode of the attribute: #IMPLIED,
#REQUIRED, #FIXED.value
- Value of the attribute. Enumerated values are separated by
character '|'.public void toString(StringBuilder buffer)