Packages
 In this topic

*Constructors

*Methods

 

Packages   PreviousThis PackageNext
Package com.ms.xml.parser   Previous This
Package
Next

 


Class Entity

public class Entity extends ElementImpl
{
  // Constructors
  public void saveEntity(XMLOutputStream o) throws IOException;

  // Methods
  public Name getName();
  public void save(XMLOutputStream o) throws IOException;
  public void setText(String text);
}

This class implements an Entity object representing an XML internal or external entity as defined in the XML Document Type Definition (DTD).

ElementImpl
  |
  +--Entity

Constructors

saveEntity

public void saveEntity(XMLOutputStream o) throws IOException;

Saves the entity to the given output stream.

ParameterDescription
o The output stream.

Exceptions:

IOException if there is a problem writing to the output stream.

Methods

getName

public Name getName();

Retrieves the name of the entity.

Return Value:

Returns the Name object containing the entity name.

save

public void save(XMLOutputStream o) throws IOException;

Saves the entity to the given output stream with indenting and new lines.

ParameterDescription
o The output stream.

Exceptions:

IOException if there is a problem writing to the output stream.

setText

public void setText(String text);

Changes the text of entity.

ParameterDescription
text The new text of the entity.

upnrm.gif © 1998 Microsoft Corporation. All rights reserved. Terms of use.