com.sun.xml.stream
Class Entity.InternalEntity

java.lang.Object
  extended by com.sun.xml.stream.Entity
      extended by com.sun.xml.stream.Entity.InternalEntity
Enclosing class:
Entity

public static class Entity.InternalEntity
extends Entity

Internal entity.

Author:
nb131165

Nested Class Summary
 
Nested classes/interfaces inherited from class com.sun.xml.stream.Entity
Entity.ExternalEntity, Entity.InternalEntity, Entity.ScannedEntity
 
Field Summary
 java.lang.String text
          Text value of entity.
 
Fields inherited from class com.sun.xml.stream.Entity
inExternalSubset, name
 
Constructor Summary
Entity.InternalEntity()
          Default constructor.
Entity.InternalEntity(java.lang.String name, java.lang.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(Entity.InternalEntity entity)
          Sets the values of the entity.
 void setValues(Entity entity)
          Sets the values of the entity.
 
Methods inherited from class com.sun.xml.stream.Entity
isEntityDeclInExternalSubset
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

text

public java.lang.String text
Text value of entity.

Constructor Detail

Entity.InternalEntity

public Entity.InternalEntity()
Default constructor.


Entity.InternalEntity

public Entity.InternalEntity(java.lang.String name,
                             java.lang.String text,
                             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 class Entity

isUnparsed

public final boolean isUnparsed()
Returns true if this is an unparsed entity.

Specified by:
isUnparsed in class Entity

clear

public void clear()
Clears the entity.

Overrides:
clear in class Entity

setValues

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

Overrides:
setValues in class Entity

setValues

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



Copyright ? 2002-2003 Apache XML Project. All Rights Reserved.