Class XMLEntityManager.ExternalEntity
- java.lang.Object
-
- org.smooks.engine.delivery.sax.ng.org.apache.xerces.impl.XMLEntityManager.Entity
-
- org.smooks.engine.delivery.sax.ng.org.apache.xerces.impl.XMLEntityManager.ExternalEntity
-
- Enclosing class:
- XMLEntityManager
protected static class XMLEntityManager.ExternalEntity extends XMLEntityManager.Entity
External entity.- Author:
- Andy Clark, IBM
-
-
Field Summary
Fields Modifier and Type Field Description XMLResourceIdentifier
entityLocation
container for all relevant entity location information.String
notation
Notation name for unparsed entity.-
Fields inherited from class org.smooks.engine.delivery.sax.ng.org.apache.xerces.impl.XMLEntityManager.Entity
inExternalSubset, name
-
-
Constructor Summary
Constructors Constructor Description ExternalEntity()
Default constructor.ExternalEntity(String name, XMLResourceIdentifier entityLocation, String notation, boolean inExternalSubset)
Constructs an internal entity.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear()
Clears the entity.boolean
isExternal()
Returns true if this is an external entity.boolean
isUnparsed()
Returns true if this is an unparsed entity.void
setValues(XMLEntityManager.Entity entity)
Sets the values of the entity.void
setValues(XMLEntityManager.ExternalEntity entity)
Sets the values of the entity.-
Methods inherited from class org.smooks.engine.delivery.sax.ng.org.apache.xerces.impl.XMLEntityManager.Entity
isEntityDeclInExternalSubset
-
-
-
-
Field Detail
-
entityLocation
public XMLResourceIdentifier entityLocation
container for all relevant entity location information.
-
notation
public String notation
Notation name for unparsed entity.
-
-
Constructor Detail
-
ExternalEntity
public ExternalEntity()
Default constructor.
-
ExternalEntity
public ExternalEntity(String name, XMLResourceIdentifier entityLocation, String notation, boolean inExternalSubset)
Constructs an internal entity.
-
-
Method Detail
-
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
public void setValues(XMLEntityManager.Entity entity)
Sets the values of the entity.- Overrides:
setValues
in classXMLEntityManager.Entity
-
setValues
public void setValues(XMLEntityManager.ExternalEntity entity)
Sets the values of the entity.
-
-