Class XMLWriterBase

java.lang.Object
com.sun.xml.rpc.streaming.XMLWriterBase
All Implemented Interfaces:
XMLWriter
Direct Known Subclasses:
PrettyPrintingXMLWriterImpl, StAXWriter, XmlTreeWriter, XMLWriterImpl

public abstract class XMLWriterBase extends Object implements XMLWriter

A base class for XMLWriter implementations.

It provides the implementation of some derived XMLWriter methods.

Author:
JAX-RPC Development Team
  • Constructor Details

    • XMLWriterBase

      public XMLWriterBase()
  • Method Details

    • startElement

      public void startElement(String localName)
      Description copied from interface: XMLWriter
      Write the start tag for an element.
      Specified by:
      startElement in interface XMLWriter
    • startElement

      public void startElement(QName name)
      Description copied from interface: XMLWriter
      Write the start tag for an element.
      Specified by:
      startElement in interface XMLWriter
    • startElement

      public void startElement(QName name, String prefix)
      Description copied from interface: XMLWriter
      Write the start tag for an element.
      Specified by:
      startElement in interface XMLWriter
    • writeAttribute

      public void writeAttribute(String localName, String value)
      Description copied from interface: XMLWriter
      Write an attribute of the current element.
      Specified by:
      writeAttribute in interface XMLWriter
    • writeAttribute

      public void writeAttribute(QName name, String value)
      Description copied from interface: XMLWriter
      Write an attribute of the current element.
      Specified by:
      writeAttribute in interface XMLWriter
    • writeAttributeUnquoted

      public void writeAttributeUnquoted(QName name, String value)
      Description copied from interface: XMLWriter
      Write an attribute (unquoted) of the current element.
      Specified by:
      writeAttributeUnquoted in interface XMLWriter
    • writeAttributeUnquoted

      public void writeAttributeUnquoted(String localName, String value)
      Description copied from interface: XMLWriter
      Write an attribute (unquoted) of the current element.
      Specified by:
      writeAttributeUnquoted in interface XMLWriter
    • writeChars

      public abstract void writeChars(CDATA chars)
      Description copied from interface: XMLWriter
      Write character data within an element.
      Specified by:
      writeChars in interface XMLWriter
    • writeChars

      public abstract void writeChars(String chars)
      Description copied from interface: XMLWriter
      Write character data within an element.
      Specified by:
      writeChars in interface XMLWriter
    • writeComment

      public void writeComment(String comment)
      Description copied from interface: XMLWriter
      Write a comment within an element.
      Specified by:
      writeComment in interface XMLWriter