|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface defining the Entity Declaration.
Method Summary | |
java.lang.String |
getEntityName()
Returns the name of this entity. |
java.lang.String |
getLiteralValue()
Returns the literal value of this Entity. |
java.lang.String |
getReplacementText()
Returns the replacement text for this Entity. |
boolean |
isExternalEntity()
Returns true if this entity is an
external entity; false otherwise. |
boolean |
isGeneralEntity()
Returns true if the Entity is
a General Entity and false otherwise. |
boolean |
isInternalEntity()
Returns true if this entity is an
internal entity; false otherwise. |
boolean |
isParameterEntity()
Returns true if the Entity is
a Parameter Entity and false otherwise. |
boolean |
isParsedEntity()
Returns true if this entity is an
parsed entity; false otherwise. |
boolean |
isUnparsedEntity()
Returns true if this entity is an
parsed entity; false otherwise. |
void |
setEntityName(java.lang.String name)
Sets the name for this entity. |
void |
setLiteralValue(java.lang.String value)
Sets the literal value of this Entity. |
Methods inherited from interface com.conradroche.dtd.decl.ExternalID |
getPublicIdentifier, getSystemIdentifier, hasPublicIdentifier, hasSystemIdentifier, setPublicIdentifier, setSystemIdentifier |
Method Detail |
public java.lang.String getEntityName()
public void setEntityName(java.lang.String name)
name
- The Entity name.public java.lang.String getLiteralValue()
public void setLiteralValue(java.lang.String value)
value
- The Entity's literal value.public java.lang.String getReplacementText()
public boolean isInternalEntity()
true
if this entity is an
internal entity; false
otherwise.
From the XML 1.0 Specifications -
[Definition: If the entity definition is an
EntityValue, the defined entity is called an
internal entity. There is no separate physical
storage object, and the content of the entity
is given in the declaration.] Note that some
processing of entity and character references in
the literal entity literalValue may be required to
produce the correct replacement texttrue
if this entity is an
internal entity; false
otherwise.public boolean isExternalEntity()
true
if this entity is an
external entity; false
otherwise.
Add javadoc for Entity::isExternalEntity
From the XML 1.0 Specifications -
Definition: If the entity is not internal,
it is an external entitytrue
if this entity is an
external entity; false
otherwise.public boolean isParsedEntity()
true
if this entity is an
parsed entity; false
otherwise.
From XML 1.0 Specifications -
[Definition: A parsed entity's contents are
referred to as its replacement text; this text
is considered an integral part of the document.]true
if this entity is an
parsed entity; false
otherwise.public boolean isUnparsedEntity()
true
if this entity is an
parsed entity; false
otherwise.
From XML 1.0 Specifications -
[Definition: An unparsed entity is a resource
whose contents may or may not be text, and if
text, may be other than XML. Each unparsed
entity has an associated notation, identified
by name. Beyond a requirement that an XML
processor make the identifiers for the entity
and notation available to the application,
XML places no constraints on the contents of
unparsed entities.]true
if this entity is an
parsed entity; false
otherwise.public boolean isGeneralEntity()
true
if the Entity is
a General Entity and false
otherwise.true
for General Entity
and false
otherwise.public boolean isParameterEntity()
true
if the Entity is
a Parameter Entity and false
otherwise.true
for Parameter Entity
and false
otherwise.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |