Interface IXMLConfigurable

  • All Superinterfaces:
    IXMLConfigurable

    @Deprecated
    public interface IXMLConfigurable
    extends IXMLConfigurable
    Deprecated.
    Since 2.0.0, use IXMLConfigurable.
    Provides indications that a class is configurable via XML. Classes implementing this should be careful to document XML configuration options properly (e.g. in Javadoc).
    Author:
    Pascal Essiembre
    • Method Detail

      • loadFromXML

        @Deprecated
        default void loadFromXML​(Reader reader)
                          throws IOException
        Deprecated.
        Load XML configuration values and initialized this object with them.
        Parameters:
        reader - XML input stream
        Throws:
        IOException - something went wrong reading the XML
      • loadFromXML

        default void loadFromXML​(XML xml)
        Deprecated.
        Load XML configuration values and initialized this object with them.
        Specified by:
        loadFromXML in interface IXMLConfigurable
        Parameters:
        xml - the XML to load into this object
      • saveToXML

        @Deprecated
        default void saveToXML​(Writer writer)
                        throws IOException
        Deprecated.
        Saves this object as XML.
        Parameters:
        writer - XML writer
        Throws:
        IOException - something went wrong writing the XML
      • saveToXML

        default void saveToXML​(XML xml)
        Deprecated.
        Saves this object as XML.
        Specified by:
        saveToXML in interface IXMLConfigurable
        Parameters:
        xml - the XML that will representing this object