edu.isi.pegasus.planner.catalog.site.classes
public abstract class AbstractSiteData extends SiteData
| Constructor and Description |
|---|
AbstractSiteData() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
accept(SiteDataVisitor visitor)
Accept method for the SiteData classes that accepts a visitor
|
Object |
clone()
Returns the clone of the object.
|
String |
toString()
Writes out the object as a string.
|
String |
toXML()
Returns the xml description of the object.
|
abstract void |
toXML(Writer writer,
String indent)
Writes out the xml description of the object.
|
void |
writeAttribute(Writer writer,
String key,
String value)
Writes an attribute to the stream.
|
public abstract void accept(SiteDataVisitor visitor) throws IOException
visitor - the visitor to be usedIOException - if something fishy happens to the stream.public String toXML() throws IOException
IOException - if something fishy happens to the stream.public abstract void toXML(Writer writer, String indent) throws IOException
writer - is a Writer opened and ready for writing. This can also
be a StringWriter for efficient output.indent - the indent to be used.IOException - if something fishy happens to the stream.public String toString()
public void writeAttribute(Writer writer, String key, String value) throws IOException
writer - key - value - IOException - if something fishy happens to the stream.public Object clone() throws CloneNotSupportedException
clone in class ObjectCloneNotSupportedException