com.sun.xml.stream
Class Entity.ExternalEntity

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

public static class Entity.ExternalEntity
extends Entity

External 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
 org.apache.xerces.xni.XMLResourceIdentifier entityLocation
          container for all relevant entity location information.
 java.lang.String notation
          Notation name for unparsed entity.
 
Fields inherited from class com.sun.xml.stream.Entity
inExternalSubset, name
 
Constructor Summary
Entity.ExternalEntity()
          Default constructor.
Entity.ExternalEntity(java.lang.String name, org.apache.xerces.xni.XMLResourceIdentifier entityLocation, java.lang.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(Entity.ExternalEntity 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

entityLocation

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


notation

public java.lang.String notation
Notation name for unparsed entity.

Constructor Detail

Entity.ExternalEntity

public Entity.ExternalEntity()
Default constructor.


Entity.ExternalEntity

public Entity.ExternalEntity(java.lang.String name,
                             org.apache.xerces.xni.XMLResourceIdentifier entityLocation,
                             java.lang.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 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.ExternalEntity entity)
Sets the values of the entity.



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