Interface XMLElementWriter<T>

  • Type Parameters:
    T - the type that this writer can operate on

    public interface XMLElementWriter<T>
    A writer for XML elements.
    • Method Detail

      • writeContent

        void writeContent​(XMLExtendedStreamWriter streamWriter,
                          T value)
                   throws javax.xml.stream.XMLStreamException
        Write the contents of this item.
        Parameters:
        streamWriter - the stream writer
        value - the value passed in
        Throws:
        javax.xml.stream.XMLStreamException - if an exception occurs