Class XMLEntityManager.Entity
- java.lang.Object
-
- org.smooks.engine.delivery.sax.ng.org.apache.xerces.impl.XMLEntityManager.Entity
-
- Direct Known Subclasses:
XMLEntityManager.ExternalEntity,XMLEntityManager.InternalEntity,XMLEntityManager.ScannedEntity
- Enclosing class:
- XMLEntityManager
public abstract static class XMLEntityManager.Entity extends Object
Entity information.- Author:
- Andy Clark, IBM
-
-
Field Summary
Fields Modifier and Type Field Description booleaninExternalSubsetStringnameEntity name.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidclear()Clears the entity.booleanisEntityDeclInExternalSubset()Returns true if this entity was declared in the external subset.abstract booleanisExternal()Returns true if this is an external entity.abstract booleanisUnparsed()Returns true if this is an unparsed entity.voidsetValues(XMLEntityManager.Entity entity)Sets the values of the entity.
-
-
-
Field Detail
-
name
public String name
Entity name.
-
inExternalSubset
public boolean inExternalSubset
-
-
Constructor Detail
-
Entity
public Entity()
Default constructor.
-
Entity
public Entity(String name, boolean inExternalSubset)
Constructs an entity.
-
-
Method Detail
-
isEntityDeclInExternalSubset
public boolean isEntityDeclInExternalSubset()
Returns true if this entity was declared in the external subset.
-
isExternal
public abstract boolean isExternal()
Returns true if this is an external entity.
-
isUnparsed
public abstract boolean isUnparsed()
Returns true if this is an unparsed entity.
-
clear
public void clear()
Clears the entity.
-
setValues
public void setValues(XMLEntityManager.Entity entity)
Sets the values of the entity.
-
-