org.apache.xerces.impl

Class XMLEntityManager.Entity

Enclosing Class:
XMLEntityManager
Known Direct Subclasses:
XMLEntityManager.ExternalEntity, XMLEntityManager.InternalEntity, XMLEntityManager.ScannedEntity

public static abstract class XMLEntityManager.Entity
extends java.lang.Object

Entity information.
Author:
Andy Clark, IBM

Field Summary

boolean
inExternalSubset
String
name
Entity name.

Constructor Summary

Entity()
Default constructor.
Entity(String name, boolean inExternalSubset)
Constructs an entity.

Method Summary

void
clear()
Clears the entity.
boolean
isEntityDeclInExternalSubset()
Returns true if this entity was declared in the external subset.
abstract boolean
isExternal()
Returns true if this is an external entity.
abstract boolean
isUnparsed()
Returns true if this is an unparsed entity.
void
setValues(XMLEntityManager.Entity entity)
Sets the values of the entity.

Field Details

inExternalSubset

public boolean inExternalSubset

name

public String name
Entity name.

Constructor Details

Entity

public Entity()
Default constructor.

Entity

public Entity(String name,
              boolean inExternalSubset)
Constructs an entity.

Method Details

clear

public void clear()
Clears the entity.

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.

setValues

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

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