Interface XMLizable

    • Method Detail

      • write

        void write​(javax.xml.namespace.QName element,
                   XmlOutputStream out,
                   TypeMapper typeMapper)
            throws java.io.IOException
        write this instace as xml.
        Parameters:
        element - xml element name
        out - xml output stream
        typeMapper - type mapper to be used
        Throws:
        java.io.IOException - failed to write xml
      • load

        void load​(XmlInputStream in,
                  TypeMapper typeMapper)
           throws java.io.IOException,
                  ConnectionException
        load the fileds/children from the specified xml stream
        Parameters:
        in - xml input stream from which the data is read
        typeMapper - type mapper to be used
        Throws:
        java.io.IOException - failed to read xml
        ConnectionException - failed to read/parser/bind xml