com.wutka.dtd

Class DTDProcessingInstruction

Implemented Interfaces:
DTDOutput

public class DTDProcessingInstruction
extends Object
implements DTDOutput

Represents a processing instruction in the DTD
Version:
$Revision: 1.16 $ $Date: 2002/07/19 01:20:11 $ by $Author: wutka $
Author:
Mark Wutka

Field Summary

String
text
The processing instruction text

Constructor Summary

DTDProcessingInstruction()
DTDProcessingInstruction(String theText)

Method Summary

boolean
equals(Object ob)
String
getText()
Retrieves the instruction text
void
setText(String theText)
Sets the instruction text
String
toString()
void
write(PrintWriter out)

Field Details

text

public String text
The processing instruction text

Constructor Details

DTDProcessingInstruction

public DTDProcessingInstruction()

DTDProcessingInstruction

public DTDProcessingInstruction(String theText)

Method Details

equals

public boolean equals(Object ob)

getText

public String getText()
Retrieves the instruction text

setText

public void setText(String theText)
Sets the instruction text

toString

public String toString()

write

public void write(PrintWriter out)
            throws IOException
Specified by:
write in interface DTDOutput

Copyright (c) 2001 Mark Wutka.