public abstract class EntityDecl extends Decl
Modifier and Type | Field and Description |
---|---|
String |
name
The name of the entity.
|
String |
origin
Not for public use: a string identifying the source where the entity
declaration is found.
|
Modifier | Constructor and Description |
---|---|
protected |
EntityDecl(Decl.Type declType,
String name,
String origin) |
Modifier and Type | Method and Description |
---|---|
URL |
getURL()
Returns the fully resolved, possibly using XML catalogs, URL of this
entity.
|
boolean |
isCharEntity()
Returns
true if this is a character entity (internal,
general entity, having a one character long value); false
otherwise. |
boolean |
isParameterEntity()
Returns
true if this is a parameter entity;
false if it is a general entity. |
appendExternalId, appendValue, toString, toString
public final String name
public final String origin
public boolean isParameterEntity()
true
if this is a parameter entity;
false
if it is a general entity.public boolean isCharEntity()
true
if this is a character entity (internal,
general entity, having a one character long value); false
otherwise.public URL getURL()
null
if there is no such URL (e.g.
internal entity) or if the URL is unknown or malformed.