public final class EntityRef extends Object implements Inclusion
XInclusion
Modifier and Type | Field and Description |
---|---|
String |
name
The name of the entity.
|
String |
origin
An ID uniquely identifying the place where this entity has been defined
(external DTD subset, internal DTD subset of a given XML document, etc).
|
Constructor and Description |
---|
EntityRef(String clipboardForm)
Constructs an EntityRef initialized using specified clipboard form.
|
EntityRef(String name,
String origin)
Constructs an EntityRef initialized using specified values.
|
Modifier and Type | Method and Description |
---|---|
String |
toClipboardForm()
Returns a parseable string representation of this inclusion.
|
String |
toString() |
public final String name
public final String origin
This unique ID may be used to prevent adding this property value to a node contained in a document where the corresponding entity has not been defined.
public EntityRef(String name, String origin)
public EntityRef(String clipboardForm) throws InclusionException
InclusionException
toClipboardForm()