Class RevHistoryXml

  • All Implemented Interfaces:
    XmlAdapter

    public class RevHistoryXml
    extends AbstractXmlAdapter
    Load/Store RevHistory objects.

    This interacts somewhat differently with the ConfigureXML system. RevHistory objects are _not_ registed with the manager, but rather handled explicitly by them. The "load()" method is therefore a null-op here.

    • Method Detail

      • load

        public boolean load​(Element shared,
                            Element perNode)
        Usual configurexml method, this one doesn't do anything because the content is explicitly loaded from the file
        Specified by:
        load in interface XmlAdapter
        Overrides:
        load in class AbstractXmlAdapter
        Parameters:
        shared - Top-level XML element containing the common, multi-node elements of the description
        perNode - Top-level XML element containing the private, single-node elements of the description
        Returns:
        true if successful
      • load

        public void load​(Element e,
                         java.lang.Object o)
        This method is not implemented: See class comment above for more discussion.
        Specified by:
        load in interface XmlAdapter
        Overrides:
        load in class AbstractXmlAdapter
        Parameters:
        e - Top-level XML element containing the description
        o - Implementation-specific Object needed for the conversion
      • store

        public Element store​(java.lang.Object o)
        Store the object in XML
        Parameters:
        o - The object to be recorded. Specific XmlAdapter implementations will require this to be of a specific type; that binding is done in ConfigXmlManager.
        Returns:
        The XML representation Element