Package org.apache.xerces.impl
Class XMLEntityManager.InternalEntity
java.lang.Object
org.apache.xerces.impl.XMLEntityManager.Entity
org.apache.xerces.impl.XMLEntityManager.InternalEntity
- Enclosing class:
XMLEntityManager
Internal entity.
INTERNAL:
- Usage of this class is not supported. It may be altered or removed at any time.
- Author:
- Andy Clark, IBM
-
Field Summary
FieldsModifier and TypeFieldDescriptionint
Count of direct and indirect references to parameter entities in the value of the entity.Text value of entity.Fields inherited from class org.apache.xerces.impl.XMLEntityManager.Entity
inExternalSubset, name
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor.InternalEntity
(String name, String text, boolean inExternalSubset) Constructs an internal entity.InternalEntity
(String name, String text, boolean inExternalSubset, int paramEntityRefs) Constructs an internal entity. -
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
Clears the entity.final boolean
Returns true if this is an external entity.final boolean
Returns true if this is an unparsed entity.void
setValues
(XMLEntityManager.Entity entity) Sets the values of the entity.void
Sets the values of the entity.Methods inherited from class org.apache.xerces.impl.XMLEntityManager.Entity
isEntityDeclInExternalSubset
-
Field Details
-
text
Text value of entity. -
paramEntityRefs
public int paramEntityRefsCount of direct and indirect references to parameter entities in the value of the entity.
-
-
Constructor Details
-
InternalEntity
public InternalEntity()Default constructor. -
InternalEntity
Constructs an internal entity. -
InternalEntity
Constructs an internal entity.
-
-
Method Details
-
isExternal
public final boolean isExternal()Returns true if this is an external entity.- Specified by:
isExternal
in classXMLEntityManager.Entity
-
isUnparsed
public final boolean isUnparsed()Returns true if this is an unparsed entity.- Specified by:
isUnparsed
in classXMLEntityManager.Entity
-
clear
public void clear()Clears the entity.- Overrides:
clear
in classXMLEntityManager.Entity
-
setValues
Sets the values of the entity.- Overrides:
setValues
in classXMLEntityManager.Entity
-
setValues
Sets the values of the entity.
-