Class ConnectorFactory

    • Constructor Detail

      • ConnectorFactory

        public ConnectorFactory()
    • Method Detail

      • parse

        public void parse​(BaseConfiguration config,
                          org.w3c.dom.Element elem)
                   throws java.lang.Exception
        Parse a XML element into a configuration object.
        Overrides:
        parse in class Factories
        Parameters:
        config - 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.
      • getLinkCriteria

        public void getLinkCriteria​(LinkCriteriaConfig lcc,
                                    org.w3c.dom.Element elem)
                             throws java.lang.Exception
        Throws:
        java.lang.Exception
      • getLinkCriteriaItems

        public void getLinkCriteriaItems​(LinkCriteriaConfig lcc,
                                         org.w3c.dom.Element elem)
                                  throws java.lang.Exception
        Throws:
        java.lang.Exception
      • getSchemas

        public void getSchemas​(org.w3c.dom.Element elem,
                               ConnectorConfig config)
                        throws java.lang.Exception
        Throws:
        java.lang.Exception
      • getAttributeMaps

        public void getAttributeMaps​(org.w3c.dom.Element elem,
                                     ConnectorConfig config)
                              throws java.lang.Exception
        Throws:
        java.lang.Exception
      • getAttributeMapItem

        public void getAttributeMapItem​(org.w3c.dom.Element elem,
                                        AttributeMapConfig amc)
                                 throws java.lang.Exception
        Throws:
        java.lang.Exception
      • getAttributeMap

        public void getAttributeMap​(org.w3c.dom.Element elem,
                                    AttributeMapConfig amc)
                             throws java.lang.Exception
        Throws:
        java.lang.Exception
      • getAttributeMapItem

        public void getAttributeMapItem​(org.w3c.dom.Element elem,
                                        AttributeMapItem ami)
                                 throws java.lang.Exception
        Throws:
        java.lang.Exception
      • getDeltaSettings

        public void getDeltaSettings​(org.w3c.dom.Element elem,
                                     DeltaConfig dc)
                              throws java.lang.Exception
        Throws:
        java.lang.Exception
      • build

        public void build​(BaseConfiguration config,
                          org.w3c.dom.Element elem)
                   throws java.lang.Exception
        Generate a XML element from a configuration object.
        Overrides:
        build in class Factories
        Parameters:
        config - 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.
      • setSchemas

        public void setSchemas​(org.w3c.dom.Element elem,
                               ConnectorConfig cc)
                        throws java.lang.Exception
        Throws:
        java.lang.Exception
      • setAttributeMaps

        public void setAttributeMaps​(org.w3c.dom.Element elem,
                                     ConnectorConfig cc)
                              throws java.lang.Exception
        Throws:
        java.lang.Exception
      • setAttributeMap

        public void setAttributeMap​(AttributeMapConfig amc,
                                    org.w3c.dom.Element elem)
                             throws java.lang.Exception
        Throws:
        java.lang.Exception
      • setAttributeMapItems

        public void setAttributeMapItems​(AttributeMapConfig amc,
                                         org.w3c.dom.Element e)
                                  throws java.lang.Exception
        Throws:
        java.lang.Exception
      • setLinkCriteria

        public void setLinkCriteria​(LinkCriteriaConfig lcc,
                                    org.w3c.dom.Element elem)
                             throws java.lang.Exception
        Throws:
        java.lang.Exception
      • setLinkCriteriaItems

        public void setLinkCriteriaItems​(LinkCriteriaConfig lcc,
                                         org.w3c.dom.Element elem)
                                  throws java.lang.Exception
        Throws:
        java.lang.Exception
      • setDeltaSettings

        public void setDeltaSettings​(org.w3c.dom.Element elem,
                                     DeltaConfig dc)
                              throws java.lang.Exception
        Throws:
        java.lang.Exception
      • getPoolDefConfig

        public void getPoolDefConfig​(org.w3c.dom.Element elem,
                                     PoolDefConfig poolConfig)
                              throws java.lang.Exception
        Throws:
        java.lang.Exception
      • setPoolDefConfig

        public void setPoolDefConfig​(org.w3c.dom.Element elem,
                                     PoolDefConfig poolConfig)
                              throws java.lang.Exception
        Throws:
        java.lang.Exception
      • getPoolInstanceConfig

        public void getPoolInstanceConfig​(org.w3c.dom.Element elem,
                                          PoolInstanceConfig poolConfig)
                                   throws java.lang.Exception
        Throws:
        java.lang.Exception
      • setPoolInstanceConfig

        public void setPoolInstanceConfig​(org.w3c.dom.Element elem,
                                          PoolInstanceConfig poolConfig)
                                   throws java.lang.Exception
        Throws:
        java.lang.Exception