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
|
java.lang.Object |
clone()
Returns the clone of the object.
|
java.lang.String |
toString()
Writes out the object as a string.
|
java.lang.String |
toXML()
Returns the xml description of the object.
|
abstract void |
toXML(java.io.Writer writer,
java.lang.String indent)
Writes out the xml description of the object.
|
void |
writeAttribute(java.io.Writer writer,
java.lang.String key,
java.lang.String value)
Writes an attribute to the stream.
|
public abstract void accept(SiteDataVisitor visitor) throws java.io.IOException
visitor - the visitor to be usedjava.io.IOException - if something fishy happens to the stream.public java.lang.String toXML()
throws java.io.IOException
java.io.IOException - if something fishy happens to the stream.public abstract void toXML(java.io.Writer writer,
java.lang.String indent)
throws java.io.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.java.io.IOException - if something fishy happens to the stream.public java.lang.String toString()
toString in class java.lang.Objectpublic void writeAttribute(java.io.Writer writer,
java.lang.String key,
java.lang.String value)
throws java.io.IOException
writer - key - value - java.io.IOException - if something fishy happens to the stream.public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
clone in class java.lang.Objectjava.lang.CloneNotSupportedException