public abstract class Decl extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Decl.Type
The type of a declaration.
|
Modifier and Type | Field and Description |
---|---|
Decl.Type |
declType
The type of this declaration.
|
Modifier | Constructor and Description |
---|---|
protected |
Decl(Decl.Type declType) |
Modifier and Type | Method and Description |
---|---|
static void |
appendExternalId(String publicId,
String systemId,
StringBuilder buffer)
Utility not for public use: appends specified public/system ID pair to
specified buffer after adding the proper quotes and keywords.
|
static void |
appendValue(String value,
StringBuilder buffer)
Utility not for public use: appends specified attribute or internal
entity value to specified buffer after adding the proper quotes and
properly escaping special characters.
|
String |
toString()
Returns the XML, parseable, form of this declaration.
|
abstract void |
toString(StringBuilder buffer)
Appends the XML, parseable, form of this declaration to specified
buffer.
|
public final Decl.Type declType
protected Decl(Decl.Type declType)
public String toString()
public abstract void toString(StringBuilder buffer)
public static final void appendExternalId(String publicId, String systemId, StringBuilder buffer)
public static final void appendValue(String value, StringBuilder buffer)