Class BuildingStreamWriterImpl

  • All Implemented Interfaces:
    XMLStreamWriter, BuildingStreamWriter

    public class BuildingStreamWriterImpl
    extends StreamWriterToReceiver
    implements BuildingStreamWriter
    This class is an implementation of XMLStreamWriter, allowing a document to be constructed by means of a series of XMLStreamWriter method calls such as writeStartElement(), writeAttribute(), writeCharacters(), and writeEndElement().

    The detailed way in which this class is packaged was carefully designed to ensure that if the functionality is not used, the DocumentBuilder would still be usable under JDK 1.5 (which does not include javax.xml.stream interfaces).

    • Constructor Detail

      • BuildingStreamWriterImpl

        public BuildingStreamWriterImpl​(Receiver receiver,
                                        Builder builder)