org.apache.xerces.impl

Class XMLEntityManager.ExternalEntity

Enclosing Class:
XMLEntityManager

protected static class XMLEntityManager.ExternalEntity
extends XMLEntityManager.Entity

External entity.
Author:
Andy Clark, IBM

Field Summary

org.apache.xerces.xni.XMLResourceIdentifier
entityLocation
container for all relevant entity location information.
String
notation
Notation name for unparsed entity.

Fields inherited from class org.apache.xerces.impl.XMLEntityManager.Entity

inExternalSubset, name

Constructor Summary

ExternalEntity()
Default constructor.
ExternalEntity(String name, org.apache.xerces.xni.XMLResourceIdentifier entityLocation, String notation, boolean inExternalSubset)
Constructs an internal entity.

Method Summary

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.apache.xerces.impl.XMLEntityManager.Entity

clear, isEntityDeclInExternalSubset, isExternal, isUnparsed, setValues

Field Details

entityLocation

public org.apache.xerces.xni.XMLResourceIdentifier entityLocation
container for all relevant entity location information.

notation

public String notation
Notation name for unparsed entity.

Constructor Details

ExternalEntity

public ExternalEntity()
Default constructor.

ExternalEntity

public ExternalEntity(String name,
                      org.apache.xerces.xni.XMLResourceIdentifier entityLocation,
                      String notation,
                      boolean inExternalSubset)
Constructs an internal entity.

Method Details

clear

public void clear()
Clears the entity.
Overrides:
clear in interface XMLEntityManager.Entity

isExternal

public final boolean isExternal()
Returns true if this is an external entity.
Overrides:
isExternal in interface XMLEntityManager.Entity

isUnparsed

public final boolean isUnparsed()
Returns true if this is an unparsed entity.
Overrides:
isUnparsed in interface XMLEntityManager.Entity

setValues

public void setValues(XMLEntityManager.Entity entity)
Sets the values of the entity.
Overrides:
setValues in interface XMLEntityManager.Entity

setValues

public void setValues(XMLEntityManager.ExternalEntity entity)
Sets the values of the entity.

Copyright B) 1999-2005 Apache XML Project. All Rights Reserved.