public final class InternalEntityDecl extends EntityDecl
Modifier and Type | Field and Description |
---|---|
String |
value
The value of this entity.
|
name, origin
Constructor and Description |
---|
InternalEntityDecl(String name,
String value,
String origin)
Constructs the the declaration of an internal, general or parameter,
entity.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isCharEntity()
Returns
true if this is a character entity (internal,
general entity, having a one character long value); false
otherwise. |
void |
toString(StringBuilder buffer)
Appends the XML, parseable, form of this declaration to specified
buffer.
|
getURL, isParameterEntity
appendExternalId, appendValue, toString
public final String value
The value of this entity. All the parameter entities originally found in the value have been expanded.
public InternalEntityDecl(String name, String value, String origin)
name
- The name of the entity. Starts with '%' if it is a
parameter entity.value
- The value of the entity.origin
- Not for public use: a string identifying the source where
this declaration is found.public void toString(StringBuilder buffer)
Decl
public boolean isCharEntity()
EntityDecl
true
if this is a character entity (internal,
general entity, having a one character long value); false
otherwise.isCharEntity
in class EntityDecl