Class ContainerFactory

    • Constructor Detail

      • ContainerFactory

        public ContainerFactory()
    • Method Detail

      • parse

        public void parse​(BaseConfiguration bconfig,
                          org.w3c.dom.Element elem)
                   throws java.lang.Exception
        Parse a XML element into a configuration object.
        Overrides:
        parse in class Factories
        Parameters:
        bconfig - an instance of the BaseConfiguration class which internal parameters will get set based on the information from the provided XML Element.
        elem - this is a part of the XML tree that represents the BaseConfiguration object.
        Throws:
        java.lang.Exception - in case the configuration object the provided XML element represents is not recognized.
      • parse

        public void parse​(BaseConfiguration bconfig,
                          org.w3c.dom.Element elem,
                          boolean getbase)
                   throws java.lang.Exception
        Throws:
        java.lang.Exception
      • build

        public void build​(BaseConfiguration bconfig,
                          org.w3c.dom.Element elem)
                   throws java.lang.Exception
        Generate a XML element from a configuration object.
        Overrides:
        build in class Factories
        Parameters:
        bconfig - an instance of the BaseConfiguration class which internal parameters will be represented as a XML sub-tree.
        elem - this is the part of the XML tree where the config object's XML representation will be attached to.
        Throws:
        java.lang.Exception - in case the tag name of the provided XML element is not recognized as a valid name which is used for configuration object representation as a XML.
      • build

        public void build​(BaseConfiguration bconfig,
                          org.w3c.dom.Element elem,
                          boolean setbase)
                   throws java.lang.Exception
        Throws:
        java.lang.Exception