All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.jclark.xml.output.SyncXMLWriter

java.lang.Object
   |
   +----java.io.Writer
           |
           +----com.jclark.xml.output.XMLWriter
                   |
                   +----com.jclark.xml.output.SyncXMLWriter

public class SyncXMLWriter
extends XMLWriter

Constructor Index

 o SyncXMLWriter(XMLWriter)

Method Index

 o attribute(String, String)
Writes an attribute.
 o cdataSection(String)
Writes a CDATA section.
 o characterReference(int)
Writes a character reference.
 o close()
 o comment(String)
Writes a comment.
 o endAttribute()
Ends an attribute.
 o endElement(String)
Ends an element.
 o endReplacementText()
Ends the replacement text for an internal entity.
 o entityReference(boolean, String)
Writes an entity reference.
 o flush()
 o markup(String)
Writes markup.
 o processingInstruction(String, String)
Writes a processing instruction.
 o startAttribute(String)
Starts an attribute.
 o startElement(String)
Starts an element.
 o startReplacementText()
Starts the replacement text for an internal entity.
 o write(char[], int, int)
 o write(int)
 o write(String)
 o write(String, int, int)

Constructors

 o SyncXMLWriter
 public SyncXMLWriter(XMLWriter w)

Methods

 o write
 public void write(char cbuf[],
                   int off,
                   int len) throws IOException
Overrides:
write in class Writer
 o write
 public void write(String str) throws IOException
Overrides:
write in class Writer
 o write
 public void write(int c) throws IOException
Overrides:
write in class Writer
 o write
 public void write(String str,
                   int off,
                   int len) throws IOException
Overrides:
write in class Writer
 o close
 public void close() throws IOException
Overrides:
close in class Writer
 o flush
 public void flush() throws IOException
Overrides:
flush in class Writer
 o startElement
 public void startElement(String name) throws IOException
Starts an element.

Overrides:
startElement in class XMLWriter
 o attribute
 public void attribute(String name,
                       String value) throws IOException
Writes an attribute.

Overrides:
attribute in class XMLWriter
 o endElement
 public void endElement(String name) throws IOException
Ends an element.

Overrides:
endElement in class XMLWriter
 o processingInstruction
 public void processingInstruction(String target,
                                   String data) throws IOException
Writes a processing instruction.

Overrides:
processingInstruction in class XMLWriter
 o comment
 public void comment(String str) throws IOException
Writes a comment.

Overrides:
comment in class XMLWriter
 o entityReference
 public void entityReference(boolean isParam,
                             String name) throws IOException
Writes an entity reference.

Overrides:
entityReference in class XMLWriter
 o characterReference
 public void characterReference(int n) throws IOException
Writes a character reference.

Overrides:
characterReference in class XMLWriter
 o cdataSection
 public void cdataSection(String content) throws IOException
Writes a CDATA section.

Overrides:
cdataSection in class XMLWriter
 o markup
 public void markup(String str) throws IOException
Writes markup.

Overrides:
markup in class XMLWriter
 o startReplacementText
 public void startReplacementText() throws IOException
Starts the replacement text for an internal entity.

Overrides:
startReplacementText in class XMLWriter
 o endReplacementText
 public void endReplacementText() throws IOException
Ends the replacement text for an internal entity.

Overrides:
endReplacementText in class XMLWriter
 o startAttribute
 public void startAttribute(String name) throws IOException
Starts an attribute.

Overrides:
startAttribute in class XMLWriter
 o endAttribute
 public void endAttribute() throws IOException
Ends an attribute.

Overrides:
endAttribute in class XMLWriter

All Packages  Class Hierarchy  This Package  Previous  Next  Index