org.apache.xerces.impl

Class XMLEntityManager.InternalEntity

Enclosing Class:
XMLEntityManager

protected static class XMLEntityManager.InternalEntity
extends XMLEntityManager.Entity

Internal entity.
Author:
Andy Clark, IBM

Field Summary

String
text
Text value of entity.

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

inExternalSubset, name

Constructor Summary

InternalEntity()
Default constructor.
InternalEntity(String name, String text, 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.InternalEntity entity)
Sets the values of the entity.

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

clear, isEntityDeclInExternalSubset, isExternal, isUnparsed, setValues

Field Details

text

public String text
Text value of entity.

Constructor Details

InternalEntity

public InternalEntity()
Default constructor.

InternalEntity

public InternalEntity(String name,
                      String text,
                      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.InternalEntity entity)
Sets the values of the entity.

Copyright B) 1999-2006 The Apache Software Foundation. All Rights Reserved.